summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/saverconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/screensaver/saverconfig.h')
-rw-r--r--kcontrol/screensaver/saverconfig.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/kcontrol/screensaver/saverconfig.h b/kcontrol/screensaver/saverconfig.h
new file mode 100644
index 000000000..1327dfdaa
--- /dev/null
+++ b/kcontrol/screensaver/saverconfig.h
@@ -0,0 +1,29 @@
+#ifndef SAVERCONFIG_H
+#define SAVERCONFIG_H
+
+#include <qstring.h>
+
+class SaverConfig
+{
+public:
+ SaverConfig();
+
+ bool read(const QString &file);
+
+ QString exec() const { return mExec; }
+ QString setup() const { return mSetup; }
+ QString saver() const { return mSaver; }
+ QString name() const { return mName; }
+ QString file() const { return mFile; }
+ QString category() const { return mCategory; }
+
+protected:
+ QString mExec;
+ QString mSetup;
+ QString mSaver;
+ QString mName;
+ QString mFile;
+ QString mCategory;
+};
+
+#endif