File indexing completed on 2026-09-21 09:21:24
0001
0002
0003
0004
0005 #ifndef QIODEVICEBASE_H
0006 #define QIODEVICEBASE_H
0007
0008 #include <QtCore/qglobal.h>
0009
0010 QT_BEGIN_NAMESPACE
0011
0012 class QIODeviceBase
0013 {
0014 protected:
0015 ~QIODeviceBase() = default;
0016 public:
0017 enum OpenModeFlag {
0018 NotOpen = 0x0000,
0019 ReadOnly = 0x0001,
0020 WriteOnly = 0x0002,
0021 ReadWrite = ReadOnly | WriteOnly,
0022 Append = 0x0004,
0023 Truncate = 0x0008,
0024 Text = 0x0010,
0025 Unbuffered = 0x0020,
0026 NewOnly = 0x0040,
0027 ExistingOnly = 0x0080
0028 };
0029 Q_DECLARE_FLAGS(OpenMode, OpenModeFlag)
0030 };
0031
0032 QT_END_NAMESPACE
0033
0034 #endif