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.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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_H
6
#
define
QWINEVENTNOTIFIER_H
7
8
#
include
<
QtCore
/
qobject
.
h
>
9
10
#
if
defined
(
Q_OS_WIN
)
||
defined
(
Q_QDOC
)
11
12
QT_BEGIN_NAMESPACE
13
14
class
QWinEventNotifierPrivate;
15
class
Q_CORE_EXPORT QWinEventNotifier :
public
QObject
16
{
17
Q_OBJECT
18
Q_DECLARE_PRIVATE(QWinEventNotifier)
19
typedef
Qt::HANDLE HANDLE;
20
21
public
:
22
explicit
QWinEventNotifier(QObject *parent =
nullptr
);
23
explicit
QWinEventNotifier(HANDLE hEvent, QObject *parent =
nullptr
);
24
~QWinEventNotifier();
25
26
void
setHandle(HANDLE hEvent);
27
HANDLE handle()
const
;
28
29
bool
isEnabled()
const
;
30
31
public
Q_SLOTS:
32
void
setEnabled(
bool
enable);
33
34
Q_SIGNALS:
35
void
activated(HANDLE hEvent, QPrivateSignal);
36
37
protected
:
38
bool
event(QEvent *e) override;
39
};
40
41
QT_END_NAMESPACE
42
43
#
endif
// Q_OS_WIN
44
45
#
endif
// QWINEVENTNOTIFIER_H
QWindowsPipeReader
\inmodule QtCore
Definition
qwindowspipereader_p.h:29
QWindowsPipeWriter
Definition
qwindowspipewriter_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
KillProcessExitCode
QT_BEGIN_NAMESPACE constexpr UINT KillProcessExitCode
Definition
qprocess_win.cpp:32
qtbase
src
corelib
kernel
qwineventnotifier.h
Generated on
for Qt by
1.18.0