summaryrefslogtreecommitdiffstats
path: root/tdecore/kconfig_compiler/tests/test8b.h.ref
blob: 4ca0d5c7f1a84b64bf727fed51f474ef64e47e03 (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
// This file is generated by kconfig_compiler from test8b.kcfg.
// All changes you do to this file will be lost.
#ifndef TEST8B_H
#define TEST8B_H

#include <test8a.h>

#include <kconfigskeleton.h>
#include <kdebug.h>

class Test8b : public Test8a
{
  public:

    static Test8b *self();
    ~Test8b();

    /**
      Set Something
    */
    static
    void setSomething( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Something" ) ))
        self()->mSomething = v;
    }

    /**
      Get Something
    */
    static
    uint something()
    {
      return self()->mSomething;
    }

    /**
      Set FooBoo
    */
    static
    void setFooBoo( bool v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "FooBoo" ) ))
        self()->mFooBoo = v;
    }

    /**
      Get FooBoo
    */
    static
    bool fooBoo()
    {
      return self()->mFooBoo;
    }

    /**
      Set Port
    */
    static
    void setPort( uint v )
    {
      if (!self()->isImmutable( TQString::fromLatin1( "Port" ) ))
        self()->mPort = v;
    }

    /**
      Get Port
    */
    static
    uint port()
    {
      return self()->mPort;
    }

    static
    void writeConfig()
    {
      static_cast<KConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    Test8b();
    static Test8b *mSelf;


    // Group8b1
    uint mSomething;

    // Group8b2
    bool mFooBoo;
    uint mPort;

  private:
};

#endif