• 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
browserframe.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_BROWSERFRAME_H
26 #define AKREGATOR_BROWSERFRAME_H
27 
28 #include <kconfiggroup.h>
29 
30 #include "frame.h"
31 #include "feediconmanager.h"
32 
33 #include "akregator_export.h"
34 
35 class QPoint;
36 class QString;
37 class QWidget;
38 
39 class KUrl;
40 
41 namespace KParts
42 {
43  class OpenUrlArguments;
44  class ReadOnlyPart;
45 }
46 
47 namespace Akregator {
48 
49 class AKREGATOR_EXPORT BrowserFrame : public Frame, public virtual FaviconListener
50 {
51  Q_OBJECT
52 
53  public:
54 
55  explicit BrowserFrame(QWidget* parent=0);
56  ~BrowserFrame();
57 
58  KUrl url() const;
59 
60  KParts::ReadOnlyPart* part() const;
61 
62  bool canGoForward() const;
63  bool canGoBack() const;
64  bool isReloadable() const;
65  bool isLoading() const;
66 
67  bool openUrl(const OpenUrlRequest& request);
68 
69  /* reimp */ void setFavicon( const QIcon& icon );
70 
71  void loadConfig( const KConfigGroup& config, const QString& prefix);
72  void saveConfig( KConfigGroup& config, const QString& prefix);
73 
74  bool hasZoom() const;
75  int getZoomFactor() const;
76  void setZoomFactor(int);
77  public slots:
78 
79  void slotHistoryForward();
80  void slotHistoryBack();
81  void slotReload();
82  void slotStop();
83  void slotHistoryBackAboutToShow();
84  void slotHistoryForwardAboutToShow();
85 
86  void slotPaletteOrFontChanged();
87  void slotOpenLinkInBrowser();
88  void slotOpenLinkInNewTab();
89  void slotZoomIn(int);
90  void slotZoomOut(int);
91 
92  private slots:
93 
94  void slotOpenUrlRequestDelayed(const KUrl&, const KParts::OpenUrlArguments&, const KParts::BrowserArguments&);
95  void slotCreateNewWindow(const KUrl& url,
96  const KParts::OpenUrlArguments& args,
97  const KParts::BrowserArguments& browserArgs,
98  const KParts::WindowArgs& windowArgs,
99  KParts::ReadOnlyPart** part);
100  void slotOpenUrlNotify();
101  void slotSetLocationBarUrl(const QString& url);
102  void slotSetIconUrl(const KUrl& url);
103  void slotSpeedProgress(int);
104 
105  void slotPopupMenu(const QPoint& global,
106  const KUrl& url,
107  mode_t mode,
108  const KParts::OpenUrlArguments& args,
109  const KParts::BrowserArguments& browserArgs,
110  KParts::BrowserExtension::PopupFlags flags,
111  const KParts::BrowserExtension::ActionGroupMap& actionGroups );
112 
113  signals:
114  void signalPartDestroyed(int id);
115 
116  private:
117  class Private;
118  Private* const d;
119 };
120 
121 } // namespace Akregator
122 
123 #endif // AKREGATOR_BROWSERFRAME_H
Akregator::Frame
Definition: frame.h:53
Akregator::OpenUrlRequest
Definition: openurlrequest.h:42
AKREGATOR_EXPORT
#define AKREGATOR_EXPORT
Definition: akregator_export.h:35
QWidget
Akregator::BrowserFrame::Private
Definition: browserframe_p.h:54
frame.h
akregator_export.h
feediconmanager.h
Akregator::BrowserFrame
Definition: browserframe.h:49
Akregator::FaviconListener
Definition: feediconmanager.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