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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
docprefs.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (c) 2005 Rafal Rzepecki <divide@users.sourceforge.net>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License along
18  with this program; if not, write to the Free Software Foundation, Inc.,
19  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, permission is given to link this program
22  with any edition of Qt, and distribute the resulting executable,
23  without including the source code for Qt in the source distribution.
24 */
25 
26 #ifndef KORG_DOCPREFS_H
27 #define KORG_DOCPREFS_H
28 
29 #include <QString>
30 
31 class KConfig;
32 
33 class DocPrefs
34 {
35  public:
36  explicit DocPrefs( const QString &type=QLatin1String("general") );
37  ~DocPrefs();
38 
39  void setDoc( const QString &identifier );
40  QString doc() const;
41 
42  bool readBoolEntry( const QString &identifier ) const;
43  void writeBoolEntry( const QString &identifier, bool value );
44  int readNumEntry( const QString &identifier ) const;
45  void writeNumEntry( const QString &identifier, int value );
46 
47  private:
48  static KConfig *mConfig;
49  QString mDocId;
50 };
51 
52 #endif
DocPrefs::readNumEntry
int readNumEntry(const QString &identifier) const
Definition: docprefs.cpp:70
DocPrefs::writeBoolEntry
void writeBoolEntry(const QString &identifier, bool value)
Definition: docprefs.cpp:64
DocPrefs::DocPrefs
DocPrefs(const QString &type=QLatin1String("general"))
Definition: docprefs.cpp:34
DocPrefs::writeNumEntry
void writeNumEntry(const QString &identifier, int value)
Definition: docprefs.cpp:77
DocPrefs::doc
QString doc() const
Definition: docprefs.cpp:52
DocPrefs
Definition: docprefs.h:33
DocPrefs::readBoolEntry
bool readBoolEntry(const QString &identifier) const
Definition: docprefs.cpp:57
DocPrefs::~DocPrefs
~DocPrefs()
Definition: docprefs.cpp:42
DocPrefs::setDoc
void setDoc(const QString &identifier)
Definition: docprefs.cpp:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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