• 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
  • themes
theme.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2007 Loïc Corbasson <loic.corbasson@gmail.com>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 #ifndef THEME_H
22 #define THEME_H
23 
24 #include <kurl.h>
25 
26 #include <QtCore/QDir>
27 #include <QtCore/QObject>
28 
29 namespace KOrg {
30 
35 class Theme : public QObject
36 {
37  Q_OBJECT
38 
39  public:
44  static void useThemeFrom( const KUrl &url );
45 
49  static void saveThemeTo( const KUrl &url );
50 
54  static void clearCurrentTheme();
55 
59  static const QDir storageDir();
60 
64  static const QStringList themableViews( const QString &viewType = QString() );
65 };
66 
67 }
68 
69 #endif
KOrg::Theme::clearCurrentTheme
static void clearCurrentTheme()
Clear the current theme settings.
Definition: theme.cpp:145
KOrg::Theme::themableViews
static const QStringList themableViews(const QString &viewType=QString())
Return all themable views corresponding to the viewType.
Definition: theme.cpp:159
KOrg::Theme::saveThemeTo
static void saveThemeTo(const KUrl &url)
Save the current theme settings to a theme file.
Definition: theme.cpp:122
KOrg::Theme::storageDir
static const QDir storageDir()
Return the directory where the current theme is stored.
Definition: theme.cpp:153
QObject
KOrg::Theme
Class for theme management (essentially import/export).
Definition: theme.h:35
KOrg::Theme::useThemeFrom
static void useThemeFrom(const KUrl &url)
Import settings from a theme at the specified URL into KOrganizer's config.
Definition: theme.cpp:38
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