summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qt_x11_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-15 17:46:01 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-16 08:50:25 (GMT)
commitf5c2e6374b9f6c39a2e535f7282c7d7160591ba6 (patch)
tree6a1eb38c59b5901281a69954724aa462e206b390 /src/gui/kernel/qt_x11_p.h
parentb8ff02a67ebd8246253823b53cfed98eef400547 (diff)
downloadQt-f5c2e6374b9f6c39a2e535f7282c7d7160591ba6.zip
Qt-f5c2e6374b9f6c39a2e535f7282c7d7160591ba6.tar.gz
Qt-f5c2e6374b9f6c39a2e535f7282c7d7160591ba6.tar.bz2
Implemented the SAVE_TARGET in QClipboard on X11
Added support for the simpliest SAVE_TARGET mechanizm allowing us to work nicely with clipboard managers, so that when Qt application that owns the clipboard exits we delegate the content to the clipboard manager if there is one. The current implementation doesn't specify which targets to give to the manager, so it will try to fetch as much as possible. Also, right now we do not support the TARGET_SIZES target, meaning that the manager doesn't know how much data it is going to fetch, so it will try to fetch everything even if it can take a lot of time. Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/gui/kernel/qt_x11_p.h')
-rw-r--r--src/gui/kernel/qt_x11_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_x11_p.h b/src/gui/kernel/qt_x11_p.h
index 1b02ed3..61acbac 100644
--- a/src/gui/kernel/qt_x11_p.h
+++ b/src/gui/kernel/qt_x11_p.h
@@ -544,10 +544,12 @@ struct QX11Data
TARGETS,
MULTIPLE,
TIMESTAMP,
+ SAVE_TARGETS,
CLIP_TEMPORARY,
_QT_SELECTION,
_QT_CLIPBOARD_SENTINEL,
_QT_SELECTION_SENTINEL,
+ CLIPBOARD_MANAGER,
RESOURCE_MANAGER,