Extending Qt Creator Manual | FileSaverBase

Extending Qt Creator Manual 4.6.1

# FileSaverBase Class

(Utils::FileSaverBase)

- List of all members, including inherited members

## Public Functions

| FileSaverBase()
virtual | ~FileSaverBase()
QString | errorString() const
QFile * | file()
QString | fileName() const
virtual bool | finalize()
bool | finalize(QString *errStr)
bool | finalize(QWidget *parent)
bool | hasError() const
bool | setResult(QTextStream *stream)
bool | setResult(QDataStream *stream)
bool | setResult(QXmlStreamWriter *stream)
bool | setResult(bool ok)
bool | write(const char *data, int len)
bool | write(const QByteArray &bytes)

## Member Function Documentation

### FileSaverBase::FileSaverBase()

Default constructs an instance of FileSaverBase.

### `[virtual]` FileSaverBase::~FileSaverBase()

Destroys the instance of FileSaverBase. The destructor is virtual.

### QString FileSaverBase::errorString() const

### QFile *FileSaverBase::file()

### QString FileSaverBase::fileName() const

### `[virtual]` bool FileSaverBase::finalize()

### bool FileSaverBase::finalize(QString *errStr)

### bool FileSaverBase::finalize(QWidget *parent)

### bool FileSaverBase::hasError() const

### bool FileSaverBase::setResult(QTextStream *stream)

### bool FileSaverBase::setResult(QDataStream *stream)

### bool FileSaverBase::setResult(QXmlStreamWriter *stream)

### bool FileSaverBase::setResult(bool ok)

### bool FileSaverBase::write(const char *data, int len)

### bool FileSaverBase::write(const QByteArray &bytes)