diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-05-09 10:09:33 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-09 10:09:33 (GMT) |
commit | eb0c2e7229bb3559e6f8754122b298479407c153 (patch) | |
tree | e0ca95ec11b4d1d8d374d4c46cd9741d4f315753 /src/gui/kernel/qplatformclipboard_qpa.cpp | |
parent | a166615d7a0d346e519aa0e53a1e9776e41a4167 (diff) | |
download | Qt-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.cpp | 7 |
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 |