• 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++
  • kapp4-qml
  • src
C++/kapp4-qml/src/settings.h
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from %{APPNAMELC}.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 setCol_background( const QColor & v )
21  {
22  if (!self()->isImmutable( QString::fromLatin1( "col_background" ) ))
23  self()->mCol_background = v;
24  }
25 
29  static
30  QColor col_background()
31  {
32  return self()->mCol_background;
33  }
34 
38  static
39  void setCol_foreground( const QColor & v )
40  {
41  if (!self()->isImmutable( QString::fromLatin1( "col_foreground" ) ))
42  self()->mCol_foreground = v;
43  }
44 
48  static
49  QColor col_foreground()
50  {
51  return self()->mCol_foreground;
52  }
53 
54 
58  static
59  int val_time()
60  {
61  return self()->mVal_time;
62  }
63 
64  protected:
65  Settings();
66  friend class SettingsHelper;
67 
68 
69  // Preferences
70  QColor mCol_background;
71  QColor mCol_foreground;
72  int mVal_time;
73 
74  private:
75 };
76 
77 #endif
78 
Settings::setCol_foreground
static void setCol_foreground(const QColor &v)
Set color of the foreground.
Definition: C++/kapp4-qml/src/settings.h:39
Settings::~Settings
~Settings()
Definition: C++/akonadiresource/settings.cpp:41
KConfigSkeleton
Settings::col_background
static QColor col_background()
Get color of the background.
Definition: C++/kapp4-qml/src/settings.h:30
Settings::mVal_time
int mVal_time
Definition: C++/kapp4/src/settings.h:72
Settings::Settings
Settings()
Definition: C++/akonadiresource/settings.cpp:29
Settings
Definition: C++/akonadiresource/settings.h:9
Settings::mCol_foreground
QColor mCol_foreground
Definition: C++/kapp4/src/settings.h:71
Settings::col_foreground
static QColor col_foreground()
Get color of the foreground.
Definition: C++/kapp4-qml/src/settings.h:49
Settings::SettingsHelper
friend class SettingsHelper
Definition: C++/akonadiresource/settings.h:45
Settings::val_time
static int val_time()
Get size of a ball.
Definition: C++/kapp4-qml/src/settings.h:59
Settings::setCol_background
static void setCol_background(const QColor &v)
Set color of the background.
Definition: C++/kapp4-qml/src/settings.h:20
Settings::mCol_background
QColor mCol_background
Definition: C++/kapp4/src/settings.h:70
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