Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/kxftconfig.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #include <config-workspace.h> | 23 | #include <config-workspace.h> | ||
24 | 24 | | |||
25 | #ifdef HAVE_FONTCONFIG | 25 | #ifdef HAVE_FONTCONFIG | ||
26 | 26 | | |||
27 | #include <QDateTime> | 27 | #include <QDateTime> | ||
28 | #include <QDomDocument> | 28 | #include <QDomDocument> | ||
29 | #include <QStringList> | 29 | #include <QStringList> | ||
30 | #include <QtCore/QMetaType> | ||||
30 | 31 | | |||
31 | class KXftConfig | 32 | class KXftConfig | ||
32 | { | 33 | { | ||
33 | public: | 34 | public: | ||
34 | 35 | | |||
35 | struct Item { | 36 | struct Item { | ||
36 | Item(QDomNode &n) : node(n), toBeRemoved(false) {} | 37 | Item(QDomNode &n) : node(n), toBeRemoved(false) {} | ||
37 | Item() : toBeRemoved(false) {} | 38 | Item() : toBeRemoved(false) {} | ||
▲ Show 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 185 | private: | |||
195 | bool m_subPixelHasLocalConfig; | 196 | bool m_subPixelHasLocalConfig; | ||
196 | bool m_hintHasLocalConfig; | 197 | bool m_hintHasLocalConfig; | ||
197 | QDomDocument m_doc; | 198 | QDomDocument m_doc; | ||
198 | QString m_file; | 199 | QString m_file; | ||
199 | bool m_madeChanges; | 200 | bool m_madeChanges; | ||
200 | QDateTime m_time; | 201 | QDateTime m_time; | ||
201 | }; | 202 | }; | ||
202 | 203 | | |||
204 | Q_DECLARE_METATYPE(KXftConfig::Hint::Style) | ||||
205 | Q_DECLARE_METATYPE(KXftConfig::SubPixel::Type) | ||||
203 | #endif | 206 | #endif | ||
204 | 207 | | |||
205 | #endif | 208 | #endif |