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
qpoll_p.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
4
#
ifndef
QPOLL_P_H
5
#
define
QPOLL_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists for the convenience
12
// of Qt code on Unix. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
19
20
QT_BEGIN_NAMESPACE
21
22
#
ifdef
QT_NO_NATIVE_POLL
23
24
#
include
<
unistd
.
h
>
25
#
include
<
time
.
h
>
26
27
struct
pollfd
{
28
int
fd
;
29
short
events
,
revents
;
30
};
31
32
typedef
unsigned
long
int
nfds_t
;
33
34
#
define
POLLIN
0x001
35
#
define
POLLPRI
0x002
36
#
define
POLLOUT
0x004
37
#
define
POLLERR
0x008
38
#
define
POLLHUP
0x010
39
#
define
POLLNVAL
0x020
40
#
define
POLLRDNORM
0x040
41
#
define
POLLRDBAND
0x080
42
#
define
POLLWRNORM
0x100
43
#
define
POLLWRBAND
0x200
44
45
#
endif
// QT_NO_NATIVE_POLL
46
47
QT_END_NAMESPACE
48
49
#
endif
// QPOLL_P_H
QSqlRelationalDelegate
\inmodule QtSql
qtbase
src
corelib
kernel
qpoll_p.h
Generated on
for Qt by
1.14.0