Warning, /frameworks/kconfig/autotests/kconfig_compiler/test13.cpp.ref is written in an unsupported language. File is not indexed.

0001 // This file is generated by kconfig_compiler_kf5 from test13.kcfg.
0002 // All changes you do to this file will be lost.
0003 
0004 #include "test13.h"
0005 
0006 Test13::Test13( )
0007   : KConfigSkeleton( QStringLiteral( "muondatasourcesrc" ) )
0008 {
0009   KConfigCompilerSignallingItem::NotifyFunction notifyFunction = static_cast<KConfigCompilerSignallingItem::NotifyFunction>(&Test13::itemChanged);
0010 
0011   setCurrentGroup( QStringLiteral( "kamoso" ) );
0012 
0013   KConfigSkeleton::ItemUrl  *itemPicturesDir;
0014   itemPicturesDir = new KConfigSkeleton::ItemUrl( currentGroup(), QStringLiteral( "picturesDir" ), mPicturesDir );
0015   addItem( itemPicturesDir, QStringLiteral( "picturesDir" ) );
0016   KConfigCompilerSignallingItem  *itemBrightness;
0017   KConfigSkeleton::ItemDouble  *innerItemBrightness;
0018   innerItemBrightness = new KConfigSkeleton::ItemDouble( currentGroup(), QStringLiteral( "brightness" ), mBrightness );
0019   itemBrightness = new KConfigCompilerSignallingItem(innerItemBrightness, this, notifyFunction, signalBrightnessChanged);
0020   addItem( itemBrightness, QStringLiteral( "brightness" ) );
0021   KConfigSkeleton::ItemBool  *itemStartsWithUppercase;
0022   itemStartsWithUppercase = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "StartsWithUppercase" ), mStartsWithUppercase );
0023   addItem( itemStartsWithUppercase, QStringLiteral( "StartsWithUppercase" ) );
0024 }
0025 
0026 Test13::~Test13()
0027 {
0028 }
0029 
0030 
0031 void Test13::itemChanged(quint64 signalFlag) {
0032 
0033   switch (signalFlag) {
0034   case signalBrightnessChanged:
0035     Q_EMIT brightnessChanged();
0036     break;
0037   }
0038 }
0039 
0040 #include "test13.moc"
0041