blob: 0f62dc96ae71302d5c8dcff06b2646a940e50b98 (
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
|
// This file is generated by kconfig_compiler_kf5 from test13.kcfg.
// All changes you do to this file will be lost.
#include "test13.h"
Test13::Test13( )
: KConfigSkeleton( QStringLiteral( "muondatasourcesrc" ) )
{
KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&Test13::itemChanged);
setCurrentGroup( QStringLiteral( "kamoso" ) );
KConfigSkeleton::ItemUrl *itemPicturesDir;
itemPicturesDir = new KConfigSkeleton::ItemUrl( currentGroup(), QStringLiteral( "picturesDir" ), mPicturesDir );
addItem( itemPicturesDir, QStringLiteral( "picturesDir" ) );
KConfigCompilerSignallingItem *itemBrightness;
itemBrightness = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "brightness" ), mBrightness ), this, notifyFunction, signalBrightnessChanged);
addItem( itemBrightness, QStringLiteral( "brightness" ) );
KConfigSkeleton::ItemBool *itemStartsWithUppercase;
itemStartsWithUppercase = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "StartsWithUppercase" ), mStartsWithUppercase );
addItem( itemStartsWithUppercase, QStringLiteral( "StartsWithUppercase" ) );
}
Test13::~Test13()
{
}
void Test13::itemChanged(quint64 flags) {
if ( flags & signalBrightnessChanged ) {
Q_EMIT brightnessChanged();
}
}
#include "test13.moc"
|