You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
1.5 KiB
94 lines
1.5 KiB
12 years ago
|
// This file is generated by tdeconfig_compiler from test6.kcfg.
|
||
15 years ago
|
// All changes you do to this file will be lost.
|
||
|
#ifndef TEST6_H
|
||
|
#define TEST6_H
|
||
|
|
||
12 years ago
|
#include <tdeconfigskeleton.h>
|
||
15 years ago
|
#include <kdebug.h>
|
||
|
|
||
12 years ago
|
class Test6 : public TDEConfigSkeleton
|
||
15 years ago
|
{
|
||
|
public:
|
||
|
|
||
14 years ago
|
Test6( const TQString & Number );
|
||
15 years ago
|
~Test6();
|
||
|
|
||
|
/**
|
||
|
Set Block colors.
|
||
|
*/
|
||
14 years ago
|
void setColor( const TQColor & v )
|
||
15 years ago
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "Color" ) ))
|
||
15 years ago
|
mColor = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get Block colors.
|
||
|
*/
|
||
14 years ago
|
TQColor color() const
|
||
15 years ago
|
{
|
||
|
return mColor;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set foo bar
|
||
|
*/
|
||
14 years ago
|
void setFooBar( const TQString & v )
|
||
15 years ago
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "FooBar" ) ))
|
||
15 years ago
|
mFooBar = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get foo bar
|
||
|
*/
|
||
14 years ago
|
TQString fooBar() const
|
||
15 years ago
|
{
|
||
|
return mFooBar;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set Age
|
||
|
*/
|
||
|
void setAge( int v )
|
||
|
{
|
||
|
if (v < 8)
|
||
|
{
|
||
|
kdDebug() << "setAge: value " << v << " is less than the minimum value of 8" << endl;
|
||
|
v = 8;
|
||
|
}
|
||
|
|
||
|
if (v > 88)
|
||
|
{
|
||
|
kdDebug() << "setAge: value " << v << " is greater than the maximum value of 88" << endl;
|
||
|
v = 88;
|
||
|
}
|
||
|
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "Age" ) ))
|
||
15 years ago
|
mAge = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get Age
|
||
|
*/
|
||
|
int age() const
|
||
|
{
|
||
|
return mAge;
|
||
|
}
|
||
|
|
||
|
protected:
|
||
14 years ago
|
TQString mParamNumber;
|
||
15 years ago
|
|
||
|
// Foo
|
||
14 years ago
|
TQColor mColor;
|
||
15 years ago
|
|
||
|
// Bar$(Number)
|
||
14 years ago
|
TQString mFooBar;
|
||
15 years ago
|
int mAge;
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|