19 #ifndef __karrowbutton_h__
20 #define __karrowbutton_h__
22 #include <tqpushbutton.h>
24 #include <tdelibs_export.h>
26 class KArrowButtonPrivate;
41 TQ_PROPERTY(
int arrowType READ arrowTp WRITE setArrowTp )
51 KArrowButton(TQWidget *parent = 0, TQt::ArrowType arrow = TQt::UpArrow,
52 const char *name = 0);
62 virtual TQSize sizeHint()
const;
68 TQt::ArrowType arrowType()
const;
71 int arrowTp()
const {
return (
int) arrowType(); }
72 void setArrowTp(
int tp ) { setArrowType( (TQt::ArrowType) tp ); }
80 void setArrowType(TQt::ArrowType a);
86 virtual void drawButton(TQPainter *);
89 virtual void virtual_hook(
int id,
void* data );
91 KArrowButtonPrivate *d;