• 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
actionmanagerimpl.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_ACTIONMANAGERIMPL_H
26 #define AKREGATOR_ACTIONMANAGERIMPL_H
27 
28 #include "actionmanager.h"
29 
30 class KAction;
31 class KActionCollection;
32 
33 class QWidget;
34 
35 namespace Akregator {
36 
37 class ArticleListView;
38 class ArticleViewer;
39 class FrameManager;
40 class MainWidget;
41 class Part;
42 class SubscriptionListView;
43 class TabWidget;
44 class TreeNode;
45 class TrayIcon;
46 
50 class ActionManagerImpl : public ActionManager
51 {
52  Q_OBJECT
53 
54  public:
55 
56  explicit ActionManagerImpl(Part* part, QObject* parent=0);
57  virtual ~ActionManagerImpl();
58 
59  virtual QAction* action(const char* name);
60  virtual QWidget* container(const char* name);
61 
62  void initMainWidget(MainWidget* mainWidget);
63  void initArticleViewer(ArticleViewer* articleViewer);
64  void initArticleListView(ArticleListView* articleList);
65  void initSubscriptionListView(SubscriptionListView* subscriptionListView);
66  void initTabWidget(TabWidget* tabWidget);
67  void initFrameManager(FrameManager* frameManager);
68 
69  void setArticleActionsEnabled( bool enabled );
70  void setTrayIcon(TrayIcon* trayIcon);
71 
72  public slots:
73 
74  void slotNodeSelected(Akregator::TreeNode* node);
75 
76  protected:
77 
78  KActionCollection* actionCollection();
79 
80  private:
81 
82  void initPart();
83 
84  friend class NodeSelectVisitor;
85  class NodeSelectVisitor;
86 
87  class ActionManagerImplPrivate;
88  ActionManagerImplPrivate* d;
89 };
90 
91 } // namespace Akregator
92 
93 #endif // AKREGATOR_ACTIONMANAGERIMPL_H
Akregator::ActionManagerImpl::~ActionManagerImpl
virtual ~ActionManagerImpl()
Definition: actionmanagerimpl.cpp:148
Akregator::ArticleViewer
Definition: articleviewer.h:55
Akregator::ActionManagerImpl::initTabWidget
void initTabWidget(TabWidget *tabWidget)
Definition: actionmanagerimpl.cpp:526
Akregator::ActionManagerImpl::actionCollection
KActionCollection * actionCollection()
Definition: actionmanagerimpl.cpp:629
Akregator::ActionManagerImpl::container
virtual QWidget * container(const char *name)
Definition: actionmanagerimpl.cpp:619
Akregator::TrayIcon
Definition: trayicon.h:39
Akregator::MainWidget
This is the main widget of the view, containing tree view, article list, viewer etc.
Definition: mainwidget.h:68
QWidget
Akregator::ActionManagerImpl::initMainWidget
void initMainWidget(MainWidget *mainWidget)
Definition: actionmanagerimpl.cpp:198
Akregator::ActionManagerImpl::slotNodeSelected
void slotNodeSelected(Akregator::TreeNode *node)
Definition: actionmanagerimpl.cpp:125
actionmanager.h
Akregator::Part
This is a RSS Aggregator "Part".
Definition: akregator_part.h:76
Akregator::ActionManagerImpl::initFrameManager
void initFrameManager(FrameManager *frameManager)
Definition: actionmanagerimpl.cpp:585
QObject
Akregator::ActionManager
interface for accessing actions, popup menus etc.
Definition: actionmanager.h:44
Akregator::ActionManagerImpl::setTrayIcon
void setTrayIcon(TrayIcon *trayIcon)
Definition: actionmanagerimpl.cpp:155
Akregator::SubscriptionListView
Definition: subscriptionlistview.h:39
Akregator::ArticleListView
Definition: articlelistview.h:90
Akregator::ActionManagerImpl
Akregator-specific implementation of the ActionManager interface.
Definition: actionmanagerimpl.h:50
Akregator::ActionManagerImpl::setArticleActionsEnabled
void setArticleActionsEnabled(bool enabled)
Definition: actionmanagerimpl.cpp:639
Akregator::ActionManagerImpl::action
virtual QAction * action(const char *name)
Definition: actionmanagerimpl.cpp:634
Akregator::ActionManagerImpl::initArticleListView
void initArticleListView(ArticleListView *articleList)
Definition: actionmanagerimpl.cpp:447
Akregator::TabWidget
Definition: tabwidget.h:38
Akregator::FrameManager
Definition: framemanager.h:43
Akregator::ActionManagerImpl::initArticleViewer
void initArticleViewer(ArticleViewer *articleViewer)
Definition: actionmanagerimpl.cpp:427
Akregator::ActionManagerImpl::NodeSelectVisitor
friend class NodeSelectVisitor
Definition: actionmanagerimpl.h:84
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::ActionManagerImpl::initSubscriptionListView
void initSubscriptionListView(SubscriptionListView *subscriptionListView)
Definition: actionmanagerimpl.cpp:464
QAction
Akregator::ActionManagerImpl::ActionManagerImpl
ActionManagerImpl(Part *part, QObject *parent=0)
Definition: actionmanagerimpl.cpp:131
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