Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwineventnotifier_p.h
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWINEVENTNOTIFIER_P_H
6
#
define
QWINEVENTNOTIFIER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"qwineventnotifier.h"
20
21
#
include
<
private
/
qobject_p
.
h
>
22
#
include
<
QtCore
/
qatomic
.
h
>
23
#
include
<
QtCore
/
qt_windows
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
QWinEventNotifierPrivate :
public
QObjectPrivate
28
{
29
Q_DECLARE_PUBLIC(QWinEventNotifier)
30
public
:
31
QWinEventNotifierPrivate() : QWinEventNotifierPrivate(0,
false
) {}
32
QWinEventNotifierPrivate(HANDLE h,
bool
e);
33
virtual
~QWinEventNotifierPrivate();
34
35
static
void
CALLBACK waitCallback(PTP_CALLBACK_INSTANCE instance, PVOID context,
36
PTP_WAIT wait, TP_WAIT_RESULT waitResult);
37
38
HANDLE handleToEvent;
39
PTP_WAIT waitObject = NULL;
40
41
enum
PostingState { NotPosted = 0, Posted, IgnorePosted };
42
QAtomicInt winEventActPosted;
43
bool
enabled;
44
bool
registered;
45
};
46
47
QT_END_NAMESPACE
48
49
#
endif
// QWINEVENTNOTIFIER_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
corelib
kernel
qwineventnotifier_p.h
Generated on
for Qt by
1.18.0