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.
172 lines
2.8 KiB
172 lines
2.8 KiB
// This file is generated by kconfig_compiler_kf5 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 (!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 |
|
|
|
|