Changeset View
Changeset View
Standalone View
Standalone View
backends/kwayland/waylandoutput.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 64 | Q_SIGNALS: | |||
---|---|---|---|---|---|
66 | 66 | | |||
67 | void complete(); | 67 | void complete(); | ||
68 | // only emitted after complete signal | 68 | // only emitted after complete signal | ||
69 | void changed(); | 69 | void changed(); | ||
70 | 70 | | |||
71 | private: | 71 | private: | ||
72 | void showOutput(); | 72 | void showOutput(); | ||
73 | QString modeName(const KWayland::Client::OutputDevice::Mode &m) const; | 73 | QString modeName(const KWayland::Client::OutputDevice::Mode &m) const; | ||
74 | int getReplicationSource() const; | ||||
74 | 75 | | |||
75 | quint32 m_id; | 76 | quint32 m_id; | ||
76 | KWayland::Client::OutputDevice *m_device; | 77 | KWayland::Client::OutputDevice *m_device; | ||
77 | KWayland::Client::Registry *m_registry; | 78 | KWayland::Client::Registry *m_registry; | ||
79 | WaylandConfig *m_config; | ||||
78 | 80 | | |||
79 | // left-hand-side: KScreen::Mode, right-hand-side: KWayland's mode.id | 81 | // left-hand-side: KScreen::Mode, right-hand-side: KWayland's mode.id | ||
80 | QMap<QString, int> m_modeIdMap; | 82 | QMap<QString, int> m_modeIdMap; | ||
81 | }; | 83 | }; | ||
82 | 84 | | |||
83 | } | 85 | } | ||
84 | 86 | | |||
85 | KSCREEN_EXPORT QDebug operator<<(QDebug dbg, const KScreen::WaylandOutput *output); | 87 | KSCREEN_EXPORT QDebug operator<<(QDebug dbg, const KScreen::WaylandOutput *output); |