7#include <QtCore/qglobal.h>
9#if QT_CONFIG(temporaryfile)
11#include <QtCore/qfiledevice.h>
12#include <QtCore/qstring.h>
15#error qsavefile.h must be included before any header file that defines open
21class QSaveFilePrivate;
28 Q_DECLARE_PRIVATE(QSaveFile)
34 explicit QSaveFile(
QObject *parent =
nullptr);
47 void setDirectWriteFallback(
bool enabled);
48 bool directWriteFallback()
const;
54 void close()
override;
55#if !QT_CONFIG(translation)
60 Q_DISABLE_COPY(QSaveFile)
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromLatin1(QByteArrayView ba)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Combined button and popup list for selecting options.
#define QFILE_MAYBE_NODISCARD
GLint GLint GLint GLint GLsizei GLsizei GLsizei GLboolean commit
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLenum GLsizei const GLuint GLboolean enabled
file setFileName("readme.txt")
file open(QIODevice::ReadOnly)
void writeData(const QByteArray &data)