summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformclipboard_qpa.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-05-09 10:09:33 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-05-09 10:09:33 (GMT)
commiteb0c2e7229bb3559e6f8754122b298479407c153 (patch)
treee0ca95ec11b4d1d8d374d4c46cd9741d4f315753 /src/gui/kernel/qplatformclipboard_qpa.cpp
parenta166615d7a0d346e519aa0e53a1e9776e41a4167 (diff)
downloadQt-eb0c2e7229bb3559e6f8754122b298479407c153.zip
Qt-eb0c2e7229bb3559e6f8754122b298479407c153.tar.gz
Qt-eb0c2e7229bb3559e6f8754122b298479407c153.tar.bz2
Added Wayland selection support.
Diffstat (limited to 'src/gui/kernel/qplatformclipboard_qpa.cpp')
-rw-r--r--src/gui/kernel/qplatformclipboard_qpa.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformclipboard_qpa.cpp b/src/gui/kernel/qplatformclipboard_qpa.cpp
index 957a4df..33d2afc 100644
--- a/src/gui/kernel/qplatformclipboard_qpa.cpp
+++ b/src/gui/kernel/qplatformclipboard_qpa.cpp
@@ -42,6 +42,8 @@
#ifndef QT_NO_CLIPBOARD
+#include <QtGui/private/qapplication_p.h>
+
QT_BEGIN_NAMESPACE
class QClipboardData
@@ -100,6 +102,11 @@ bool QPlatformClipboard::supportsMode(QClipboard::Mode mode) const
return mode == QClipboard::Clipboard;
}
+void QPlatformClipboard::emitChanged(QClipboard::Mode mode)
+{
+ QApplication::clipboard()->emitChanged(mode);
+}
+
QT_END_NAMESPACE
#endif //QT_NO_CLIPBOARD