• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kmdi

kmdidocumentviewtabwidget.h

00001 //----------------------------------------------------------------------------
00002 //
00003 //    This program is free software; you can redistribute it and/or modify
00004 //    it under the terms of the GNU Library General Public License as
00005 //    published by the Free Software Foundation; either version 2 of the
00006 //    License, or (at your option) any later version.
00007 //
00008 //----------------------------------------------------------------------------
00009 
00010 #ifndef _KMDI_DOCUMENT_VIEW_TAB_WIDGET_H_
00011 #define _KMDI_DOCUMENT_VIEW_TAB_WIDGET_H_
00012 
00013 #include <ktabwidget.h>
00014 #include <kmdidefines.h>
00015 
00016 class KPopupMenu;
00017 
00018 //KDE4: Add a d pointer
00022 class KMDI_EXPORT KMdiDocumentViewTabWidget:
00023             public KTabWidget
00024 {
00025     Q_OBJECT
00026 public:
00027     KMdiDocumentViewTabWidget( QWidget* parent, const char* name = 0 );
00028     ~KMdiDocumentViewTabWidget();
00029 
00035     virtual void addTab ( QWidget * child, const QString & label );
00036 
00042     virtual void addTab ( QWidget * child, const QIconSet & iconset, const QString & label );
00043 
00049     virtual void addTab ( QWidget * child, QTab * tab );
00050 
00056     virtual void insertTab ( QWidget * child, const QString & label, int index = -1 );
00057 
00063     virtual void insertTab ( QWidget * child, const QIconSet & iconset, const QString & label, int index = -1 );
00064 
00070     virtual void insertTab ( QWidget * child, QTab * tab, int index = -1 );
00071 
00077     virtual void removePage ( QWidget * w );
00078 
00083     KMdi::TabWidgetVisibility tabWidgetVisibility();
00084 
00086     void setTabWidgetVisibility( KMdi::TabWidgetVisibility );
00087 
00088 private slots:
00089 
00091     void closeTab( QWidget* w );
00092     
00094     void moveTab( int from, int to );
00095 
00096 public slots:
00097 
00099     void updateIconInView( QWidget*, QPixmap );
00100 
00102     void updateCaptionInView( QWidget*, const QString& );
00103 
00104 private slots:
00105 
00111     void maybeShow();
00112 
00113 private:
00114 
00115     KMdi::TabWidgetVisibility m_visibility;
00116     
00117 signals:
00118     void initiateTabMove(int, int); 
00119 };
00120 
00121 
00122 
00123 #endif 
00124 // kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
00125 

kmdi

Skip menu "kmdi"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • 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
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal