Changeset View
Changeset View
Standalone View
Standalone View
autotests/kconfig_compiler/test10.h.ref
1 | // This file is generated by kconfig_compiler_kf5 from test10.kcfg. | 1 | // This file is generated by kconfig_compiler_kf5 from test10.kcfg. | ||
---|---|---|---|---|---|
2 | // All changes you do to this file will be lost. | 2 | // All changes you do to this file will be lost. | ||
3 | #ifndef TEST10_H | 3 | #ifndef TEST10_H | ||
4 | #define TEST10_H | 4 | #define TEST10_H | ||
5 | 5 | | |||
6 | #include <kconfigskeleton.h> | 6 | #include <kconfigskeleton.h> | ||
7 | #include <QCoreApplication> | 7 | #include <QCoreApplication> | ||
8 | #include <QDebug> | 8 | #include <QDebug> | ||
9 | 9 | | |||
10 | class Test10 : public KConfigSkeleton | 10 | class Test10 : public KConfigSkeleton | ||
11 | { | 11 | { | ||
12 | public: | 12 | public: | ||
13 | 13 | | |||
14 | static Test10 *self(); | 14 | static Test10 *self(); | ||
15 | ~Test10(); | 15 | ~Test10(); | ||
16 | 16 | | |||
17 | | ||||
18 | /** | 17 | /** | ||
19 | Get foo bar | 18 | Get foo bar | ||
20 | */ | 19 | */ | ||
21 | static | 20 | static | ||
22 | QUrl fooBar() | 21 | QUrl fooBar() | ||
23 | { | 22 | { | ||
24 | return self()->mFooBar; | 23 | return self()->mFooBar; | ||
25 | } | 24 | } | ||
26 | 25 | | |||
27 | | ||||
28 | /** | 26 | /** | ||
29 | Get bar foo | 27 | Get bar foo | ||
30 | */ | 28 | */ | ||
31 | static | 29 | static | ||
32 | QList<QUrl> barFoo() | 30 | QList<QUrl> barFoo() | ||
33 | { | 31 | { | ||
34 | return self()->mBarFoo; | 32 | return self()->mBarFoo; | ||
35 | } | 33 | } | ||
Show All 15 Lines |