AbstractFileTask Class

class QInstaller::AbstractFileTask

The AbstractFileTask class is the base class of file related tasks. More...

Header: #include <AbstractFileTask>
Inherits: QObject

Public Functions

AbstractFileTask(const QString &source)
AbstractFileTask(const QInstaller::FileTaskItem &item)
AbstractFileTask(const QString &source, const QString &target)
virtual ~AbstractFileTask()
void setTaskItem(const QInstaller::FileTaskItem &item)
QList<QInstaller::FileTaskItem> taskItems() const

Detailed Description

The class is not usable as a standalone class but provides common functionality when subclassed.

Member Function Documentation


Constructs an empty abstract file task object.

[explicit] AbstractFileTask::AbstractFileTask(const QString &source)

Constructs a new abstract file task object with source.

[explicit] AbstractFileTask::AbstractFileTask(const QInstaller::FileTaskItem &item)

Constructs a new abstract file task object with item.

AbstractFileTask::AbstractFileTask(const QString &source, const QString &target)

Constructs a new abstract file task object with source and target.

[virtual noexcept] AbstractFileTask::~AbstractFileTask()

Destroys the abstract file task object.

void AbstractFileTask::setTaskItem(const QInstaller::FileTaskItem &item)

Sets a file task item this task is working on.

QList<QInstaller::FileTaskItem> AbstractFileTask::taskItems() const

Returns a list of file task items this task is working on.

© 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.