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>.
Loading...
Searching...
No Matches
QEventDispatcherWin32Private Class Reference

#include <qeventdispatcher_win_p.h>

+ Inheritance diagram for QEventDispatcherWin32Private:
+ Collaboration diagram for QEventDispatcherWin32Private:

Public Member Functions

 QEventDispatcherWin32Private ()
 
 ~QEventDispatcherWin32Private ()
 
void startPostedEventsTimer ()
 
void registerTimer (WinTimerInfo *t)
 
void unregisterTimer (WinTimerInfo *t)
 
void sendTimerEvent (int timerId)
 
void postActivateSocketNotifiers ()
 
void doWsaAsyncSelect (qintptr socket, long event)
 
- Public Member Functions inherited from QAbstractEventDispatcherPrivate
 QAbstractEventDispatcherPrivate ()
 
 ~QAbstractEventDispatcherPrivate () override
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QAtomicInt interrupt
 
HWND internalHwnd
 
UINT_PTR sendPostedEventsTimerId
 
QAtomicInt wakeUps
 
WinTimerDict timerDict
 
QSNDict sn_read
 
QSNDict sn_write
 
QSNDict sn_except
 
QSFDict active_fd
 
bool activateNotifiersPosted
 
bool closingDown = false
 
QList< MSGqueuedUserInputEvents
 
QList< MSGqueuedSocketEvents
 
- Public Attributes inherited from QAbstractEventDispatcherPrivate
QList< QAbstractNativeEventFilter * > eventFilters
 
bool isV2 = false
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 
- Static Public Member Functions inherited from QAbstractEventDispatcherPrivate
static int allocateTimerId ()
 
static void releaseTimerId (int id)
 
static void releaseTimerId (Qt::TimerId id)
 
static QAbstractEventDispatcherPrivateget (QAbstractEventDispatcher *o)
 
static const QAbstractEventDispatcherPrivateget (const QAbstractEventDispatcher *o)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Detailed Description

Definition at line 108 of file qeventdispatcher_win_p.h.

Constructor & Destructor Documentation

◆ QEventDispatcherWin32Private()

QEventDispatcherWin32Private::QEventDispatcherWin32Private ( )

Definition at line 65 of file qeventdispatcher_win.cpp.

◆ ~QEventDispatcherWin32Private()

QEventDispatcherWin32Private::~QEventDispatcherWin32Private ( )

Definition at line 72 of file qeventdispatcher_win.cpp.

References internalHwnd.

Member Function Documentation

◆ doWsaAsyncSelect()

void QEventDispatcherWin32Private::doWsaAsyncSelect ( qintptr socket,
long event )

Definition at line 411 of file qeventdispatcher_win.cpp.

References internalHwnd, Q_ASSERT, socket, and WM_QT_SOCKETNOTIFIER.

◆ postActivateSocketNotifiers()

void QEventDispatcherWin32Private::postActivateSocketNotifiers ( )

◆ registerTimer()

void QEventDispatcherWin32Private::registerTimer ( WinTimerInfo * t)

Definition at line 342 of file qeventdispatcher_win.cpp.

References calculateNextTimeout(), DWORD_PTR, internalHwnd, ok, QCoreApplication::postEvent(), Q_ASSERT, qErrnoWarning(), qt_fast_timer_proc(), qt_msectime(), and TIME_KILL_SYNCHRONOUS.

+ Here is the call graph for this function:

◆ sendTimerEvent()

void QEventDispatcherWin32Private::sendTimerEvent ( int timerId)

Definition at line 389 of file qeventdispatcher_win.cpp.

References calculateNextTimeout(), WinTimerInfo::inTimerEvent, qt_msectime(), QCoreApplication::sendEvent(), timerDict, and QHash< Key, T >::value().

+ Here is the call graph for this function:

◆ startPostedEventsTimer()

void QEventDispatcherWin32Private::startPostedEventsTimer ( )

Definition at line 214 of file qeventdispatcher_win.cpp.

References internalHwnd, SendPostedEventsTimerId, sendPostedEventsTimerId, QBasicAtomicInteger< T >::storeRelaxed(), and wakeUps.

+ Here is the call graph for this function:

◆ unregisterTimer()

void QEventDispatcherWin32Private::unregisterTimer ( WinTimerInfo * t)

Definition at line 374 of file qeventdispatcher_win.cpp.

References internalHwnd.

Member Data Documentation

◆ activateNotifiersPosted

bool QEventDispatcherWin32Private::activateNotifiersPosted

Definition at line 136 of file qeventdispatcher_win_p.h.

Referenced by postActivateSocketNotifiers().

◆ active_fd

QSFDict QEventDispatcherWin32Private::active_fd

Definition at line 135 of file qeventdispatcher_win_p.h.

◆ closingDown

bool QEventDispatcherWin32Private::closingDown = false

Definition at line 140 of file qeventdispatcher_win_p.h.

◆ internalHwnd

HWND QEventDispatcherWin32Private::internalHwnd

◆ interrupt

QAtomicInt QEventDispatcherWin32Private::interrupt

Definition at line 115 of file qeventdispatcher_win_p.h.

◆ queuedSocketEvents

QList<MSG> QEventDispatcherWin32Private::queuedSocketEvents

Definition at line 143 of file qeventdispatcher_win_p.h.

◆ queuedUserInputEvents

QList<MSG> QEventDispatcherWin32Private::queuedUserInputEvents

Definition at line 142 of file qeventdispatcher_win_p.h.

◆ sendPostedEventsTimerId

UINT_PTR QEventDispatcherWin32Private::sendPostedEventsTimerId

Definition at line 121 of file qeventdispatcher_win_p.h.

Referenced by startPostedEventsTimer().

◆ sn_except

QSNDict QEventDispatcherWin32Private::sn_except

Definition at line 134 of file qeventdispatcher_win_p.h.

◆ sn_read

QSNDict QEventDispatcherWin32Private::sn_read

Definition at line 132 of file qeventdispatcher_win_p.h.

◆ sn_write

QSNDict QEventDispatcherWin32Private::sn_write

Definition at line 133 of file qeventdispatcher_win_p.h.

◆ timerDict

WinTimerDict QEventDispatcherWin32Private::timerDict

Definition at line 126 of file qeventdispatcher_win_p.h.

Referenced by sendTimerEvent().

◆ wakeUps

QAtomicInt QEventDispatcherWin32Private::wakeUps

Definition at line 122 of file qeventdispatcher_win_p.h.

Referenced by startPostedEventsTimer().


The documentation for this class was generated from the following files: