 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
14 class QAbstractItemModel;
261 virtual QAbstractItemModel* GetRepresentation ()
const = 0;
273 Q_DECLARE_INTERFACE (
IJobHolder,
"org.Deviant.LeechCraft.IJobHolder/1.0")
TaskParameters Params_
The flags of the task as it was originally added to the downloader, if relevant.
@ JobName
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 Total_
The total amount of items to be processed or downloaded.
virtual IJobHolderRepresentationHandler_ptr CreateRepresentationHandler()
std::shared_ptr< IJobHolderRepresentationHandler > IJobHolderRepresentationHandler_ptr
ProcessStateInfo(qlonglong done, qlonglong total, TaskParameters params, State state)
Constructs the description with the given values and state.
ProcessStateInfo()=default
Default-constructs a process description.
@ Running
The process is running just fine.
@ JobProgress
The column with the progress of the task, like the amount of data downloaded so far or last update.
State of a single process represented in a IJobHolder model.
Q_DECLARE_METATYPE(QVariantList *)
@ ProcessState
Describes the state of a process.
@ JobStatus
The column with the status of the task, like the download status or the unread items count of an RSS ...
JobHolderRole
This enum contains roles that are used to query job states.
qlonglong Done_
The amount of items already processed or downloaded.
@ Error
There was an error completing the process.
enum LC::ProcessStateInfo::State State_
JobHolderColumn
Describes the columns in a job holder model.
ProcessStateInfo(qlonglong done, qlonglong total, TaskParameters params)
Constructs the description with the given values.
@ Paused
The process is paused.
Interface for plugins holding jobs or persistent notifications.
JobHolderRow
Describes the semantics of a row in a job holder model.
virtual ~IJobHolder()
Virtual destructor.