blob: 4452874790a88163c6c19185fa87779f4e491a5a (
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
|
// This file is generated by kconfig_compiler_kf5 from test8c.kcfg.
// All changes you do to this file will be lost.
#ifndef TEST8C_H
#define TEST8C_H
#include <kconfigskeleton.h>
#include <QCoreApplication>
#include <QDebug>
class Test8c : public KConfigSkeleton
{
public:
static Test8c *self();
static void instance(const QString& cfgfilename);
static void instance(KSharedConfig::Ptr config);
~Test8c() override;
/**
Set Font
*/
static
void setFont( const QFont & v )
{
if (!self()->isFontImmutable())
self()->mFont = v;
}
/**
Get Font
*/
static
QFont font()
{
return self()->mFont;
}
/**
Is Font Immutable
*/
static
bool isFontImmutable()
{
return self()->isImmutable( QStringLiteral( "Font" ) );
}
/**
Set TitleFont
*/
static
void setTitleFont( const QFont & v )
{
if (!self()->isTitleFontImmutable())
self()->mTitleFont = v;
}
/**
Get TitleFont
*/
static
QFont titleFont()
{
return self()->mTitleFont;
}
/**
Is TitleFont Immutable
*/
static
bool isTitleFontImmutable()
{
return self()->isImmutable( QStringLiteral( "TitleFont" ) );
}
protected:
Test8c(KSharedConfig::Ptr config, QObject *parent = nullptr);
friend class Test8cHelper;
// Group
QFont mFont;
QFont mTitleFont;
private:
};
#endif
|