knode
nntpjobs.cpp
Go to the documentation of this file.
22 KNode::GroupListJob::GroupListJob( KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool incremental )
137 KNode::ArticleListJob::ArticleListJob( KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool silent ) :
203 KNode::ArticleFetchJob::ArticleFetchJob( KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool parse ) :
250 KNode::ArticlePostJob::ArticlePostJob( KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i ) :
261 KIO::Job* job = KIO::storedPut( target->encodedContent( true ), url, -1, KIO::Overwrite | KIO::HideProgressInfo );
272 setError( job->error(), i18n( "The server %1 does not allow you to post articles to it.", hostname ) );
boost::shared_ptr< KNLocalArticle > Ptr
Shared pointer to a KNLocalArticle. To be used instead of raw KNLocalArticle*.
Definition: knarticle.h:216
Definition: kngroup.h:50
boost::shared_ptr< KNGroupListData > Ptr
Shared pointer to a KNGroupListData.
Definition: kngroupmanager.h:59
QString join(const QString &separator) const
QString number(int n, int base)
This class encapsulates an article, that is stored locally in an MBOX-file.
Definition: knarticle.h:212
virtual void execute()
Performs the actual operation of a job, needs to be reimplemented for every job.
Definition: nntpjobs.cpp:28
Definition: kngroup.h:50
Definition: kngroup.h:50
QByteArray & replace(int pos, int len, const char *after)
GroupLoadJob(KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i)
Definition: nntpjobs.cpp:118
Definition: kngroup.h:50
virtual void execute()
Performs the actual operation of a job, needs to be reimplemented for every job.
Definition: nntpjobs.cpp:123
ArticlePostJob(KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i)
Definition: nntpjobs.cpp:250
virtual void execute()
Performs the actual operation of a job, needs to be reimplemented for every job.
Definition: nntpjobs.cpp:209
Base class for classes that want to create and schedule jobs.
Definition: knjobdata.h:39
boost::shared_ptr< KNRemoteArticle > Ptr
Shared pointer to a KNRemoteArticle. To be used instead of raw KNRemoteArticle*.
Definition: knarticle.h:109
ArticleFetchJob(KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool parse=true)
Definition: nntpjobs.cpp:203
virtual void execute()
Performs the actual operation of a job, needs to be reimplemented for every job.
Definition: nntpjobs.cpp:143
virtual void execute()
Performs the actual operation of a job, needs to be reimplemented for every job.
Definition: nntpjobs.cpp:255
char * data()
KNRemoteArticle represents an article, whos body has to be retrieved from a remote host or from the l...
Definition: knarticle.h:105
boost::shared_ptr< KNServerInfo > Ptr
Shared pointer to a KNServerInfo.
Definition: knserverinfo.h:39
ArticleListJob(KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool silent=false)
Definition: nntpjobs.cpp:137
Helper classes for the group selection dialog, contains info about a newsgroup (name, description)
Definition: kngroupmanager.h:34
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
GroupListJob(KNJobConsumer *c, KNServerInfo::Ptr a, KNJobItem::Ptr i, bool incremental=false)
Definition: nntpjobs.cpp:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.