korganizer
Go to the documentation of this file.
21 #ifndef THEMEIMPORTER_H
22 #define THEMEIMPORTER_H
24 #include <QtXml/QXmlStreamReader>
48 bool read( QIODevice *device );
61 void readElement(
const QString &viewType = QString(),
62 const int year = 0,
const int month = 0,
68 void readDate(
const QString &viewType = QString(),
69 const int year = 0,
const int month = 0,
74 void readView(
const QString &viewType = QString(),
75 const int year = 0,
const int month = 0,
81 void readUnknownElement();
88 void readCalendarItems(
const QString &viewType = QString(),
89 const int year = 0,
const int month = 0,
94 void readGrid(
const QString &viewType = QString(),
95 const int year = 0,
const int month = 0,
100 void readHolidays(
const QString &viewType = QString(),
101 const int year = 0,
const int month = 0,
106 void readMarcusBainsLine(
const QString &viewType = QString(),
107 const int year = 0,
const int month = 0,
112 void readTimeLabels(
const QString &viewType = QString(),
113 const int year = 0,
const int month = 0,
126 void setColor(
const QString &viewType,
const int year,
127 const int month,
const int day,
128 const QString &key,
const QString &value );
134 void setFont(
const QString &viewType,
const int year,
const int month,
135 const int day,
const QString &key,
const QString &family,
136 const QString &styleHint,
const int pointSize,
137 const int weight,
const QString &style,
138 const int stretchFactor );
144 void setPath(
const QString &viewType,
const int year,
145 const int month,
const int day,
146 const QString &key,
const QString &value );
152 void setString(
const QString &viewType,
const int year,
153 const int month,
const int day,
154 const QString &key,
const QString &value );
161 KConfigGroup *configGroup(
const QString &viewType );
166 QList<KConfigGroup *> perViewConfigGroups();
172 KConfigGroup *registerPerViewConfigGroup( KConfigGroup *g,
173 const QString &viewType );
177 KConfigGroup *createPerViewConfigGroup(
const QString &viewType )
const;
178 QMap<QString, KConfigGroup*> mPerViewConfigGroups;
Class to import an XML theme file's settings into KOrganizer's KConfig-based configuration file...
bool read(QIODevice *device)
Read the XML stream from a device.
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.