summaryrefslogtreecommitdiffstats
path: root/src/widgets/qbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qbutton.cpp')
-rw-r--r--src/widgets/qbutton.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp
index d24dd17f7..05539be93 100644
--- a/src/widgets/qbutton.cpp
+++ b/src/widgets/qbutton.cpp
@@ -391,7 +391,7 @@ TQButton::TQButton( TQWidget *parent, const char *name, WFlags f )
repeat = FALSE; // not in autorepeat mode
d = 0;
#ifndef QT_NO_BUTTONGROUP
- if ( ::qt_cast<TQButtonGroup*>(parent) ) {
+ if ( ::tqt_cast<TQButtonGroup*>(parent) ) {
setGroup((TQButtonGroup*)parent);
group()->insert( this ); // insert into button group
}
@@ -705,7 +705,7 @@ void TQButton::keyPressEvent( TQKeyEvent *e )
case Key_Return:
{
#ifndef QT_NO_PUSHBUTTON
- TQPushButton *pb = (TQPushButton*)qt_cast( "TQPushButton" );
+ TQPushButton *pb = (TQPushButton*)tqt_cast( "TQPushButton" );
if ( pb && ( pb->autoDefault() || pb->isDefault() ) )
emit clicked();
else
@@ -717,7 +717,7 @@ void TQButton::keyPressEvent( TQKeyEvent *e )
if ( !e->isAutoRepeat() ) {
setDown( TRUE );
#ifndef QT_NO_PUSHBUTTON
- if ( ::qt_cast<TQPushButton*>(this) )
+ if ( ::tqt_cast<TQPushButton*>(this) )
emit pressed();
else
#endif
@@ -999,7 +999,7 @@ bool TQButton::isExclusiveToggle() const
#ifndef QT_NO_BUTTONGROUP
return group() && ( group()->isExclusive() ||
group()->isRadioButtonExclusive() &&
- ::qt_cast<TQRadioButton*>(this) );
+ ::tqt_cast<TQRadioButton*>(this) );
#else
return FALSE;
#endif