18#include "private/qiodevice_p.h"
23# include <sys/types.h>
25#elif defined(Q_OS_WINDOWS)
29# if defined(QT_BOOTSTRAPPED)
30# define QT_FEATURE_fslibs -1
32# define QT_FEATURE_fslibs 1
82constexpr mode_t toMode_t(QFileDevice::Permissions permissions)
107#elif defined(Q_OS_WINDOWS)
114 SECURITY_ATTRIBUTES *securityAttributes();
115 bool isOk()
const {
return ok; }
122 static constexpr auto MaxNumACEs = 5;
124 static constexpr auto MaxACLSize =
125 sizeof(ACL) + (
sizeof(ACCESS_ALLOWED_ACE) + SECURITY_MAX_SID_SIZE) * MaxNumACEs;
127 SECURITY_ATTRIBUTES sa;
129 SECURITY_DESCRIPTOR sd;
130 alignas(DWORD)
char aclStorage[MaxACLSize];
\inmodule QtCore \reentrant
bool putCharHelper(char c) override
std::unique_ptr< QAbstractFileEngine > fileEngine
bool ensureFlushed() const
virtual QAbstractFileEngine * engine() const
void setError(QFileDevice::FileError err)
QFileDevice::FileHandleFlags handleFlags
QFileDevice::FileError error
bool flush()
Flushes any buffered data to the file.
FileError
This enum describes the errors that may be returned by the error() function.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.