• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kmdi/kmdi
 

kmdi/kmdi

  • kmdi
  • kmdi
tabwidget.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2004 Christoph Cullmann <cullmann@kde.org>
3  Copyright (C) 2002,2003 Joseph Wenninger <jowenn@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 
20  Based on:
21 
22  //----------------------------------------------------------------------------
23  // Project : KDE MDI extension
24  //
25  // begin : 07/1999 by Szymon Stefanek as part of kvirc
26  // (an IRC application)
27  // changes : 09/1999 by Falk Brettschneider to create an
28  // - 06/2000 stand-alone Qt extension set of
29  // classes and a Qt-based library
30  // : 02/2000 by Massimo Morin (mmorin@schedsys.com)
31  // 2000-2003 maintained by the KDevelop project
32  // patches : -/2000 by Lars Beikirch (Lars.Beikirch@gmx.net)
33  // : 01/2003 by Jens Zurheide (jens.zurheide@gmx.de)
34  //
35  // copyright : (C) 1999-2003 by Falk Brettschneider
36  // and
37  // Szymon Stefanek (stefanek@tin.it)
38  // email : falkbr@kdevelop.org (Falk Brettschneider)
39  //----------------------------------------------------------------------------
40 */
41 
42 #ifndef _KMDI_TABWIDGET_H_
43 #define _KMDI_TABWIDGET_H_
44 
45 #include <ktabwidget.h>
46 #include <kmdi/global.h>
47 
48 namespace KMDIPrivate
49 {
50  class TabWidgetPrivate;
51 }
52 
53 namespace KMDI
54 {
55 
56 class KMDI_EXPORT TabWidget : public KTabWidget
57 {
58  Q_OBJECT
59 
60  public:
61  TabWidget(TQWidget* parent, const char* name=0);
62  virtual ~TabWidget();
63 
64  virtual void addTab ( TQWidget * child, const TQString & label );
65 
66  virtual void addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label );
67 
68  virtual void addTab ( TQWidget * child, TQTab * tab );
69 
70  virtual void insertTab ( TQWidget * child, const TQString & label, int index = -1 );
71 
72  virtual void insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 );
73 
74  virtual void insertTab ( TQWidget * child, TQTab * tab, int index = -1 );
75 
76  virtual void removePage ( TQWidget * w );
77 
78  KMDI::TabWidgetVisibility tabWidgetVisibility() const;
79 
80  void setTabWidgetVisibility( KMDI::TabWidgetVisibility );
81 
82  bool eventFilter(TQObject *obj, TQEvent *e );
83 
84  private slots:
85  void closeTab(TQWidget* w);
86 
87  public slots:
88  void updateIconInView(TQWidget*,TQPixmap);
89  void updateCaptionInView(TQWidget*,const TQString&);
90 
91  signals:
92  void focusInEvent ();
93 
94  protected slots:
95  void childDestroyed ();
96 
97  private:
98  void maybeShow();
99  void setCornerWidgetVisibility(bool visible);
100 
101  private:
102  KMDI::TabWidgetVisibility m_visibility;
103 
104  private:
108  KMDIPrivate::TabWidgetPrivate *d;
109 };
110 
111 }
112 
113 #endif
114 
115 // kate: space-indent on; indent-width 2; replace-tabs on;
KMDIPrivate
Definition: guiclient.cpp:51
KMDI
A namespace for the KMDI library.
Definition: dockcontainer.cpp:51

kmdi/kmdi

Skip menu "kmdi/kmdi"
  • Main Page
  • Namespace List
  • File List
  • Namespace Members

kmdi/kmdi

Skip menu "kmdi/kmdi"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kmdi/kmdi by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |