33 #include <QAbstractItemModel> 278 virtual QAbstractItemModel* GetRepresentation ()
const = 0;
289 Q_DECLARE_INTERFACE (
IJobHolder,
"org.Deviant.LeechCraft.IJobHolder/1.0")
qlonglong Total_
The total amount of items to be processed or downloaded.
virtual ~IJobHolder()
Virtual destructor.
ProcessStateInfo()=default
Default-constructs a process description.
The column with the status of the task, like the download status or the unread items count of an RSS ...
ProcessStateInfo(qlonglong done, qlonglong total, TaskParameters params, State state)
Constructs the description with the given values and state.
Describes the state of a process.
JobHolderRole
This enum contains roles that are used to query job states.
The process is running just fine.
Interface for plugins holding jobs or persistent notifications.
State of a single process represented in a IJobHolder model.
JobHolderRow
Describes the semantics of a row in a job holder model.
TaskParameters Params_
The flags of the task as it was originally added to the downloader, if relevant.
Q_DECLARE_METATYPE(QVariantList *)
The column with the name of the task, like a torrent name or an RSS feed name.
State
Describes the state of the process.
qlonglong Done_
The amount of items already processed or downloaded.
JobHolderColumn
Describes the columns in a job holder model.
enum LeechCraft::ProcessStateInfo::State State_
ProcessStateInfo(qlonglong done, qlonglong total, TaskParameters params)
Constructs the description with the given values.
The column with the progress of the task, like the amount of data downloaded so far or last update...
There was an error completing the process.