• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

  • sources
  • kde-4.12
  • kdesdk
  • lokalize
  • src
  • project
projectlocal.cpp
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from projectlocal.kcfg.
2 // All changes you do to this file will be lost.
3 
4 #include "projectlocal.h"
5 
6 ProjectLocal::ProjectLocal( KSharedConfig::Ptr config )
7  : KConfigSkeleton( config )
8 {
9  setCurrentGroup( QLatin1String( "Personal" ) );
10 
11  QList<KConfigSkeleton::ItemEnum::Choice2> valuesRole;
12  {
13  KConfigSkeleton::ItemEnum::Choice2 choice;
14  choice.name = QLatin1String("Translator");
15  valuesRole.append( choice );
16  }
17  {
18  KConfigSkeleton::ItemEnum::Choice2 choice;
19  choice.name = QLatin1String("Reviewer");
20  valuesRole.append( choice );
21  }
22  {
23  KConfigSkeleton::ItemEnum::Choice2 choice;
24  choice.name = QLatin1String("Approver");
25  valuesRole.append( choice );
26  }
27  {
28  KConfigSkeleton::ItemEnum::Choice2 choice;
29  choice.name = QLatin1String("Undefined");
30  valuesRole.append( choice );
31  }
32  KConfigSkeleton::ItemEnum *itemRole;
33  itemRole = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "Role" ), mRole, valuesRole, Approver );
34  addItem( itemRole, QLatin1String( "Role" ) );
35  KConfigSkeleton::ItemBool *itemFirstRun;
36  itemFirstRun = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FirstRun" ), mFirstRun, true );
37  addItem( itemFirstRun, QLatin1String( "FirstRun" ) );
38 }
39 
40 ProjectLocal::~ProjectLocal()
41 {
42 }
43 
KConfigSkeleton
ProjectLocal::mFirstRun
bool mFirstRun
Definition: projectlocal.h:56
projectlocal.h
ProjectLocal::ProjectLocal
ProjectLocal(KSharedConfig::Ptr config=KGlobal::config())
Definition: projectlocal.cpp:6
ProjectLocal::Approver
Definition: projectlocal.h:13
ProjectLocal::~ProjectLocal
~ProjectLocal()
Definition: projectlocal.cpp:40
ProjectLocal::mRole
int mRole
Definition: projectlocal.h:55
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal