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
qiodevicebase.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
QIODEVICEBASE_H
6
#
define
QIODEVICEBASE_H
7
8
#
include
<
QtCore
/
qglobal
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QIODeviceBase
13
{
14
protected
:
15
~QIODeviceBase() =
default
;
16
public
:
17
enum
OpenModeFlag {
18
NotOpen = 0x0000,
19
ReadOnly = 0x0001,
20
WriteOnly = 0x0002,
21
ReadWrite = ReadOnly | WriteOnly,
22
Append = 0x0004,
23
Truncate = 0x0008,
24
Text = 0x0010,
25
Unbuffered = 0x0020,
26
NewOnly = 0x0040,
27
ExistingOnly = 0x0080
28
};
29
Q_DECLARE_FLAGS(OpenMode, OpenModeFlag)
30
};
31
32
QT_END_NAMESPACE
33
34
#
endif
// QIODEVICEBASE_H
qtbase
src
corelib
io
qiodevicebase.h
Generated on
for Qt by
1.14.0