diff options
author | Timothy Pearson <[email protected]> | 2012-03-06 20:38:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-06 20:38:40 -0600 |
commit | eb1d1e0dec5720ace27395e290b7093cd68b150d (patch) | |
tree | 04a199ef5ea853d86a6f9a44716c0874d41c20f6 /src/widgets/qpushbutton.cpp | |
parent | ae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff) | |
download | tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip |
Automated update from qt3
Diffstat (limited to 'src/widgets/qpushbutton.cpp')
-rw-r--r-- | src/widgets/qpushbutton.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/qpushbutton.cpp b/src/widgets/qpushbutton.cpp index 09e57b119..3e3925ab7 100644 --- a/src/widgets/qpushbutton.cpp +++ b/src/widgets/qpushbutton.cpp @@ -335,7 +335,7 @@ void TQPushButton::init() hasMenuArrow = FALSE; flt = FALSE; #ifndef QT_NO_DIALOG - autoDefButton = ::qt_cast<TQDialog*>(topLevelWidget()) != 0; + autoDefButton = ::tqt_cast<TQDialog*>(topLevelWidget()) != 0; #else autoDefButton = FALSE; #endif @@ -389,7 +389,7 @@ void TQPushButton::setDefault( bool enable ) return; // no change defButton = enable; #ifndef QT_NO_DIALOG - if ( defButton && ::qt_cast<TQDialog*>(topLevelWidget()) ) + if ( defButton && ::tqt_cast<TQDialog*>(topLevelWidget()) ) ((TQDialog*)topLevelWidget())->setMainDefault( this ); #endif update(); @@ -613,7 +613,7 @@ void TQPushButton::focusInEvent( TQFocusEvent *e ) if (autoDefButton && !defButton) { defButton = TRUE; #ifndef QT_NO_DIALOG - if ( defButton && ::qt_cast<TQDialog*>(topLevelWidget()) ) + if ( defButton && ::tqt_cast<TQDialog*>(topLevelWidget()) ) ((TQDialog*)topLevelWidget())->setDefault( this ); #endif } @@ -627,7 +627,7 @@ void TQPushButton::focusOutEvent( TQFocusEvent *e ) { #ifndef QT_NO_DIALOG if ( defButton && autoDefButton ) { - if ( ::qt_cast<TQDialog*>(topLevelWidget()) ) + if ( ::tqt_cast<TQDialog*>(topLevelWidget()) ) ((TQDialog*)topLevelWidget())->setDefault( 0 ); } #endif @@ -706,7 +706,7 @@ void TQPushButton::popupPressed() bool horizontal = TRUE; bool topLeft = TRUE; // ### always TRUE #ifndef QT_NO_TOOLBAR - TQToolBar *tb = ::qt_cast<TQToolBar*>(parentWidget()); + TQToolBar *tb = ::tqt_cast<TQToolBar*>(parentWidget()); if ( tb && tb->orientation() == Vertical ) horizontal = FALSE; #endif |