diff options
author | Gatis Paeglis <gatis.paeglis@digia.com> | 2013-09-09 14:20:50 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 12:56:56 +0200 |
commit | bc6f5b3ff61f4b1dea14084349702f2895feda66 (patch) | |
tree | 38b7549734c5fe3f7030a0e81bc0e3c9a3143ad9 /src/plugins/platforms/xcb/qxcbclipboard.h | |
parent | fdd843d5a76f2bba5c4ebdd5813c97f5105c5765 (diff) |
Implement INCR property mechanism for large data transfers [XCB]
Implement INCR property mechanism according to the icccm specification.
Change-Id: Ic8f85b71cab825d70ee1b61f29acd09fa4c3e642
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbclipboard.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbclipboard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbclipboard.h b/src/plugins/platforms/xcb/qxcbclipboard.h index 61cdce3d1d..c94762d80f 100644 --- a/src/plugins/platforms/xcb/qxcbclipboard.h +++ b/src/plugins/platforms/xcb/qxcbclipboard.h @@ -83,6 +83,10 @@ public: QByteArray getDataInFormat(xcb_atom_t modeAtom, xcb_atom_t fmtatom); + void setProcessIncr(bool process) { m_incr_active = process; } + bool processIncr() { return m_incr_active; } + void incrTransactionPeeker(xcb_generic_event_t *ge, bool &accepted); + xcb_window_t getSelectionOwner(xcb_atom_t atom) const; QByteArray getSelection(xcb_atom_t selection, xcb_atom_t target, xcb_atom_t property, xcb_timestamp_t t = 0); @@ -107,6 +111,8 @@ private: static const int clipboard_timeout; + bool m_incr_active; + bool m_clipboard_closing; }; #endif // QT_NO_CLIPBOARD |