Changeset View
Changeset View
Standalone View
Standalone View
console/console.cpp
Show All 26 Lines | |||||
27 | 27 | | |||
28 | #include <kscreen/types.h> | 28 | #include <kscreen/types.h> | ||
29 | #include <kscreen/config.h> | 29 | #include <kscreen/config.h> | ||
30 | #include <kscreen/output.h> | 30 | #include <kscreen/output.h> | ||
31 | #include <kscreen/mode.h> | 31 | #include <kscreen/mode.h> | ||
32 | #include <kscreen/configmonitor.h> | 32 | #include <kscreen/configmonitor.h> | ||
33 | #include <kscreen/edid.h> | 33 | #include <kscreen/edid.h> | ||
34 | #include <kscreen/getconfigoperation.h> | 34 | #include <kscreen/getconfigoperation.h> | ||
35 | #include <kscreen/configserializer_p.h> | ||||
35 | 36 | | |||
36 | 37 | | |||
37 | static QTextStream cout(stdout); | 38 | static QTextStream cout(stdout); | ||
38 | 39 | | |||
39 | namespace KScreen | | |||
40 | { | | |||
41 | namespace ConfigSerializer | | |||
42 | { | | |||
43 | // Exported private symbol in configserializer_p.h in KScreen | | |||
44 | extern QJsonObject serializeConfig(const KScreen::ConfigPtr &config); | | |||
45 | } | | |||
46 | } | | |||
47 | | ||||
48 | using namespace KScreen; | 40 | using namespace KScreen; | ||
49 | 41 | | |||
50 | Console::Console(const ConfigPtr &config) | 42 | Console::Console(const ConfigPtr &config) | ||
51 | : QObject() | 43 | : QObject() | ||
52 | , m_config(config) | 44 | , m_config(config) | ||
53 | { | 45 | { | ||
54 | } | 46 | } | ||
55 | 47 | | |||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |