FileTaskResult Class

class QInstaller::FileTaskResult

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

Header: #include <FileTaskResult>

Public Functions

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


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.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.