diff options
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbconnection.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index 86eaf5d7d9..9fbeb9f5f6 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -310,8 +310,12 @@ public: QXcbKeyboard *keyboard() const { return m_keyboard; } +#ifndef QT_NO_CLIPBOARD QXcbClipboard *clipboard() const { return m_clipboard; } +#endif +#ifndef QT_NO_DRAGANDDROP QXcbDrag *drag() const { return m_drag; } +#endif QXcbWMSupport *wmSupport() const { return m_wmSupport.data(); } @@ -393,8 +397,12 @@ private: xcb_window_t m_connectionEventListener; QXcbKeyboard *m_keyboard; +#ifndef QT_NO_CLIPBOARD QXcbClipboard *m_clipboard; +#endif +#ifndef QT_NO_DRAGANDDROP QXcbDrag *m_drag; +#endif QScopedPointer<QXcbWMSupport> m_wmSupport; QXcbNativeInterface *m_nativeInterface; |