diff options
Diffstat (limited to 'autotests/kconfig_compiler/test13.cpp.ref')
| -rw-r--r-- | autotests/kconfig_compiler/test13.cpp.ref | 34 | 
1 files changed, 34 insertions, 0 deletions
| diff --git a/autotests/kconfig_compiler/test13.cpp.ref b/autotests/kconfig_compiler/test13.cpp.ref new file mode 100644 index 00000000..4eac1034 --- /dev/null +++ b/autotests/kconfig_compiler/test13.cpp.ref @@ -0,0 +1,34 @@ +// 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" + | 
