knode
KNode::ArticleListJob Class Reference
#include <nntpjobs.h>
Inheritance diagram for KNode::ArticleListJob:

Public Member Functions | |
| ArticleListJob (KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool silent=false) | |
| virtual void | execute () |
| bool | silent () |
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 all or a selected part of the article list for a specific newsgroup.
Definition at line 61 of file nntpjobs.h.
Constructor & Destructor Documentation
| KNode::ArticleListJob::ArticleListJob | ( | KNJobConsumer * | c, |
| KNServerInfo::Ptr | a, | ||
| KNJobItem::Ptr | i, | ||
| bool | silent = false |
||
| ) |
Definition at line 137 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 143 of file nntpjobs.cpp.
|
inline |
Returns whether an error message should be shown.
Definition at line 69 of file nntpjobs.h.
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.
KDE API Reference
Public Member Functions inherited from