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

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( TQWidget* parent, const char* name = 0 );
00028     ~KMdiDocumentViewTabWidget();
00029 
00035     virtual void addTab ( TQWidget * child, const TQString & label );
00036 
00042     virtual void addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label );
00043 
00049     virtual void addTab ( TQWidget * child, TQTab * tab );
00050 
00056     virtual void insertTab ( TQWidget * child, const TQString & label, int index = -1 );
00057 
00063     virtual void insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 );
00064 
00070     virtual void insertTab ( TQWidget * child, TQTab * tab, int index = -1 );
00071 
00077     virtual void removePage ( TQWidget * w );
00078 
00083     KMdi::TabWidgetVisibility tabWidgetVisibility();
00084 
00086     void setTabWidgetVisibility( KMdi::TabWidgetVisibility );
00087 
00088 private slots:
00089 
00091     void closeTab( TQWidget* w );
00092     
00094     void moveTab( int from, int to );
00095 
00096 public slots:
00097 
00099     void updateIconInView( TQWidget*, TQPixmap );
00100 
00102     void updateCaptionInView( TQWidget*, const TQString& );
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
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kmdi

Skip menu "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 by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |