diff options
Diffstat (limited to 'kbfxlib/common/kbfxpushbutton.cpp')
-rw-r--r-- | kbfxlib/common/kbfxpushbutton.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbfxlib/common/kbfxpushbutton.cpp b/kbfxlib/common/kbfxpushbutton.cpp index e971993..bc62903 100644 --- a/kbfxlib/common/kbfxpushbutton.cpp +++ b/kbfxlib/common/kbfxpushbutton.cpp @@ -21,12 +21,12 @@ #include "kbfxpushbutton.h" -KbfxPushButton::KbfxPushButton ( QWidget *parent, const char *name ) - : KPushButton ( parent, name ) +KbfxPushButton::KbfxPushButton ( TQWidget *tqparent, const char *name ) + : KPushButton ( tqparent, name ) { setText ( "P R E V I E W" ); setToggleButton ( TRUE ); - setFocusPolicy ( QWidget::NoFocus ); + setFocusPolicy ( TQ_NoFocus ); } KbfxPushButton::~KbfxPushButton() @@ -34,12 +34,12 @@ KbfxPushButton::~KbfxPushButton() } /* process hover events */ -void KbfxPushButton::enterEvent ( QEvent * ) +void KbfxPushButton::enterEvent ( TQEvent * ) { if ( this->state() == 0 ) this->setPixmap ( ConfigInit().m_KbfxHoverButtonPath ); } -void KbfxPushButton::leaveEvent ( QEvent * ) +void KbfxPushButton::leaveEvent ( TQEvent * ) { if ( this->state() == 2 ) this->setPixmap ( ConfigInit().m_KbfxPressedButtonPath ); if ( this->state() == 0 ) this->setPixmap ( ConfigInit().m_KbfxNormalButtonPath ); |