20#ifndef KEXISMALLTOOLBUTTON_H
21#define KEXISMALLTOOLBUTTON_H
23#include <tqtoolbutton.h>
36 const TQString& icon = TQString(), const char* name = 0);
39 const TQIconSet& iconSet, const char* name = 0);
47 virtual void setIconSet( const TQIconSet& iconSet );
48 virtual void setIconSet( const TQString& icon );
49 virtual void setTextLabel( const TQString & newLabel, bool tipToo );
50 virtual void setTextLabel( const TQString & newLabel ) { setTextLabel(newLabel, false); }
53 void update( const TQString& text, const TQIconSet& iconSet, bool tipToo = false);
55 virtual void drawButton( TQPainter *_painter );
57 TQGuardedPtr<TDEAction> m_action;
|