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

kapptemplate

  • sources
  • kde-4.12
  • kdesdk
  • kapptemplate
  • templates
  • C++
  • akonadiresource
C++/akonadiresource/settings.h
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from %{APPNAMELC}resource.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef SETTINGS_H
4 #define SETTINGS_H
5 
6 #include <kconfigskeleton.h>
7 #include <kdebug.h>
8 
9 class Settings : public KConfigSkeleton
10 {
11  public:
12 
13  static Settings *self();
14  ~Settings();
15 
19  static
20  void setReadOnly( bool v )
21  {
22  if (!self()->isImmutable( QString::fromLatin1( "ReadOnly" ) ))
23  self()->mReadOnly = v;
24  }
25 
29  static
30  bool readOnly()
31  {
32  return self()->mReadOnly;
33  }
34 
38  ItemBool *readOnlyItem()
39  {
40  return mReadOnlyItem;
41  }
42 
43  protected:
44  Settings();
45  friend class SettingsHelper;
46 
47 
48  // General
49  bool mReadOnly;
50 
51  private:
52  ItemBool *mReadOnlyItem;
53 };
54 
55 #endif
56 
Settings::mReadOnly
bool mReadOnly
Definition: C++/akonadiresource/settings.h:49
Settings::~Settings
~Settings()
Definition: C++/akonadiresource/settings.cpp:41
KConfigSkeleton
Settings::Settings
Settings()
Definition: C++/akonadiresource/settings.cpp:29
Settings
Definition: C++/akonadiresource/settings.h:9
Settings::readOnly
static bool readOnly()
Get Do not change the actual backend data.
Definition: C++/akonadiresource/settings.h:30
Settings::readOnlyItem
ItemBool * readOnlyItem()
Get Item object corresponding to ReadOnly()
Definition: C++/akonadiresource/settings.h:38
Settings::setReadOnly
static void setReadOnly(bool v)
Set Do not change the actual backend data.
Definition: C++/akonadiresource/settings.h:20
Settings::SettingsHelper
friend class SettingsHelper
Definition: C++/akonadiresource/settings.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapptemplate

Skip menu "kapptemplate"
  • Main Page
  • 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