summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsguieventdispatcher.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-23 16:56:11 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-23 19:57:07 +0200
commitbcb5e564ff302517156d881e57577f77bdc30f6e (patch)
tree6e02f8c513eb044bb1a4e449e762e3c8020688d6 /src/plugins/platforms/windows/qwindowsguieventdispatcher.h
parent0026b80cd2a484ad9d685ff5a4f89e6c9815f913 (diff)
WindowSystemInterface::sendWindowSystemEvents(): Remove unused parameter.
No need to pass the dispatcher. Get rid of Windows logic to maintain a stack of dispatcher associated with flags. Change-Id: Ic2daad4b6762a46fac3274937effc188af436c9a Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsguieventdispatcher.h')
-rw-r--r--src/plugins/platforms/windows/qwindowsguieventdispatcher.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/platforms/windows/qwindowsguieventdispatcher.h b/src/plugins/platforms/windows/qwindowsguieventdispatcher.h
index 49c5d8b490..563e613a0e 100644
--- a/src/plugins/platforms/windows/qwindowsguieventdispatcher.h
+++ b/src/plugins/platforms/windows/qwindowsguieventdispatcher.h
@@ -46,6 +46,7 @@
#include "qtwindows_additional.h"
#include <QtCore/QPair>
+#include <QtCore/QEventLoop>
#include <QtCore/private/qeventdispatcher_win_p.h>
QT_BEGIN_NAMESPACE
@@ -55,16 +56,14 @@ class QWindowsGuiEventDispatcher : public QEventDispatcherWin32
Q_OBJECT
public:
explicit QWindowsGuiEventDispatcher(QObject *parent = 0);
- ~QWindowsGuiEventDispatcher();
-
- typedef QPair<QAbstractEventDispatcher *, QEventLoop::ProcessEventsFlags> DispatchContext;
-
- static DispatchContext currentDispatchContext();
static const char *windowsMessageName(UINT msg);
virtual bool QT_ENSURE_STACK_ALIGNED_FOR_SSE processEvents(QEventLoop::ProcessEventsFlags flags);
virtual void sendPostedEvents();
+
+private:
+ QEventLoop::ProcessEventsFlags m_flags;
};
QT_END_NAMESPACE