libkdepim
progressmanager.h
Go to the documentation of this file.
static ProgressItem * createProgressItem(const QString &label)
Creates a ProgressItem with a unique id and the given label.
Definition: progressmanager.h:309
static ProgressItem * createProgressItem(const QString &parent, const QString &id, const QString &label, const QString &status=QString(), bool canBeCanceled=true, bool usesCrypto=false)
Use this version if you have the id string of the parent and want to add a subjob to it...
Definition: progressmanager.h:344
static ProgressItem * createProgressItem(const QString &id, const QString &label, const QString &status=QString(), bool canBeCanceled=true, bool usesCrypto=false)
Version without a parent.
Definition: progressmanager.h:358
void updateProgress()
Recalculate progress according to total/completed items and update.
Definition: progressmanager.h:156
void incCompletedItems(unsigned int v=1)
Definition: progressmanager.h:150
static QString getUniqueID()
Use this to acquire a unique id number which can be used to discern an operation from all others goin...
Definition: progressmanager.h:299
static ProgressItem * createProgressItem(ProgressItem *parent, const Akonadi::AgentInstance &agent, const QString &id, const QString &label, const QString &status=QString(), bool canBeCanceled=true, bool usesCrypto=false)
Version for Akonadi agents.
Definition: progressmanager.h:373
The ProgressManager singleton keeps track of all ongoing transactions and notifies observers (progres...
Definition: progressmanager.h:278
void reset()
Reset the progress value of this item to 0 and the status string to the empty string.
Definition: progressmanager.h:137
bool usesBusyIndicator() const
Definition: progressmanager.h:104
static ProgressItem * createProgressItem(ProgressItem *parent, const QString &id, const QString &label, const QString &status=QString(), bool canBeCanceled=true, bool usesCrypto=false)
Creates a new progressItem with the given parent, id, label and initial status.
Definition: progressmanager.h:329
static void emitShowProgressDialog()
Ask all listeners to show the progress dialog, because there is something that wants to be shown...
Definition: progressmanager.h:406
Definition: progressmanager.h:45
unsigned int completedItems() const
Definition: progressmanager.h:151
void setTotalItems(unsigned int v)
Definition: progressmanager.h:147
void setCompletedItems(unsigned int v)
Definition: progressmanager.h:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.