mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[libcalamares] Document the pretty*() functions for Jobs
This commit is contained in:
parent
6d29c19e3e
commit
3025c5383b
1 changed files with 13 additions and 1 deletions
|
@ -105,8 +105,20 @@ public:
|
|||
* how much work is (relatively) done.
|
||||
*/
|
||||
virtual qreal getJobWeight() const;
|
||||
/** @brief The human-readable name of this job
|
||||
*
|
||||
* This should be a very short statement of what the job does.
|
||||
* For status and state information, see prettyStatusMessage().
|
||||
*/
|
||||
virtual QString prettyName() const = 0;
|
||||
// TODO: Unused
|
||||
virtual QString prettyDescription() const;
|
||||
/** @brief A human-readable status for progress reporting
|
||||
*
|
||||
* This is called from the JobQueue when progress is made, and should
|
||||
* return a not-too-long description of the job's status. This
|
||||
* is made visible in the progress bar of the execution view step.
|
||||
*/
|
||||
virtual QString prettyStatusMessage() const;
|
||||
virtual JobResult exec() = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue