File indexing completed on 2025-07-02 08:44:17
0001
0002
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