Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtCore/qiodevicebase.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright (C) 2020 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QIODEVICEBASE_H
0005 #define QIODEVICEBASE_H
0006 
0007 #include <QtCore/qglobal.h>
0008 
0009 QT_BEGIN_NAMESPACE
0010 
0011 class QIODeviceBase
0012 {
0013 protected:
0014     ~QIODeviceBase() = default;
0015 public:
0016     enum OpenModeFlag {
0017         NotOpen = 0x0000,
0018         ReadOnly = 0x0001,
0019         WriteOnly = 0x0002,
0020         ReadWrite = ReadOnly | WriteOnly,
0021         Append = 0x0004,
0022         Truncate = 0x0008,
0023         Text = 0x0010,
0024         Unbuffered = 0x0020,
0025         NewOnly = 0x0040,
0026         ExistingOnly = 0x0080
0027     };
0028     Q_DECLARE_FLAGS(OpenMode, OpenModeFlag)
0029 };
0030 
0031 QT_END_NAMESPACE
0032 
0033 #endif // QIODEVICEBASE_H