cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
175 lines
2.8 KiB
Plaintext
175 lines
2.8 KiB
Plaintext
// This file is generated by kconfig_compiler_kf6 from test3a.kcfg.
|
|
// All changes you do to this file will be lost.
|
|
#ifndef TESTNAMESPACE_INNERNAMESPACE_TEST3A_H
|
|
#define TESTNAMESPACE_INNERNAMESPACE_TEST3A_H
|
|
|
|
#include <qglobal.h>
|
|
#include <kconfigskeleton.h>
|
|
#include <QCoreApplication>
|
|
#include <QDebug>
|
|
|
|
namespace TestNameSpace {
|
|
namespace InnerNameSpace {
|
|
|
|
class Test3a : public KConfigSkeleton
|
|
{
|
|
public:
|
|
|
|
Test3a( );
|
|
~Test3a() override;
|
|
|
|
/**
|
|
Set Enable automatic saving of calendar
|
|
*/
|
|
void setAutoSave( bool v )
|
|
{
|
|
if (!isAutoSaveImmutable())
|
|
mAutoSave = v;
|
|
}
|
|
|
|
/**
|
|
Get Enable automatic saving of calendar
|
|
*/
|
|
bool autoSave() const
|
|
{
|
|
return mAutoSave;
|
|
}
|
|
|
|
/**
|
|
Is Enable automatic saving of calendar Immutable
|
|
*/
|
|
bool isAutoSaveImmutable() const
|
|
{
|
|
return isImmutable( QStringLiteral( "AutoSave" ) );
|
|
}
|
|
|
|
/**
|
|
Get Item object corresponding to AutoSave()
|
|
*/
|
|
ItemBool *autoSaveItem()
|
|
{
|
|
return mAutoSaveItem;
|
|
}
|
|
|
|
/**
|
|
Set Blubb
|
|
*/
|
|
void setBlubb( int v )
|
|
{
|
|
if (!isBlubbImmutable())
|
|
mBlubb = v;
|
|
}
|
|
|
|
/**
|
|
Get Blubb
|
|
*/
|
|
int blubb() const
|
|
{
|
|
return mBlubb;
|
|
}
|
|
|
|
/**
|
|
Is Blubb Immutable
|
|
*/
|
|
bool isBlubbImmutable() const
|
|
{
|
|
return isImmutable( QStringLiteral( "Blubb" ) );
|
|
}
|
|
|
|
/**
|
|
Get Item object corresponding to Blubb()
|
|
*/
|
|
ItemInt *blubbItem()
|
|
{
|
|
return mBlubbItem;
|
|
}
|
|
|
|
/**
|
|
Set BlahBlah
|
|
*/
|
|
void setBlahBlah( const QString & v )
|
|
{
|
|
if (!isBlahBlahImmutable())
|
|
mBlahBlah = v;
|
|
}
|
|
|
|
/**
|
|
Get BlahBlah
|
|
*/
|
|
QString blahBlah() const
|
|
{
|
|
return mBlahBlah;
|
|
}
|
|
|
|
/**
|
|
Is BlahBlah Immutable
|
|
*/
|
|
bool isBlahBlahImmutable() const
|
|
{
|
|
return isImmutable( QStringLiteral( "BlahBlah" ) );
|
|
}
|
|
|
|
/**
|
|
Get Item object corresponding to BlahBlah()
|
|
*/
|
|
ItemString *blahBlahItem()
|
|
{
|
|
return mBlahBlahItem;
|
|
}
|
|
|
|
/**
|
|
Set MyPassword
|
|
*/
|
|
void setMyPassword( const QString & v )
|
|
{
|
|
if (!isMyPasswordImmutable())
|
|
mMyPassword = v;
|
|
}
|
|
|
|
/**
|
|
Get MyPassword
|
|
*/
|
|
QString myPassword() const
|
|
{
|
|
return mMyPassword;
|
|
}
|
|
|
|
/**
|
|
Is MyPassword Immutable
|
|
*/
|
|
bool isMyPasswordImmutable() const
|
|
{
|
|
return isImmutable( QStringLiteral( "MyPassword" ) );
|
|
}
|
|
|
|
/**
|
|
Get Item object corresponding to MyPassword()
|
|
*/
|
|
ItemPassword *myPasswordItem()
|
|
{
|
|
return mMyPasswordItem;
|
|
}
|
|
|
|
protected:
|
|
|
|
// General
|
|
bool mAutoSave;
|
|
|
|
// Blah
|
|
int mBlubb;
|
|
QString mBlahBlah;
|
|
QString mMyPassword;
|
|
|
|
private:
|
|
ItemBool *mAutoSaveItem;
|
|
ItemInt *mBlubbItem;
|
|
ItemString *mBlahBlahItem;
|
|
ItemPassword *mMyPasswordItem;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|