knode
scheduler.cpp
Go to the documentation of this file.
56 connect( job->progressItem(), SIGNAL(progressItemCanceled(KPIM::ProgressItem*)), SLOT(slotCancelJob(KPIM::ProgressItem*)) );
159 if ( ( item && currentNntpJob->progressItem() == item ) || type == 0 || type == currentNntpJob->type() )
void setComplete()
Tells the progress item to indicate that the job has finished if available.
Definition: knjobdata.h:172
void setStatus(const QString &msg)
Set the status message of the progress item if available.
Definition: knjobdata.h:164
Definition: knjobdata.h:113
virtual void execute()=0
Performs the actual operation of a job, needs to be reimplemented for every job.
KPIM::ProgressItem * progressItem() const
Returns the progress item for this job.
Definition: knjobdata.h:157
void netActive(bool)
Indicates whether there are currently active jobs, useful to e.g.
void cancelJobs(int type=0, KPIM::ProgressItem *item=0)
Cancel the selected jobs.
Definition: scheduler.cpp:126
Definition: knjobdata.h:111
boost::shared_ptr< KNServerInfo > Ptr
Shared pointer to a KNServerInfo.
Definition: knserverinfo.h:37
Definition: knjobdata.h:114
void setError(int err, const QString &errMsg)
Set job error information.
Definition: knjobdata.cpp:201
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 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:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.