20 #ifndef _KKEYBUTTON_H_
21 #define _KKEYBUTTON_H_
23 #include <tqpushbutton.h>
24 #include <tdeshortcut.h>
48 KKeyButton( TQWidget *parent = 0,
const char *name = 0 );
55 void setShortcut(
const TDEShortcut& cut ) KDE_DEPRECATED;
57 void setShortcut(
const TDEShortcut& cut,
bool bQtShortcut );
64 void setText(
const TQString& text );
74 void captureShortcut();
83 void drawButton( TQPainter* _painter );
86 virtual void virtual_hook(
int id,
void* data );
88 class KKeyButtonPrivate* d;