Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qautoresetevent_kqueue_p.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
4
//
5
// W A R N I N G
6
// -------------
7
//
8
// This file is not part of the Qt API. It exists purely as an
9
// implementation detail. This header file may change from version to
10
// version without notice, or even be removed.
11
//
12
// We mean it.
13
//
14
15
#
ifndef
QAUTORESETEVENT_KQUEUE_P_H
16
#
define
QAUTORESETEVENT_KQUEUE_P_H
17
18
#
include
<
QtCore
/
qsocketnotifier
.
h
>
19
#
include
<
QtMultimedia
/
qtmultimediaexports
.
h
>
20
21
#
include
<
sys
/
event
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
namespace
QtPrivate
{
26
27
class
Q_MULTIMEDIA_EXPORT QAutoResetEventKQueue
final
:
public
QObject
28
{
29
Q_OBJECT
30
31
public
:
32
explicit
QAutoResetEventKQueue
(
QObject
*
parent
=
nullptr
);
33
34
~
QAutoResetEventKQueue
();
35
36
bool
isValid
()
const
;
37
void
set
();
38
39
Q_SIGNALS
:
40
void
activated
();
41
42
private
:
43
QSocketNotifier
m_notifier
;
44
int
m_kqueue
= -1;
45
struct
kevent
m_event
;
46
};
47
48
}
// namespace QtPrivate
49
50
QT_END_NAMESPACE
51
52
#
endif
// QAUTORESETEVENT_KQUEUE_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QtPrivate
Definition
qcompare.h:25
qtmultimedia
src
multimedia
audio
qautoresetevent_kqueue_p.h
Generated on Mon Mar 10 2025 00:50:43 for Qt by
1.13.2