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

akregator

  • sources
  • kde-4.14
  • kdepim
  • akregator
  • src
tabwidget.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 
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_TABWIDGET_H
26 #define AKREGATOR_TABWIDGET_H
27 
28 #include <ktabwidget.h>
29 
30 class QString;
31 
32 namespace Akregator
33 {
34 
35 class Frame;
36 class OpenUrlRequest;
37 
38 class TabWidget : public KTabWidget
39 {
40  Q_OBJECT
41 
42  public:
43  explicit TabWidget(QWidget * parent = 0);
44  ~TabWidget();
45 
46  public slots:
47 
48  void slotSetTitle(Akregator::Frame* frame, const QString& title);
49  void slotSetIcon(Akregator::Frame* frame, const QIcon& icon);
50  void slotSettingsChanged();
51  void slotNextTab();
52  void slotPreviousTab();
53  void slotRemoveCurrentFrame();
54  void slotAddFrame(Akregator::Frame* f);
55  void slotRemoveFrame(int frameId);
56  void slotSelectFrame(int frameId);
57  void slotFrameZoomIn();
58  void slotFrameZoomOut();
59  void slotReloadAllTabs();
60  void slotActivateTab();
61  Q_SIGNALS:
62  void signalCurrentFrameChanged(int);
63  void signalRemoveFrameRequest(int);
64  void signalOpenUrlRequest(Akregator::OpenUrlRequest&);
65  void signalZoomInFrame(int);
66  void signalZoomOutFrame(int);
67 
68  private:
69  /*reimpl*/ void tabInserted( int );
70  /*reimpl*/ void tabRemoved( int );
71 
72  private Q_SLOTS:
73  void initiateDrag(int tab);
74  void slotDetachTab();
75  void slotCopyLinkAddress();
76  void slotCloseTab();
77  void slotCloseRequest(QWidget* widget);
78  void contextMenu (int item, const QPoint &p);
79  void slotTabChanged(int index);
80 
81  private:
82 
83  class Private;
84  Private* const d;
85 };
86 
87 } // namespace Akregator
88 
89 #endif // AKREGATOR_TABWIDGET_H
Akregator::Frame
Definition: frame.h:53
Akregator::TabWidget::slotActivateTab
void slotActivateTab()
Definition: tabwidget.cpp:433
QWidget
Akregator::OpenUrlRequest
Definition: openurlrequest.h:42
Akregator::TabWidget::TabWidget
TabWidget(QWidget *parent=0)
Definition: tabwidget.cpp:95
Akregator::TabWidget::~TabWidget
~TabWidget()
Definition: tabwidget.cpp:124
Akregator::TabWidget::slotRemoveFrame
void slotRemoveFrame(int frameId)
Definition: tabwidget.cpp:230
Akregator::TabWidget::signalRemoveFrameRequest
void signalRemoveFrameRequest(int)
Akregator::TabWidget::slotFrameZoomOut
void slotFrameZoomOut()
Definition: tabwidget.cpp:196
Akregator::TabWidget::slotFrameZoomIn
void slotFrameZoomIn()
Definition: tabwidget.cpp:189
Akregator::TabWidget::signalZoomOutFrame
void signalZoomOutFrame(int)
QPoint
Akregator::TabWidget::slotSettingsChanged
void slotSettingsChanged()
Definition: tabwidget.cpp:129
Akregator::TabWidget::signalZoomInFrame
void signalZoomInFrame(int)
Akregator::TabWidget::slotPreviousTab
void slotPreviousTab()
Definition: tabwidget.cpp:141
Akregator::TabWidget
Definition: tabwidget.h:38
QString
Akregator::TabWidget::slotNextTab
void slotNextTab()
Definition: tabwidget.cpp:136
Akregator::TabWidget::slotReloadAllTabs
void slotReloadAllTabs()
Definition: tabwidget.cpp:418
Akregator::TabWidget::signalOpenUrlRequest
void signalOpenUrlRequest(Akregator::OpenUrlRequest &)
Akregator::TabWidget::slotRemoveCurrentFrame
void slotRemoveCurrentFrame()
Definition: tabwidget.cpp:223
Akregator::TabWidget::slotSetTitle
void slotSetTitle(Akregator::Frame *frame, const QString &title)
Definition: tabwidget.cpp:274
Akregator::TabWidget::slotAddFrame
void slotAddFrame(Akregator::Frame *f)
Definition: tabwidget.cpp:165
Akregator::TabWidget::slotSelectFrame
void slotSelectFrame(int frameId)
Definition: tabwidget.cpp:148
Akregator::TabWidget::slotSetIcon
void slotSetIcon(Akregator::Frame *frame, const QIcon &icon)
Definition: tabwidget.cpp:279
Akregator::TabWidget::signalCurrentFrameChanged
void signalCurrentFrameChanged(int)
QIcon
KTabWidget
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 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
  • pimprint

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