diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-06 20:38:40 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-06 20:38:40 -0600 |
| commit | eb1d1e0dec5720ace27395e290b7093cd68b150d (patch) | |
| tree | 04a199ef5ea853d86a6f9a44716c0874d41c20f6 /src/widgets/qbutton.cpp | |
| parent | ae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff) | |
| download | tqt-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz tqt-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip | |
Automated update from qt3
Diffstat (limited to 'src/widgets/qbutton.cpp')
| -rw-r--r-- | src/widgets/qbutton.cpp | 8 |
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 |
