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 clear()
void setStatus(const QString &msg)
Set the status message of the progress item if available.
Definition: knjobdata.h:164
void removeFirst()
Definition: knjobdata.h:113
iterator erase(iterator pos)
void append(const T &value)
virtual void execute()=0
Performs the actual operation of a job, needs to be reimplemented for every job.
bool isEmpty() const
int removeAll(const T &value)
KPIM::ProgressItem * progressItem() const
Returns the progress item for this job.
Definition: knjobdata.h:157
T & first()
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
iterator end()
boost::shared_ptr< KNServerInfo > Ptr
Shared pointer to a KNServerInfo.
Definition: knserverinfo.h:39
void prepend(const T &value)
Definition: knjobdata.h:114
const_iterator constEnd() const
const_iterator constBegin() const
void setError(int err, const QString &errMsg)
Set job error information.
Definition: knjobdata.cpp:201
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.