4#ifndef QTEMPORARYFILE_H
5#define QTEMPORARYFILE_H
7#include <QtCore/qiodevice.h>
8#include <QtCore/qfile.h>
11#error qtemporaryfile.h must be included before any header file that defines open
17#ifndef QT_NO_TEMPORARYFILE
38 bool autoRemove()
const;
39 void setAutoRemove(
bool b);
bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
QString fileName() const override
Returns the name set by setFileName() or to the QFile constructors.
bool rename(const QString &newName)
Renames the file currently specified by fileName() to newName.
friend class QTemporaryFile
\macro QT_RESTRICTED_CAST_FROM_ASCII
\inmodule QtCore \reentrant
static QTemporaryFile * createNativeFile(const QString &fileName)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool open()
A QTemporaryFile will always be opened in QIODevice::ReadWrite mode, this allows easy access to the d...
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent