You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
// 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; |
|
KConfigSkeleton::ItemDouble *innerItemBrightness; |
|
innerItemBrightness = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "brightness" ), mBrightness ); |
|
itemBrightness = new KConfigCompilerSignallingItem(innerItemBrightness, 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" |
|
|
|
|