libplasma
configxml.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CONFIGXML_H
00021 #define CONFIGXML_H
00022
00023 #include <KDE/KConfigGroup>
00024 #include <KDE/KConfigSkeleton>
00025 #include <KDE/KSharedConfig>
00026
00027 #include <plasma/plasma_export.h>
00028
00068 namespace Plasma
00069 {
00070
00071 class ConfigXmlPrivate;
00072
00073 class PLASMA_EXPORT ConfigXml : public KConfigSkeleton
00074 {
00075 public:
00084 ConfigXml(const QString &configFile, QIODevice *xml, QObject *parent = 0);
00085
00095 ConfigXml(KSharedConfigPtr config, QIODevice *xml, QObject *parent = 0);
00096
00106 ConfigXml(const KConfigGroup *config, QIODevice *xml, QObject *parent = 0);
00107 ~ConfigXml();
00108
00109 KConfigSkeletonItem* findItem(const QString &group, const QString &key);
00110
00111 private:
00112 ConfigXmlPrivate * const d;
00113 };
00114
00115 }
00116
00117 #endif //multiple inclusion guard