aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test3.cpp.ref
blob: aa9fb9192ecdd693cb78f3a8c1819718dc1f9c3b (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
// This file is generated by kconfig_compiler_kf5 from test3.kcfg.
// All changes you do to this file will be lost.

#include "test3.h"

using namespace TestNameSpace;

Test3::Test3(  )
  : KConfigSkeleton( QStringLiteral( "test3rc" ) )
{
  setCurrentGroup( QStringLiteral( "General" ) );

  mAutoSaveItem = new KConfigSkeleton::ItemBool( currentGroup(), QStringLiteral( "Auto Save" ), mAutoSave, false );
  addItem( mAutoSaveItem, QStringLiteral( "AutoSave" ) );

  setCurrentGroup( QStringLiteral( "Blah" ) );

  mBlubbItem = new KConfigSkeleton::ItemInt( currentGroup(), QStringLiteral( "Blubb" ), mBlubb, 10 );
  addItem( mBlubbItem, QStringLiteral( "Blubb" ) );
  mBlahBlahItem = new KConfigSkeleton::ItemString( currentGroup(), QStringLiteral( "BlahBlah" ), mBlahBlah, QStringLiteral( "a string" ) );
  addItem( mBlahBlahItem, QStringLiteral( "BlahBlah" ) );
  mMyPasswordItem = new KConfigSkeleton::ItemPassword( currentGroup(), QStringLiteral( "MyPassword" ), mMyPassword );
  addItem( mMyPasswordItem, QStringLiteral( "MyPassword" ) );
}

Test3::~Test3()
{
}