QtCore/qtemporaryfile.h Source File
Go to the documentation of this file.
42 #ifndef QTEMPORARYFILE_H
43 #define QTEMPORARYFILE_H
49 #error qtemporaryfile.h must be included before any header file that defines open
58 #ifndef QT_NO_TEMPORARYFILE
60 class QTemporaryFilePrivate;
78 bool autoRemove()
const;
79 void setAutoRemove(
bool b);
89 {
QFile file(fileName);
return createLocalFile(file); }
95 bool open(OpenMode flags);
102 #endif // QT_NO_TEMPORARYFILE
108 #endif // QTEMPORARYFILE_H
virtual QAbstractFileEngine * fileEngine() const
static QTemporaryFile * createLocalFile(const QString &fileName)
#define QT_BEGIN_NAMESPACE
bool open(OpenMode flags)
GLuint const GLchar * name