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.
34 lines
1.1 KiB
34 lines
1.1 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( QLatin1String( "muondatasourcesrc" ) ) |
|
{ |
|
KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&Test13::itemChanged); |
|
|
|
setCurrentGroup( QLatin1String( "kamoso" ) ); |
|
|
|
KConfigSkeleton::ItemUrl *itemPicturesDir; |
|
itemPicturesDir = new KConfigSkeleton::ItemUrl( currentGroup(), QLatin1String( "picturesDir" ), mPicturesDir ); |
|
addItem( itemPicturesDir, QLatin1String( "picturesDir" ) ); |
|
KConfigCompilerSignallingItem *itemBrightness; |
|
itemBrightness = new KConfigCompilerSignallingItem(new KConfigSkeleton::ItemDouble( currentGroup(), QLatin1String( "brightness" ), mBrightness ), this, notifyFunction, signalBrightnessChanged); |
|
addItem( itemBrightness, QLatin1String( "brightness" ) ); |
|
} |
|
|
|
Test13::~Test13() |
|
{ |
|
} |
|
|
|
|
|
void Test13::itemChanged(quint64 flags) { |
|
|
|
if ( flags & signalBrightnessChanged ) { |
|
Q_EMIT brightnessChanged(); |
|
} |
|
} |
|
|
|
#include "test13.moc" |
|
|
|
|