diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-11 15:39:22 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-11 15:39:22 (GMT) |
commit | b80c3b1b04c35ae1fa6d7119b6f7dac06ee6494b (patch) | |
tree | d70a9d47210b5ae5e65ea71258678347077787f4 /src/gui | |
parent | 86b43e8186055ea232ae94e708d3cd381fa179df (diff) | |
parent | 68f37a29f911fce5bcdd285b1fc1bc6d4868d78e (diff) | |
download | Qt-b80c3b1b04c35ae1fa6d7119b6f7dac06ee6494b.zip Qt-b80c3b1b04c35ae1fa6d7119b6f7dac06ee6494b.tar.gz Qt-b80c3b1b04c35ae1fa6d7119b6f7dac06ee6494b.tar.bz2 |
Merge branch 'staging-master' of scm.dev.nokia.troll.no:qt/qt-lighthouse into master-integration
* 'staging-master' of scm.dev.nokia.troll.no:qt/qt-lighthouse:
Fix GLES2 include path for applications when not using the dash shell
Remove not supported qmake api
Added Wayland selection support.
Added Wayland selection support.
Add the wayland client libraries to rpath if we use rpath
Fix the wayland windowsurface so that we have stencil and depth buffer
Dont do doneCurrent in swapBuffers
Lighthouse: Fix up Xlib
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qclipboard.h | 1 | ||||
-rw-r--r-- | src/gui/kernel/qplatformclipboard_qpa.cpp | 7 | ||||
-rw-r--r-- | src/gui/kernel/qplatformclipboard_qpa.h | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/kernel/qclipboard.h b/src/gui/kernel/qclipboard.h index b55bdc6..019917e 100644 --- a/src/gui/kernel/qclipboard.h +++ b/src/gui/kernel/qclipboard.h @@ -112,6 +112,7 @@ protected: friend class QBaseApplication; friend class QDragManager; friend class QMimeSource; + friend class QPlatformClipboard; private: Q_DISABLE_COPY(QClipboard) 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 diff --git a/src/gui/kernel/qplatformclipboard_qpa.h b/src/gui/kernel/qplatformclipboard_qpa.h index 3381c06..5444a1f 100644 --- a/src/gui/kernel/qplatformclipboard_qpa.h +++ b/src/gui/kernel/qplatformclipboard_qpa.h @@ -62,6 +62,7 @@ public: virtual const QMimeData *mimeData(QClipboard::Mode mode = QClipboard::Clipboard ) const; virtual void setMimeData(QMimeData *data, QClipboard::Mode mode = QClipboard::Clipboard); virtual bool supportsMode(QClipboard::Mode mode) const; + void emitChanged(QClipboard::Mode mode); }; QT_END_NAMESPACE |