aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test13.cpp.ref
blob: 3fa79b18c8c0ab91191e4700179de0a3725ac4ed (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"