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.
140 lines
2.2 KiB
140 lines
2.2 KiB
// 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 <qglobal.h> |
|
#include <kconfigskeleton.h> |
|
#include <QCoreApplication> |
|
#include <QDebug> |
|
|
|
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 MyPassword |
|
*/ |
|
void setMyPassword( const QString & v ) |
|
{ |
|
if (!isImmutable( QString::fromLatin1( "MyPassword" ) )) |
|
mMyPassword = v; |
|
} |
|
|
|
/** |
|
Get MyPassword |
|
*/ |
|
QString myPassword() const |
|
{ |
|
return mMyPassword; |
|
} |
|
|
|
/** |
|
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 |
|
|
|
|