KDevelop API Documentation

ktabzoombutton.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_TABZOOMBUTTON_H__
00013 #define __K_TABZOOMBUTTON_H__
00014 
00015 #include <qpushbutton.h>
00016 
00017 #include "ktabzoomposition.h"
00018 
00019 
00020 class KTabZoomButtonPrivate;
00021 
00022 class KTabZoomButton : public QPushButton
00023 {
00024   Q_OBJECT
00025 
00026 public:
00027 
00028   KTabZoomButton(const QString &text, QWidget *parent, KTabZoomPosition::Position pos, const char *name=0);
00029   ~KTabZoomButton();
00030 
00031 
00032 protected:
00033 
00034   virtual void drawButtonLabel(QPainter *);
00035   virtual void drawButton(QPainter *);
00036   virtual QSize sizeHint() const;
00037 
00038 
00039 private:
00040 
00041   KTabZoomButtonPrivate *d;
00042 
00043 };
00044 
00045 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:52 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003