summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/saverconfig.h
blob: 1327dfdaac2e86c72fde5503fd075ebf8a9913bb (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 <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