aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test9.h.ref
blob: 84fbbf30075d217d7992aef0541e11d98ddee507 (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
// This file is generated by kconfig_compiler_kf5 from test9.kcfg.
// All changes you do to this file will be lost.
#ifndef TEST9_H
#define TEST9_H

#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>

#include <qdir.h>

class Test9 : public KConfigSkeleton
{
  public:

    Test9( const QString & transport, const QString & folder );
    ~Test9() override;

    /**
      Set MyStringList
    */
    void setMyStringList( const QStringList & v )
    {
      if (!isMyStringListImmutable())
        mMyStringList = v;
    }

    /**
      Get MyStringList
    */
    QStringList myStringList() const
    {
      return mMyStringList;
    }

    /**
      Is MyStringList Immutable
    */
    bool isMyStringListImmutable() const
    {
      return isImmutable( QStringLiteral( "MyStringList" ) );
    }

    /**
      Set This is a list of paths
    */
    void setMyPathList( const QStringList & v )
    {
      if (!isMyPathListImmutable())
        mMyPathList = v;
    }

    /**
      Get This is a list of paths
    */
    QStringList myPathList() const
    {
      return mMyPathList;
    }

    /**
      Is This is a list of paths Immutable
    */
    bool isMyPathListImmutable() const
    {
      return isImmutable( QStringLiteral( "MyPathList" ) );
    }

    /**
      Set This is an additional test for PathList
    */
    void setMyPathsList2( const QStringList & v )
    {
      if (!isMyPathsList2Immutable())
        mMyPathsList2 = v;
    }

    /**
      Get This is an additional test for PathList
    */
    QStringList myPathsList2() const
    {
      return mMyPathsList2;
    }

    /**
      Is This is an additional test for PathList Immutable
    */
    bool isMyPathsList2Immutable() const
    {
      return isImmutable( QStringLiteral( "MyPathsList2" ) );
    }

  protected:
  public:
    QString mParamtransport;
    QString mParamfolder;

    // MyOptionsXX
    QStringList mMyStringList;
    QStringList mMyPathList;
    QStringList mMyPathsList2;

  private:
};

#endif