knode
knjobdata.cpp
Go to the documentation of this file.
Definition: knserverinfo.h:32
static ProgressItem * createProgressItem(const QString &label)
void setStatus(const QString &msg)
Set the status message of the progress item if available.
Definition: knjobdata.h:164
void emitJob(KNJobData *j)
Send the job to the scheduler and append it to the job queue.
Definition: knjobdata.cpp:42
KPIM::ProgressItem * mProgressItem
The progress item representing this job to the user.
Definition: knjobdata.h:214
boost::shared_ptr< KNNntpAccount > Ptr
Shared pointer to a KNNntpAccount.
Definition: knnntpaccount.h:62
Definition: knserverinfo.h:32
static QString getUniqueID()
KNJobData(jobType t, KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i)
Definition: knjobdata.cpp:75
void setComplete()
Definition: knserverinfo.h:32
Base class for classes that want to create and schedule jobs.
Definition: knjobdata.h:39
void cancelJobs(boost::shared_ptr< KNJobItem > item)
Find any job related to a job item and cancel it.
Definition: knjobdata.cpp:57
KUrl baseUrl() const
Returns a correctly set up KUrl according to the encryption and authentication settings for KIO slave...
Definition: knjobdata.cpp:185
void setProgress(unsigned int progress)
Set the progress value of the progress item if available.
Definition: knjobdata.h:168
void emitFinished()
Emits the finished() signal via a single-shot timer.
Definition: knjobdata.cpp:119
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
void setupKIOJob(KIO::Job *job)
Sets TLS metadata and connects the given KIO job to the progress item.
Definition: knjobdata.cpp:135
void setStatus(const QString &v)
void jobDone(KNJobData *j)
Remove the job from the joblist and process it by calling processJob.
Definition: knjobdata.cpp:51
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.