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

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

class Test10 : public KConfigSkeleton
{
  public:

    static Test10 *self();
    ~Test10() override;

    /**
      Get foo bar
    */
    static
    QUrl fooBar()
    {
      return self()->mFooBar;
    }

    /**
      Is foo bar Immutable
    */
    static
    bool isFooBarImmutable()
    {
      return self()->isImmutable( QStringLiteral( "FooBar" ) );
    }

    /**
      Get bar foo
    */
    static
    QList<QUrl> barFoo()
    {
      return self()->mBarFoo;
    }

    /**
      Is bar foo Immutable
    */
    static
    bool isBarFooImmutable()
    {
      return self()->isImmutable( QStringLiteral( "BarFoo" ) );
    }

  protected:
    Test10();
    friend class Test10Helper;


    // Foo
    QUrl mFooBar;
    QList<QUrl> mBarFoo;

  private:
};

#endif