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

ktimetracker

  • sources
  • kde-4.12
  • kdepim
  • ktimetracker
preferences.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000 by Jesper Pedersen <blackie@kde.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the
16  * Free Software Foundation, Inc.
17  * 51 Franklin Street, Fifth Floor
18  * Boston, MA 02110-1301 USA.
19  *
20  */
21 
22 #ifndef KTIMETRACKER_PREFERENCES_H
23 #define KTIMETRACKER_PREFERENCES_H
24 
25 #include <KPageDialog>
26 
27 
31 class Preferences : public KPageDialog
32 {
33  Q_OBJECT
34 
35  public:
36  static Preferences *instance();
37 
38  bool readBoolEntry( const QString& uid );
39  void writeEntry( const QString &key, bool value );
40  void deleteEntry( const QString &key );
41 
42  private:
43  Preferences();
44  static Preferences *mInstance;
45 };
46 
47 #endif // KTIMETRACKER_PREFERENCES_H
48 
Preferences::instance
static Preferences * instance()
Definition: preferences.cpp:34
KPageDialog
Preferences::readBoolEntry
bool readBoolEntry(const QString &uid)
Definition: preferences.cpp:43
Preferences::deleteEntry
void deleteEntry(const QString &key)
Definition: preferences.cpp:55
Preferences::writeEntry
void writeEntry(const QString &key, bool value)
Definition: preferences.cpp:48
Preferences
Provide an interface to the configuration options for the program.
Definition: preferences.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktimetracker

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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