![]() |
Qt 6.x
The Qt SDK
|
#include "qeventdispatcher_win_p.h"
#include "qcoreapplication.h"
#include <private/qsystemlibrary_p.h>
#include "qoperatingsystemversion.h"
#include "qpair.h"
#include "qset.h"
#include "qsocketnotifier.h"
#include "qvarlengtharray.h"
#include "qelapsedtimer.h"
#include "qcoreapplication_p.h"
#include <private/qthread_p.h>
#include "moc_qeventdispatcher_win_p.cpp"
Go to the source code of this file.
Classes | |
struct | QWindowsMessageWindowClassContext |
Macros | |
#define | TIME_KILL_SYNCHRONOUS 0x0100 |
#define | QS_RAWINPUT 0x0400 |
#define | WM_TOUCH 0x0240 |
#define | WM_GESTURE 0x0119 |
#define | WM_GESTURENOTIFY 0x011A |
#define | DWORD_PTR DWORD |
Enumerations | |
enum | { WM_QT_SOCKETNOTIFIER = WM_USER , WM_QT_SENDPOSTEDEVENTS = WM_USER + 1 , WM_QT_ACTIVATENOTIFIERS = WM_USER + 2 } |
enum | { SendPostedEventsTimerId = ~1u } |
Functions | |
LRESULT QT_WIN_CALLBACK | qt_internal_proc (HWND hwnd, UINT message, WPARAM wp, LPARAM lp) |
static quint64 | qt_msectime () |
void WINAPI QT_WIN_CALLBACK | qt_fast_timer_proc (uint timerId, uint, DWORD_PTR user, DWORD_PTR, DWORD_PTR) |
static HWND | qt_create_internal_window (const QEventDispatcherWin32 *eventDispatcher) |
static ULONG | calculateNextTimeout (WinTimerInfo *t, quint64 currentTime) |
static bool | isUserInputMessage (UINT message) |
#define DWORD_PTR DWORD |
Definition at line 54 of file qeventdispatcher_win.cpp.
#define QS_RAWINPUT 0x0400 |
Definition at line 26 of file qeventdispatcher_win.cpp.
#define TIME_KILL_SYNCHRONOUS 0x0100 |
Definition at line 22 of file qeventdispatcher_win.cpp.
#define WM_GESTURE 0x0119 |
Definition at line 34 of file qeventdispatcher_win.cpp.
#define WM_GESTURENOTIFY 0x011A |
Definition at line 37 of file qeventdispatcher_win.cpp.
#define WM_TOUCH 0x0240 |
Definition at line 30 of file qeventdispatcher_win.cpp.
anonymous enum |
Enumerator | |
---|---|
WM_QT_SOCKETNOTIFIER | |
WM_QT_SENDPOSTEDEVENTS | |
WM_QT_ACTIVATENOTIFIERS |
Definition at line 41 of file qeventdispatcher_win.cpp.
anonymous enum |
Enumerator | |
---|---|
SendPostedEventsTimerId |
Definition at line 47 of file qeventdispatcher_win.cpp.
|
static |
Definition at line 300 of file qeventdispatcher_win.cpp.
References Qt::CoarseTimer, currentTime(), Qt::PreciseTimer, Q_FALLTHROUGH, and Qt::VeryCoarseTimer.
Referenced by QTimerInfoList::activateTimers(), QEventDispatcherWin32Private::registerTimer(), and QEventDispatcherWin32Private::sendTimerEvent().
|
static |
Definition at line 443 of file qeventdispatcher_win.cpp.
References WM_GESTURE, WM_GESTURENOTIFY, WM_MOUSEHWHEEL, WM_MOUSEWHEEL, and WM_TOUCH.
Referenced by QEventDispatcherWin32::processEvents().
|
static |
Definition at line 276 of file qeventdispatcher_win.cpp.
References qErrnoWarning().
Referenced by QEventDispatcherWin32::QEventDispatcherWin32().
void WINAPI QT_WIN_CALLBACK qt_fast_timer_proc | ( | uint | timerId, |
uint | , | ||
DWORD_PTR | user, | ||
DWORD_PTR | , | ||
DWORD_PTR | |||
) |
Definition at line 80 of file qeventdispatcher_win.cpp.
References QCoreApplication::postEvent(), and Q_ASSERT.
Referenced by QEventDispatcherWin32Private::registerTimer().
LRESULT QT_WIN_CALLBACK qt_internal_proc | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wp, | ||
LPARAM | lp | ||
) |
Definition at line 89 of file qeventdispatcher_win.cpp.
Referenced by QWindowsMessageWindowClassContext::QWindowsMessageWindowClassContext().
|
static |
Definition at line 59 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer(), QEventDispatcherWin32::remainingTime(), and QEventDispatcherWin32Private::sendTimerEvent().