diff options
| author | Jenkins CI <null@kde.org> | 2013-12-18 00:45:18 +0000 | 
|---|---|---|
| committer | Jenkins CI <null@kde.org> | 2013-12-18 00:45:18 +0000 | 
| commit | 867e7a50e6396338ab4fe9aa22ad141e4cd344d2 (patch) | |
| tree | 1d6f8d6c912fa04dc268b5580bcfe696fa538743 /autotests/kconfig_compiler/test3.h.ref | |
| parent | c38b88497a833e482e6892b72c8f52adec6de857 (diff) | |
| download | kconfig-867e7a50e6396338ab4fe9aa22ad141e4cd344d2.tar.gz kconfig-867e7a50e6396338ab4fe9aa22ad141e4cd344d2.tar.bz2  | |
Move kconfig code to the root directory.
Diffstat (limited to 'autotests/kconfig_compiler/test3.h.ref')
| -rw-r--r-- | autotests/kconfig_compiler/test3.h.ref | 140 | 
1 files changed, 140 insertions, 0 deletions
diff --git a/autotests/kconfig_compiler/test3.h.ref b/autotests/kconfig_compiler/test3.h.ref new file mode 100644 index 00000000..931e2e26 --- /dev/null +++ b/autotests/kconfig_compiler/test3.h.ref @@ -0,0 +1,140 @@ +// 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 +  | 
