Changeset View
Changeset View
Standalone View
Standalone View
kded/output.h
Show All 23 Lines | |||||
24 | #include <QVariantMap> | 24 | #include <QVariantMap> | ||
25 | 25 | | |||
26 | class Output | 26 | class Output | ||
27 | { | 27 | { | ||
28 | public: | 28 | public: | ||
29 | static void readInOutputs(KScreen::ConfigPtr config, const QVariantList &outputsInfo); | 29 | static void readInOutputs(KScreen::ConfigPtr config, const QVariantList &outputsInfo); | ||
30 | 30 | | |||
31 | static void writeGlobal(const KScreen::OutputPtr &output); | 31 | static void writeGlobal(const KScreen::OutputPtr &output); | ||
32 | static bool writeGlobalPart(const KScreen::OutputPtr &output, QVariantMap &info); | 32 | static bool writeGlobalPart(const KScreen::OutputPtr &output, QVariantMap &info, | ||
33 | const KScreen::OutputPtr &fallback); | ||||
33 | 34 | | |||
34 | static QString dirPath(); | 35 | static QString dirPath(); | ||
35 | 36 | | |||
36 | private: | 37 | private: | ||
37 | static QString globalFileName(const QString &hash); | 38 | static QString globalFileName(const QString &hash); | ||
38 | static QVariantMap getGlobalData(KScreen::OutputPtr output); | 39 | static QVariantMap getGlobalData(KScreen::OutputPtr output); | ||
39 | 40 | | |||
40 | static void readIn(KScreen::OutputPtr output, const QVariantMap &info, Control::OutputRetention retention); | 41 | static void readIn(KScreen::OutputPtr output, const QVariantMap &info, Control::OutputRetention retention); | ||
Show All 13 Lines |