summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/saverconfig.h
blob: 82be8e01fac9d5698819a19af7b8710dce2d49db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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