summaryrefslogtreecommitdiffstats
path: root/tdecore/kconfig_compiler/tests/test3.h.ref
blob: 75b1b0929844ac428ee3ca8ae7786130e8f2bd29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
// 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 <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( TQString::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( TQString::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 TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "BlahBlah" ) ))
        mBlahBlah = v;
    }

    /**
      Get BlahBlah
    */
    TQString blahBlah() const
    {
      return mBlahBlah;
    }

    /**
      Get Item object corresponding to BlahBlah()
    */
    ItemString *blahBlahItem()
    {
      return mBlahBlahItem;
    }

    /**
      Set MyPassword
    */
    void setMyPassword( const TQString & v )
    {
      if (!isImmutable( TQString::fromLatin1( "MyPassword" ) ))
        mMyPassword = v;
    }

    /**
      Get MyPassword
    */
    TQString myPassword() const
    {
      return mMyPassword;
    }

    /**
      Get Item object corresponding to MyPassword()
    */
    ItemPassword *myPasswordItem()
    {
      return mMyPasswordItem;
    }

  protected:

    // General
    bool mAutoSave;

    // Blah
    int mBlubb;
    TQString mBlahBlah;
    TQString mMyPassword;

  private:
    ItemBool *mAutoSaveItem;
    ItemInt *mBlubbItem;
    ItemString *mBlahBlahItem;
    ItemPassword *mMyPasswordItem;
};

}

#endif