26class QWinEventNotifierPrivate :
public QObjectPrivate
28 Q_DECLARE_PUBLIC(QWinEventNotifier)
30 QWinEventNotifierPrivate() : QWinEventNotifierPrivate(0,
false) {}
31 QWinEventNotifierPrivate(HANDLE h,
bool e);
32 virtual ~QWinEventNotifierPrivate();
34 static void CALLBACK waitCallback(PTP_CALLBACK_INSTANCE instance, PVOID context,
35 PTP_WAIT wait, TP_WAIT_RESULT waitResult);
38 PTP_WAIT waitObject = NULL;
40 enum PostingState { NotPosted = 0, Posted, IgnorePosted };
41 QAtomicInt winEventActPosted;