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 test7.kcfg.
|
||
15 years ago
|
// All changes you do to this file will be lost.
|
||
|
#ifndef TEST7_H
|
||
|
#define TEST7_H
|
||
|
|
||
12 years ago
|
#include <tdeconfigskeleton.h>
|
||
15 years ago
|
#include <kdebug.h>
|
||
|
|
||
12 years ago
|
class Test7 : public TDEConfigSkeleton
|
||
15 years ago
|
{
|
||
|
public:
|
||
|
|
||
|
Test7( int Number );
|
||
|
~Test7();
|
||
|
|
||
|
/**
|
||
|
Set Block colors.
|
||
|
*/
|
||
15 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.
|
||
|
*/
|
||
15 years ago
|
TQColor color() const
|
||
15 years ago
|
{
|
||
|
return mColor;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set foo bar
|
||
|
*/
|
||
15 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
|
||
|
*/
|
||
15 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:
|
||
|
int mParamNumber;
|
||
|
|
||
|
// Foo
|
||
15 years ago
|
TQColor mColor;
|
||
15 years ago
|
|
||
|
// Bar$(Number)
|
||
15 years ago
|
TQString mFooBar;
|
||
15 years ago
|
int mAge;
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|