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.
97 lines
1.4 KiB
97 lines
1.4 KiB
15 years ago
|
// This file is generated by kconfig_compiler from test8b.kcfg.
|
||
|
// All changes you do to this file will be lost.
|
||
|
#ifndef TEST8B_H
|
||
|
#define TEST8B_H
|
||
|
|
||
|
#include <test8a.h>
|
||
|
|
||
|
#include <kconfigskeleton.h>
|
||
|
#include <kdebug.h>
|
||
|
|
||
|
class Test8b : public Test8a
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
static Test8b *self();
|
||
|
~Test8b();
|
||
|
|
||
|
/**
|
||
|
Set Something
|
||
|
*/
|
||
|
static
|
||
|
void setSomething( uint v )
|
||
|
{
|
||
14 years ago
|
if (!self()->isImmutable( TQString::tqfromLatin1( "Something" ) ))
|
||
15 years ago
|
self()->mSomething = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get Something
|
||
|
*/
|
||
|
static
|
||
|
uint something()
|
||
|
{
|
||
|
return self()->mSomething;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set FooBoo
|
||
|
*/
|
||
|
static
|
||
|
void setFooBoo( bool v )
|
||
|
{
|
||
14 years ago
|
if (!self()->isImmutable( TQString::tqfromLatin1( "FooBoo" ) ))
|
||
15 years ago
|
self()->mFooBoo = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get FooBoo
|
||
|
*/
|
||
|
static
|
||
|
bool fooBoo()
|
||
|
{
|
||
|
return self()->mFooBoo;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set Port
|
||
|
*/
|
||
|
static
|
||
|
void setPort( uint v )
|
||
|
{
|
||
14 years ago
|
if (!self()->isImmutable( TQString::tqfromLatin1( "Port" ) ))
|
||
15 years ago
|
self()->mPort = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get Port
|
||
|
*/
|
||
|
static
|
||
|
uint port()
|
||
|
{
|
||
|
return self()->mPort;
|
||
|
}
|
||
|
|
||
|
static
|
||
|
void writeConfig()
|
||
|
{
|
||
|
static_cast<KConfigSkeleton*>(self())->writeConfig();
|
||
|
}
|
||
|
protected:
|
||
|
Test8b();
|
||
|
static Test8b *mSelf;
|
||
|
|
||
|
|
||
|
// Group8b1
|
||
|
uint mSomething;
|
||
|
|
||
|
// Group8b2
|
||
|
bool mFooBoo;
|
||
|
uint mPort;
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|