cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
120 lines
1.7 KiB
Plaintext
120 lines
1.7 KiB
Plaintext
// This file is generated by kconfig_compiler_kf6 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 <QCoreApplication>
|
|
#include <QDebug>
|
|
|
|
class Test8b : public Test8a
|
|
{
|
|
public:
|
|
|
|
static Test8b *self();
|
|
~Test8b() override;
|
|
|
|
/**
|
|
Set Something
|
|
*/
|
|
static
|
|
void setSomething( uint v )
|
|
{
|
|
if (!self()->isSomethingImmutable())
|
|
self()->mSomething = v;
|
|
}
|
|
|
|
/**
|
|
Get Something
|
|
*/
|
|
static
|
|
uint something()
|
|
{
|
|
return self()->mSomething;
|
|
}
|
|
|
|
/**
|
|
Is Something Immutable
|
|
*/
|
|
static
|
|
bool isSomethingImmutable()
|
|
{
|
|
return self()->isImmutable( QStringLiteral( "Something" ) );
|
|
}
|
|
|
|
/**
|
|
Set FooBoo
|
|
*/
|
|
static
|
|
void setFooBoo( bool v )
|
|
{
|
|
if (!self()->isFooBooImmutable())
|
|
self()->mFooBoo = v;
|
|
}
|
|
|
|
/**
|
|
Get FooBoo
|
|
*/
|
|
static
|
|
bool fooBoo()
|
|
{
|
|
return self()->mFooBoo;
|
|
}
|
|
|
|
/**
|
|
Is FooBoo Immutable
|
|
*/
|
|
static
|
|
bool isFooBooImmutable()
|
|
{
|
|
return self()->isImmutable( QStringLiteral( "FooBoo" ) );
|
|
}
|
|
|
|
/**
|
|
Set Port
|
|
*/
|
|
static
|
|
void setPort( uint v )
|
|
{
|
|
if (!self()->isPortImmutable())
|
|
self()->mPort = v;
|
|
}
|
|
|
|
/**
|
|
Get Port
|
|
*/
|
|
static
|
|
uint port()
|
|
{
|
|
return self()->mPort;
|
|
}
|
|
|
|
/**
|
|
Is Port Immutable
|
|
*/
|
|
static
|
|
bool isPortImmutable()
|
|
{
|
|
return self()->isImmutable( QStringLiteral( "Port" ) );
|
|
}
|
|
|
|
protected:
|
|
Test8b();
|
|
friend class Test8bHelper;
|
|
|
|
|
|
// Group8b1
|
|
uint mSomething;
|
|
|
|
// Group8b2
|
|
bool mFooBoo;
|
|
uint mPort;
|
|
|
|
private:
|
|
};
|
|
|
|
#endif
|
|
|