mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
139 lines
2.2 KiB
Text
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
|
|
|