FileTaskResult Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- FileTaskResult

# FileTaskResult Class

class QInstaller::FileTaskResult

The FileTaskResult class represents the results of a file task. More...

Header: | #include <FileTaskResult>

- List of all members, including inherited members

## Public Functions

| FileTaskResult()
| FileTaskResult(const QString &t, const QByteArray &c, const QInstaller::FileTaskItem &i, bool checksumMismatch)
QByteArray | checkSum() const
bool | checksumMismatch() const
QString | target() const
QInstaller::FileTaskItem | taskItem() const

## Detailed Description

## Member Function Documentation

### FileTaskResult::FileTaskResult()

Creates file task results.

### FileTaskResult::FileTaskResult(const QString &t, const QByteArray &c, const QInstaller::FileTaskItem &i, bool checksumMismatch)

Creates file task results using the target file specified by t, checksum specified by c, file task item specified by i, and checksum mismatch specified by checksumMismatch.

### QByteArray FileTaskResult::checkSum() const

Returns the checksum of the task result.

### bool FileTaskResult::checksumMismatch() const

Returns `true` if checksum mismatch is detected otherwise returns `false`.

### QString FileTaskResult::target() const

Returns the target file of the task result.

### QInstaller::FileTaskItem FileTaskResult::taskItem() const

Returns file task items.