Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QIODEVICEBASE_H
5#define QIODEVICEBASE_H
6
7#include <QtCore/qglobal.h>
8
10
12{
13protected:
14 ~QIODeviceBase() = default;
15public:
17 NotOpen = 0x0000,
18 ReadOnly = 0x0001,
19 WriteOnly = 0x0002,
21 Append = 0x0004,
22 Truncate = 0x0008,
23 Text = 0x0010,
24 Unbuffered = 0x0020,
25 NewOnly = 0x0040,
26 ExistingOnly = 0x0080
27 };
29};
30
32
33#endif // QIODEVICEBASE_H
\inheaderfile QIODevice \inmodule QtCore
~QIODeviceBase()=default
OpenModeFlag
This enum is used with QIODevice::open() to describe the mode in which a device is opened.
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
Definition qflags.h:174