7#include <QtCore/qiodevice.h>
8#include <QtCore/qstring.h>
15#if !defined(QT_USE_NODISCARD_FILE_OPEN) && !defined(QT_NO_USE_NODISCARD_FILE_OPEN)
16# if QT_VERSION < QT_VERSION_CHECK(6, 10, 0)
17# define QT_NO_USE_NODISCARD_FILE_OPEN
19# define QT_USE_NODISCARD_FILE_OPEN
23#if defined(QT_USE_NODISCARD_FILE_OPEN) && defined(QT_NO_USE_NODISCARD_FILE_OPEN)
24#error "Inconsistent macro definition for nodiscard QFile::open"
25#elif defined(QT_USE_NODISCARD_FILE_OPEN)
26#define QFILE_MAYBE_NODISCARD [[nodiscard]]
28#define QFILE_MAYBE_NODISCARD
53 PermissionsError = 13,
65 ReadOwner = 0x4000, WriteOwner = 0x2000, ExeOwner = 0x1000,
66 ReadUser = 0x0400, WriteUser = 0x0200, ExeUser = 0x0100,
67 ReadGroup = 0x0040, WriteGroup = 0x0020, ExeGroup = 0x0010,
68 ReadOther = 0x0004, WriteOther = 0x0002, ExeOther = 0x0001
73 AutoCloseHandle = 0x0001,
80 FileError
error()
const;
83 void close()
override;
85 bool isSequential()
const override;
92 bool atEnd()
const override;
98 virtual Permissions permissions()
const;
99 virtual bool setPermissions(Permissions permissionSpec);
103 MapPrivateOption = 0x0001
\inmodule QtCore\reentrant
Permission
This enum is used by the permission() function to report the permissions and ownership of a file.
FileHandleFlag
This enum is used when opening a file to specify additional options which only apply to files and not...
FileError
This enum describes the errors that may be returned by the error() function.
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLuint64 GLenum void * handle
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLuint GLintptr offset
GLuint GLuint64EXT address
void writeData(const QByteArray &data)