• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

knode

  • KNode
  • ArticleListJob
Public Member Functions | List of all members
KNode::ArticleListJob Class Reference

#include <nntpjobs.h>

Inheritance diagram for KNode::ArticleListJob:
Inheritance graph
[legend]

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

void KNode::ArticleListJob::execute ( )
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.

bool KNode::ArticleListJob::silent ( )
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:
  • nntpjobs.h
  • nntpjobs.cpp
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

KDE's Doxygen guidelines are available online.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal