KDevelop API Documentation

lib/widgets/ktabzoombar.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * Copyright (C) 2001-2003 * 00003 * The KDevelop Team * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef __K_TABZOOMBAR_H__ 00013 #define __K_TABZOOMBAR_H__ 00014 00015 #include <qtabbar.h> 00016 00017 #include "ktabzoomposition.h" 00018 00019 class KTabZoomBarPrivate; 00020 class KTabZoomBar : public QWidget 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 KTabZoomBar(QWidget *parent=0, KTabZoomPosition::Position pos=KTabZoomPosition::Left, const char *name=0); 00026 ~KTabZoomBar(); 00027 00028 int addTab(const QTab &tab, const QString& toolTip = QString::null); 00029 void removeTab(int index); 00030 00031 void setActiveIndex(int index); 00032 void unsetButtons(); 00033 00034 void setDockMode(bool docked); 00035 00036 private slots: 00037 void clicked(int index); 00038 00039 signals: 00040 void selected(int index); 00041 void unselected(); 00042 void docked(); 00043 00044 private: 00045 KTabZoomBarPrivate *d; 00046 00047 }; 00048 00049 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:01:49 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003