• 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
progressmanager.h
Go to the documentation of this file.
1 /*
2  This file is part of Akregator.
3 
4  Copyright (C) 2005 Frank Osterfeld <osterfeld@kde.org>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 
20  As a special exception, permission is given to link this program
21  with any edition of Qt, and distribute the resulting executable,
22  without including the source code for Qt in the source distribution.
23 */
24 
25 #ifndef AKREGATOR_PROGRESSMANAGER_H
26 #define AKREGATOR_PROGRESSMANAGER_H
27 
28 #include "feedlist.h"
29 #include <QObject>
30 #include <boost/shared_ptr.hpp>
31 
32 namespace Akregator
33 {
34 
35 class Feed;
36 class ProgressItemHandler;
37 class TreeNode;
38 
41 class ProgressManager : public QObject
42 {
43  Q_OBJECT
44  public:
45 
46  static ProgressManager* self();
47 
48  ProgressManager();
49  ~ProgressManager();
50 
52  void setFeedList( const boost::shared_ptr<FeedList>& feedList);
53 
54  protected slots:
55 
56  void slotNodeAdded(Akregator::TreeNode* node);
57  void slotNodeRemoved(Akregator::TreeNode* node);
58  void slotNodeDestroyed(Akregator::TreeNode* node);
59 
60  private:
61 
62  static ProgressManager* m_self;
63 
64  class ProgressManagerPrivate;
65  ProgressManagerPrivate* d;
66 };
67 
71 class ProgressItemHandler : public QObject
72 {
73  Q_OBJECT
74  public:
75  explicit ProgressItemHandler(Feed* feed);
76  ~ProgressItemHandler();
77 
78  public slots:
79 
80  void slotFetchStarted();
81  void slotFetchCompleted();
82  void slotFetchAborted();
83  void slotFetchError();
84 
85  private:
86  class ProgressItemHandlerPrivate;
87  ProgressItemHandlerPrivate* d;
88 };
89 
90 } // namespace Akregator
91 
92 #endif // AKREGATOR_PROGRESSMANAGER_H
Akregator::ProgressItemHandler::~ProgressItemHandler
~ProgressItemHandler()
Definition: progressmanager.cpp:147
Akregator::ProgressManager::ProgressManager
ProgressManager()
Definition: progressmanager.cpp:59
Akregator::ProgressManager::~ProgressManager
~ProgressManager()
Definition: progressmanager.cpp:63
feedlist.h
Akregator::ProgressItemHandler::slotFetchCompleted
void slotFetchCompleted()
Definition: progressmanager.cpp:173
QObject
Akregator::ProgressManager::setFeedList
void setFeedList(const boost::shared_ptr< FeedList > &feedList)
sets the feed list to be managed
Definition: progressmanager.cpp:69
Akregator::ProgressItemHandler::slotFetchStarted
void slotFetchStarted()
Definition: progressmanager.cpp:159
Akregator::ProgressItemHandler::slotFetchError
void slotFetchError()
Definition: progressmanager.cpp:183
Akregator::ProgressItemHandler::ProgressItemHandler
ProgressItemHandler(Feed *feed)
Definition: progressmanager.cpp:136
Akregator::ProgressItemHandler::slotFetchAborted
void slotFetchAborted()
Definition: progressmanager.cpp:193
Akregator::Feed
represents a feed
Definition: feed.h:52
Akregator::ProgressItemHandler
this class handles the creation and deletion of progress items for one feed.
Definition: progressmanager.h:71
Akregator::ProgressManager::slotNodeDestroyed
void slotNodeDestroyed(Akregator::TreeNode *node)
Definition: progressmanager.cpp:118
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::ProgressManager::slotNodeAdded
void slotNodeAdded(Akregator::TreeNode *node)
Definition: progressmanager.cpp:94
Akregator::ProgressManager::slotNodeRemoved
void slotNodeRemoved(Akregator::TreeNode *node)
Definition: progressmanager.cpp:107
Akregator::ProgressManager
This class manages the progress items for all feeds.
Definition: progressmanager.h:41
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