knode
KNode::ArticlePostJob Class Reference
#include <nntpjobs.h>
Inheritance diagram for KNode::ArticlePostJob:
![Inheritance graph](classKNode_1_1ArticlePostJob__inherit__graph.png)
Public Member Functions | |
ArticlePostJob (KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i) | |
virtual void | execute () |
![]() | |
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 | |
![]() | |
enum | jobType { JTLoadGroups =1, JTFetchGroups, JTfetchNewHeaders, JTfetchArticle, JTpostArticle, JTmail, JTfetchSource } |
![]() | |
void | finished (KNJobData *) |
![]() | |
KUrl | baseUrl () const |
void | emitFinished () |
void | setupKIOJob (KIO::Job *job) |
void | setupKJob (KJob *job) |
![]() | |
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
Post a article to the given news server.
Definition at line 101 of file nntpjobs.h.
Constructor & Destructor Documentation
KNode::ArticlePostJob::ArticlePostJob | ( | KNJobConsumer * | c, |
KNServerInfo::Ptr | a, | ||
KNJobItem::Ptr | i | ||
) |
Definition at line 250 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 255 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.