![]() |
Qt 4.8
|
#include "qeventdispatcher_win_p.h"#include "qcoreapplication.h"#include "qhash.h"#include <private/qsystemlibrary_p.h>#include "qpair.h"#include "qset.h"#include "qsocketnotifier.h"#include "qvarlengtharray.h"#include "qwineventnotifier_p.h"#include "qabstracteventdispatcher_p.h"#include "qcoreapplication_p.h"#include <private/qthread_p.h>#include <winsock.h>#include <qthread.h>#include <qmap.h>#include <qmutex.h>Go to the source code of this file.
Classes | |
| class | QEventDispatcherWin32Private |
| struct | QSockNot |
| class | QZeroTimerEvent |
| struct | WinTimerInfo |
Macros | |
| #define | DWORD_PTR DWORD |
| #define | QS_RAWINPUT 0x0000 |
| #define | TIME_KILL_SYNCHRONOUS 0x0100 |
| #define | WM_GESTURE 0x0119 |
| #define | WM_GESTURENOTIFY 0x011A |
| #define | WM_TOUCH 0x0240 |
Typedefs | |
| typedef MMRESULT(WINAPI * | ptimeKillEvent) (UINT) |
| typedef MMRESULT(WINAPI * | ptimeSetEvent) (UINT, UINT, LPTIMECALLBACK, DWORD_PTR, UINT) |
| typedef QHash< int, QSockNot * > | QSNDict |
| typedef QHash< int, WinTimerInfo * > | WinTimerDict |
| typedef QList< WinTimerInfo * > | WinTimerVec |
Enumerations | |
| enum | { WM_QT_SOCKETNOTIFIER = WM_USER, WM_QT_SENDPOSTEDEVENTS = WM_USER + 1, SendPostedEventsWindowsTimerId = ~1u } |
Functions | |
| static UINT | inputTimerMask () |
| uint | qGlobalPostedEventsCount () |
| static HWND | qt_create_internal_window (const QEventDispatcherWin32 *eventDispatcher) |
| void WINAPI QT_WIN_CALLBACK | qt_fast_timer_proc (uint timerId, uint, DWORD_PTR user, DWORD_PTR, DWORD_PTR) |
| LRESULT QT_WIN_CALLBACK | qt_GetMessageHook (int code, WPARAM wp, LPARAM lp) |
| LRESULT QT_WIN_CALLBACK | qt_internal_proc (HWND hwnd, UINT message, WPARAM wp, LPARAM lp) |
| HINSTANCE | qWinAppInst () |
| static void | resolveTimerAPI () |
| Q_CORE_EXPORT bool | winGetMessage (MSG *msg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax) |
| Q_CORE_EXPORT bool | winPeekMessage (MSG *msg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg) |
| Q_CORE_EXPORT bool | winPostMessage (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| int | WSAAsyncSelect (SOCKET sock, HWND handle, unsigned int msg, long ev) |
Variables | |
| static ptimeKillEvent | qtimeKillEvent = 0 |
| static ptimeSetEvent | qtimeSetEvent = 0 |
| #define DWORD_PTR DWORD |
Definition at line 309 of file qeventdispatcher_win.cpp.
Referenced by QAudioOutputPrivate::freeBlocks(), QAudioInputPrivate::freeBlocks(), and QEventDispatcherWin32Private::registerTimer().
| #define QS_RAWINPUT 0x0000 |
Definition at line 68 of file qeventdispatcher_win.cpp.
Referenced by inputTimerMask().
| #define TIME_KILL_SYNCHRONOUS 0x0100 |
Definition at line 63 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer().
| #define WM_GESTURE 0x0119 |
Definition at line 79 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32::processEvents(), and QtWndProc().
| #define WM_GESTURENOTIFY 0x011A |
Definition at line 82 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32::processEvents().
| #define WM_TOUCH 0x0240 |
Definition at line 75 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32::processEvents().
| typedef MMRESULT(WINAPI * ptimeKillEvent) (UINT) |
Definition at line 313 of file qeventdispatcher_win.cpp.
| typedef MMRESULT(WINAPI * ptimeSetEvent) (UINT, UINT, LPTIMECALLBACK, DWORD_PTR, UINT) |
Definition at line 312 of file qeventdispatcher_win.cpp.
Definition at line 286 of file qeventdispatcher_win.cpp.
| typedef QHash<int, WinTimerInfo*> WinTimerDict |
Definition at line 306 of file qeventdispatcher_win.cpp.
| typedef QList<WinTimerInfo*> WinTimerVec |
Definition at line 305 of file qeventdispatcher_win.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| WM_QT_SOCKETNOTIFIER | |
| WM_QT_SENDPOSTEDEVENTS | |
| SendPostedEventsWindowsTimerId | |
Definition at line 86 of file qeventdispatcher_win.cpp.
|
inlinestatic |
Definition at line 508 of file qeventdispatcher_win.cpp.
Referenced by qt_GetMessageHook().
| uint qGlobalPostedEventsCount | ( | ) |
Definition at line 348 of file qcoreapplication.cpp.
Referenced by QEventDispatcherWin32::hasPendingEvents().
|
static |
Definition at line 565 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32::createInternalHwnd().
| void WINAPI QT_WIN_CALLBACK qt_fast_timer_proc | ( | uint | timerId, |
| uint | , | ||
| DWORD_PTR | user, | ||
| DWORD_PTR | , | ||
| DWORD_PTR | |||
| ) |
Definition at line 421 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer().
| LRESULT QT_WIN_CALLBACK qt_GetMessageHook | ( | int | code, |
| WPARAM | wp, | ||
| LPARAM | lp | ||
| ) |
Definition at line 520 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32::createInternalHwnd().
| LRESULT QT_WIN_CALLBACK qt_internal_proc | ( | HWND | hwnd, |
| UINT | message, | ||
| WPARAM | wp, | ||
| LPARAM | lp | ||
| ) |
Definition at line 430 of file qeventdispatcher_win.cpp.
Referenced by qt_create_internal_window(), and QEventDispatcherWin32Private::~QEventDispatcherWin32Private().
| HINSTANCE qWinAppInst | ( | ) |
Definition at line 58 of file qcoreapplication_win.cpp.
Referenced by qt_create_internal_window(), and QEventDispatcherWin32Private::~QEventDispatcherWin32Private().
|
static |
Definition at line 320 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::QEventDispatcherWin32Private().
| Q_CORE_EXPORT bool winGetMessage | ( | MSG * | msg, |
| HWND | hWnd, | ||
| UINT | wMsgFilterMin, | ||
| UINT | wMsgFilterMax | ||
| ) |
Definition at line 414 of file qeventdispatcher_win.cpp.
| Q_CORE_EXPORT bool winPeekMessage | ( | MSG * | msg, |
| HWND | hWnd, | ||
| UINT | wMsgFilterMin, | ||
| UINT | wMsgFilterMax, | ||
| UINT | wRemoveMsg | ||
| ) |
Definition at line 401 of file qeventdispatcher_win.cpp.
| Q_CORE_EXPORT bool winPostMessage | ( | HWND | hWnd, |
| UINT | msg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
Definition at line 408 of file qeventdispatcher_win.cpp.
| int WSAAsyncSelect | ( | SOCKET | sock, |
| HWND | handle, | ||
| unsigned int | msg, | ||
| long | ev | ||
| ) |
Definition at line 256 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::doWsaAsyncSelect().
|
static |
Definition at line 316 of file qeventdispatcher_win.cpp.
Referenced by resolveTimerAPI(), and QEventDispatcherWin32Private::unregisterTimer().
|
static |
Definition at line 315 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer(), and resolveTimerAPI().