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

calendarsupport

  • sources
  • kde-4.12
  • kdepim
  • calendarsupport
categoryconfig.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org>
3  Copyright (c) 2005 Rafal Rzepecki <divide@users.sourceforge.net>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 #ifndef CALENDARSUPPORT_CATEGORYCONFIG_H
21 #define CALENDARSUPPORT_CATEGORYCONFIG_H
22 
23 #include "calendarsupport_export.h"
24 
25 #include <QHash>
26 #include <QObject>
27 
28 class KCoreConfigSkeleton;
29 class QColor;
30 
31 namespace CalendarSupport {
32 
33 class CALENDARSUPPORT_EXPORT CategoryConfig : public QObject
34 {
35  Q_OBJECT
36  public:
37  explicit CategoryConfig( KCoreConfigSkeleton *cfg, QObject *parent=0 );
38  ~CategoryConfig();
39  QStringList customCategories() const;
40  void setCustomCategories( const QStringList &categories );
41 
42  QHash<QString,QColor> readColors() const;
43  void setColors( const QHash<QString,QColor> &colors );
44 
45  void writeConfig();
46 
47  static const QString categorySeparator;
48  private:
49  Q_DISABLE_COPY(CategoryConfig)
50  class Private;
51  Private *const d;
52 };
53 
54 }
55 
56 #endif
CalendarSupport::CategoryConfig
Definition: categoryconfig.h:33
QObject
calendarsupport_export.h
CalendarSupport::CategoryConfig::categorySeparator
static const QString categorySeparator
Definition: categoryconfig.h:47
CalendarSupport::categories
CALENDARSUPPORT_EXPORT QStringList categories(const KCalCore::Incidence::List &incidences)
Definition: utils.cpp:746
CALENDARSUPPORT_EXPORT
#define CALENDARSUPPORT_EXPORT
Definition: calendarsupport_export.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

calendarsupport

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

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