Changeset View
Changeset View
Standalone View
Standalone View
backends/kwayland/waylandoutput.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 64 | Q_SIGNALS: | |||
---|---|---|---|---|---|
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 | 74 | | |||
75 | quint32 m_id; | 75 | quint32 m_id; | ||
76 | KWayland::Client::OutputDevice *m_output; | 76 | KWayland::Client::OutputDevice *m_device; | ||
77 | KWayland::Client::Registry *m_registry; | 77 | KWayland::Client::Registry *m_registry; | ||
78 | 78 | | |||
79 | // left-hand-side: KScreen::Mode, right-hand-side: KWayland's mode.id | 79 | // left-hand-side: KScreen::Mode, right-hand-side: KWayland's mode.id | ||
80 | QMap<QString, int> m_modeIdMap; | 80 | QMap<QString, int> m_modeIdMap; | ||
81 | }; | 81 | }; | ||
82 | 82 | | |||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | KSCREEN_EXPORT QDebug operator<<(QDebug dbg, const KScreen::WaylandOutput *output); | 85 | KSCREEN_EXPORT QDebug operator<<(QDebug dbg, const KScreen::WaylandOutput *output); |