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

akregator

  • sources
  • kde-4.12
  • kdepim
  • akregator
  • src
fetchqueue.h
Go to the documentation of this file.
1 /*
2  This file is part of Akregator.
3 
4  Copyright (C) 2004 Sashmit Bhaduri <smt@vfemail.net>
5  2005 Frank Osterfeld <osterfeld@kde.org>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, permission is given to link this program
22  with any edition of Qt, and distribute the resulting executable,
23  without including the source code for Qt in the source distribution.
24 */
25 
26 #ifndef AKREGATOR_FETCHQUEUE_H
27 #define AKREGATOR_FETCHQUEUE_H
28 
29 #include "akregator_export.h"
30 #include <QObject>
31 
32 namespace Akregator {
33 
34 class Feed;
35 class TreeNode;
36 
37 class AKREGATOR_EXPORT FetchQueue : public QObject
38 {
39  Q_OBJECT
40 
41  public:
42 
43  explicit FetchQueue(QObject* parent=0);
44  ~FetchQueue();
45 
47  bool isEmpty() const;
48 
50  void addFeed(Feed *f);
51 
52  public slots:
53 
55  void slotAbort();
56 
57  signals:
58 
59  void signalStarted();
60  void signalStopped();
61  void fetched(Akregator::Feed*);
62  void fetchError(Akregator::Feed*);
63 
64  protected:
65 
67  void fetchNextFeed();
68 
69  void feedDone(Feed *f);
70  void connectToFeed(Feed* feed);
71  void disconnectFromFeed(Feed* feed);
72 
73  protected slots:
74 
75  void slotNodeDestroyed(Akregator::TreeNode* node);
76  void slotFeedFetched(Akregator::Feed *);
77  void slotFetchError(Akregator::Feed *);
78  void slotFetchAborted(Akregator::Feed *);
79 
80  private:
81 
82  class FetchQueuePrivate;
83  FetchQueuePrivate* d;
84 };
85 
86 } // namespace Akregator
87 
88 #endif // AKREGATOR_FETCHQUEUE_H
89 
AKREGATOR_EXPORT
#define AKREGATOR_EXPORT
Definition: akregator_export.h:35
QObject
akregator_export.h
Akregator::Feed
represents a feed
Definition: feed.h:52
Akregator::TreeNode
Abstract base class for all kind of elements in the feed tree, like feeds and feed groups (and search...
Definition: treenode.h:59
Akregator::FetchQueue
Definition: fetchqueue.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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