Changeset View
Changeset View
Standalone View
Standalone View
backends/xrandr/xrandr.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
45 | explicit XRandR(); | 45 | explicit XRandR(); | ||
46 | virtual ~XRandR(); | 46 | virtual ~XRandR(); | ||
47 | 47 | | |||
48 | QString name() const Q_DECL_OVERRIDE; | 48 | QString name() const Q_DECL_OVERRIDE; | ||
49 | QString serviceName() const Q_DECL_OVERRIDE; | 49 | QString serviceName() const Q_DECL_OVERRIDE; | ||
50 | KScreen::ConfigPtr config() const Q_DECL_OVERRIDE; | 50 | KScreen::ConfigPtr config() const Q_DECL_OVERRIDE; | ||
51 | void setConfig(const KScreen::ConfigPtr &config) Q_DECL_OVERRIDE; | 51 | void setConfig(const KScreen::ConfigPtr &config) Q_DECL_OVERRIDE; | ||
52 | bool isValid() const Q_DECL_OVERRIDE; | 52 | bool isValid() const Q_DECL_OVERRIDE; | ||
53 | QByteArray edid(int outputId) const Q_DECL_OVERRIDE; | 53 | KScreen::EdidPtr edid(int outputId) const Q_DECL_OVERRIDE; | ||
54 | 54 | | |||
55 | static quint8 *outputEdid(xcb_randr_output_t outputId, size_t &len); | 55 | static quint8 *outputEdid(xcb_randr_output_t outputId, size_t &len); | ||
56 | static xcb_randr_get_screen_resources_reply_t* screenResources(); | 56 | static xcb_randr_get_screen_resources_reply_t* screenResources(); | ||
57 | static xcb_screen_t* screen(); | 57 | static xcb_screen_t* screen(); | ||
58 | static xcb_window_t rootWindow(); | 58 | static xcb_window_t rootWindow(); | ||
59 | 59 | | |||
60 | private Q_SLOTS: | 60 | private Q_SLOTS: | ||
61 | void outputChanged(xcb_randr_output_t output, | 61 | void outputChanged(xcb_randr_output_t output, | ||
Show All 33 Lines |