Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/plugin/systemsettings.h
Context not available. | |||||
21 | #define SYSTEMSETTINGS_H | 21 | #define SYSTEMSETTINGS_H | ||
---|---|---|---|---|---|
22 | 22 | | |||
23 | #include <QObject> | 23 | #include <QObject> | ||
24 | #include <QStandardPaths> | ||||
24 | 25 | | |||
25 | class SystemSettings : public QObject | 26 | class SystemSettings : public QObject | ||
26 | { | 27 | { | ||
Context not available. | |||||
30 | SystemSettings(QObject *parent = 0); | 31 | SystemSettings(QObject *parent = 0); | ||
31 | ~SystemSettings(); | 32 | ~SystemSettings(); | ||
32 | 33 | | |||
34 | Q_INVOKABLE QString standardLocation(QStandardPaths::StandardLocation type) const; | ||||
35 | Q_INVOKABLE QString desktopLocation() const; | ||||
36 | Q_INVOKABLE QString documentsLocation() const; | ||||
37 | Q_INVOKABLE QString musicLocation() const; | ||||
38 | Q_INVOKABLE QString moviesLocation() const; | ||||
33 | Q_INVOKABLE QString picturesLocation() const; | 39 | Q_INVOKABLE QString picturesLocation() const; | ||
40 | Q_INVOKABLE QString homeLocation() const; | ||||
41 | Q_INVOKABLE QString downloadLocation() const; | ||||
34 | }; | 42 | }; | ||
35 | 43 | | |||
36 | #endif | 44 | #endif | ||
Context not available. |