knode
KNode::ArticleFetchJob Class Reference
#include <nntpjobs.h>
Inheritance diagram for KNode::ArticleFetchJob:
Public Member Functions | |
ArticleFetchJob (KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool parse=true) | |
virtual void | execute () |
Public Member Functions inherited from KNJobData | |
KNJobData (jobType t, KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i) | |
~KNJobData () | |
KNServerInfo::Ptr | account () const |
void | cancel () |
bool | canceled () const |
void | createProgressItem () |
KNJobItem::Ptr | data () const |
int | error () const |
QString | errorString () const |
void | notifyConsumer () |
void | prepareForExecution () |
KPIM::ProgressItem * | progressItem () const |
void | setComplete () |
void | setError (int err, const QString &errMsg) |
void | setProgress (unsigned int progress) |
void | setStatus (const QString &msg) |
bool | success () const |
jobType | type () const |
Additional Inherited Members | |
Public Types inherited from KNJobData | |
enum | jobType { JTLoadGroups =1, JTFetchGroups, JTfetchNewHeaders, JTfetchArticle, JTpostArticle, JTmail, JTfetchSource } |
Signals inherited from KNJobData | |
void | finished (KNJobData *) |
Protected Member Functions inherited from KNJobData | |
KUrl | baseUrl () const |
void | emitFinished () |
void | setupKIOJob (KIO::Job *job) |
void | setupKJob (KJob *job) |
Protected Attributes inherited from KNJobData | |
KNServerInfo::Ptr | a_ccount |
KNJobConsumer * | c_onsumer |
KNJobItem::Ptr | d_ata |
bool | mCanceled |
int | mError |
QString | mErrorString |
QPointer< KJob > | mJob |
KPIM::ProgressItem * | mProgressItem |
jobType | t_ype |
Detailed Description
Downloads one specific article from the news server.
Definition at line 83 of file nntpjobs.h.
Constructor & Destructor Documentation
KNode::ArticleFetchJob::ArticleFetchJob | ( | KNJobConsumer * | c, |
KNServerInfo::Ptr | a, | ||
KNJobItem::Ptr | i, | ||
bool | parse = true |
||
) |
Definition at line 203 of file nntpjobs.cpp.
Member Function Documentation
|
virtual |
Performs the actual operation of a job, needs to be reimplemented for every job.
Note that a job might be executed multiple times e.g. in case of an authentication error.
Implements KNJobData.
Definition at line 209 of file nntpjobs.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 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:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.