Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qeventdispatcher_win_p.h"
#include "qcoreapplication.h"
#include <private/qsystemlibrary_p.h>
#include "qoperatingsystemversion.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 53 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer().
#define QS_RAWINPUT 0x0400 |
Definition at line 25 of file qeventdispatcher_win.cpp.
#define TIME_KILL_SYNCHRONOUS 0x0100 |
Definition at line 21 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer().
#define WM_GESTURE 0x0119 |
Definition at line 33 of file qeventdispatcher_win.cpp.
Referenced by isUserInputMessage().
#define WM_GESTURENOTIFY 0x011A |
Definition at line 36 of file qeventdispatcher_win.cpp.
Referenced by isUserInputMessage().
#define WM_TOUCH 0x0240 |
Definition at line 29 of file qeventdispatcher_win.cpp.
Referenced by isInputMessage(), and isUserInputMessage().
anonymous enum |
Enumerator | |
---|---|
WM_QT_SOCKETNOTIFIER | |
WM_QT_SENDPOSTEDEVENTS | |
WM_QT_ACTIVATENOTIFIERS |
Definition at line 40 of file qeventdispatcher_win.cpp.
anonymous enum |
Enumerator | |
---|---|
SendPostedEventsTimerId |
Definition at line 46 of file qeventdispatcher_win.cpp.
|
static |
Definition at line 299 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 442 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 275 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 79 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 88 of file qeventdispatcher_win.cpp.
Referenced by QWindowsMessageWindowClassContext::QWindowsMessageWindowClassContext().
|
static |
Definition at line 58 of file qeventdispatcher_win.cpp.
Referenced by QEventDispatcherWin32Private::registerTimer(), QEventDispatcherWin32::remainingTime(), and QEventDispatcherWin32Private::sendTimerEvent().