kdelibs/kdeui/tests/kconfig_compiler/test3.h.ref
Ivailo Monev 9c6ba7e9e2 generic: drop support for storing passwords in kcfg files
use KPasswdStore instead

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-16 19:11:32 +03:00

139 lines
2.2 KiB
Text

// This file is generated by kconfig_compiler from test3.kcfg.
// All changes you do to this file will be lost.
#ifndef TESTNAMESPACE_TEST3_H
#define TESTNAMESPACE_TEST3_H
#include <kglobal.h>
#include <kconfigskeleton.h>
#include <kdebug.h>
namespace TestNameSpace {
class Test3 : public KConfigSkeleton
{
public:
Test3( );
~Test3();
/**
Set Enable automatic saving of calendar
*/
void setAutoSave( bool v )
{
if (!isImmutable( QString::fromLatin1( "AutoSave" ) ))
mAutoSave = v;
}
/**
Get Enable automatic saving of calendar
*/
bool autoSave() const
{
return mAutoSave;
}
/**
Get Item object corresponding to AutoSave()
*/
ItemBool *autoSaveItem()
{
return mAutoSaveItem;
}
/**
Set Blubb
*/
void setBlubb( int v )
{
if (!isImmutable( QString::fromLatin1( "Blubb" ) ))
mBlubb = v;
}
/**
Get Blubb
*/
int blubb() const
{
return mBlubb;
}
/**
Get Item object corresponding to Blubb()
*/
ItemInt *blubbItem()
{
return mBlubbItem;
}
/**
Set BlahBlah
*/
void setBlahBlah( const QString & v )
{
if (!isImmutable( QString::fromLatin1( "BlahBlah" ) ))
mBlahBlah = v;
}
/**
Get BlahBlah
*/
QString blahBlah() const
{
return mBlahBlah;
}
/**
Get Item object corresponding to BlahBlah()
*/
ItemString *blahBlahItem()
{
return mBlahBlahItem;
}
/**
Set MyPath
*/
void setMyPath( const QString & v )
{
if (!isImmutable( QString::fromLatin1( "MyPath" ) ))
mMyPath = v;
}
/**
Get MyPath
*/
QString myPath() const
{
return mMyPath;
}
/**
Get Item object corresponding to MyPath()
*/
ItemPath *myPathItem()
{
return mMyPathItem;
}
protected:
// General
bool mAutoSave;
// Blah
int mBlubb;
QString mBlahBlah;
QString mMyPath;
private:
ItemBool *mAutoSaveItem;
ItemInt *mBlubbItem;
ItemString *mBlahBlahItem;
ItemPath *mMyPathItem;
};
}
#endif