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..82be8e01f
--- /dev/null
+++ b/kcontrol/screensaver/saverconfig.h
@@ -0,0 +1,29 @@
+#ifndef SAVERCONFIG_H
+#define SAVERCONFIG_H
+
+#include <tqstring.h>
+
+class SaverConfig
+{
+public:
+ SaverConfig();
+
+ bool read(const TQString &file);
+
+ TQString exec() const { return mExec; }
+ TQString setup() const { return mSetup; }
+ TQString saver() const { return mSaver; }
+ TQString name() const { return mName; }
+ TQString file() const { return mFile; }
+ TQString category() const { return mCategory; }
+
+protected:
+ TQString mExec;
+ TQString mSetup;
+ TQString mSaver;
+ TQString mName;
+ TQString mFile;
+ TQString mCategory;
+};
+
+#endif