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