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

knode

nntpjobs.h

Go to the documentation of this file.
00001 /*
00002     Copyright (c) 2005 by Volker Krause <volker.krause@rwth-aachen.de>
00003 
00004     This program is free software; you can redistribute it and/or modify
00005     it under the terms of the GNU General Public License as published by
00006     the Free Software Foundation; either version 2 of the License, or
00007     (at your option) any later version.
00008     You should have received a copy of the GNU General Public License
00009     along with this program; if not, write to the Free Software Foundation,
00010     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
00011 */
00012 
00013 #ifndef KNODE_NNTPJOBS_H
00014 #define KNODE_NNTPJOBS_H
00015 
00016 #include "knjobdata.h"
00017 #include "kngroupmanager.h"
00018 
00019 #include <kio/job.h>
00020 
00021 #include <QList>
00022 
00023 class KJob;
00024 
00025 namespace KNode {
00026 
00028 class GroupListJob : public KNJobData
00029 {
00030   Q_OBJECT
00031   public:
00032     GroupListJob( KNJobConsumer *c, KNServerInfo *a, KNJobItem *i, bool incremental = false );
00033 
00034     virtual void execute();
00035 
00036   private slots:
00037     void slotEntries( KIO::Job *job, const KIO::UDSEntryList &list );
00038     void slotResult( KJob *job );
00039 
00040   private:
00041     QList<KNGroupInfo> mGroupList;
00042     bool mIncremental;
00043 };
00044 
00045 
00046 
00048 class GroupLoadJob : public KNJobData
00049 {
00050   public:
00051     GroupLoadJob( KNJobConsumer *c, KNServerInfo *a, KNJobItem *i );
00052 
00053     virtual void execute();
00054 };
00055 
00056 
00057 
00061 class ArticleListJob : public KNJobData
00062 {
00063   Q_OBJECT
00064   public:
00065     ArticleListJob( KNJobConsumer *c, KNServerInfo *a, KNJobItem *i, bool silent = false );
00066 
00067     virtual void execute();
00069     bool silent() { return mSilent; }
00070 
00071   private slots:
00072     void slotEntries( KIO::Job *job, const KIO::UDSEntryList &list );
00073     void slotResult( KJob *_job );
00074 
00075   private:
00076     KIO::UDSEntryList mArticleList;
00077     bool mSilent;
00078 };
00079 
00080 
00081 
00083 class ArticleFetchJob : public KNJobData
00084 {
00085   Q_OBJECT
00086   public:
00087     ArticleFetchJob( KNJobConsumer *c, KNServerInfo *a, KNJobItem *i, bool parse = true );
00088 
00089     virtual void execute();
00090 
00091   private slots:
00092     void slotResult( KJob *job );
00093 
00094   private:
00095     bool mParseArticle;
00096 };
00097 
00098 
00099 
00101 class ArticlePostJob : public KNJobData
00102 {
00103   Q_OBJECT
00104   public:
00105     ArticlePostJob( KNJobConsumer *c, KNServerInfo *a, KNJobItem *i );
00106 
00107     virtual void execute();
00108 
00109   private slots:
00110     void slotResult( KJob *job );
00111 };
00112 
00113 }
00114 #endif

knode

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal