[yast-commit] r43032 - in /branches/unsupported/yast-qt3/src: YQGenericButton.cc YQGenericButton.h
Author: sh-sh-sh Date: Wed Dec 12 16:54:58 2007 New Revision: 43032 URL: http://svn.opensuse.org/viewcvs/yast?rev=43032&view=rev Log: last pending change Modified: branches/unsupported/yast-qt3/src/YQGenericButton.cc branches/unsupported/yast-qt3/src/YQGenericButton.h Modified: branches/unsupported/yast-qt3/src/YQGenericButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/unsupported/yast-qt3/src/YQGenericButton.cc?rev=43032&r1=43031&r2=43032&view=diff ============================================================================== --- branches/unsupported/yast-qt3/src/YQGenericButton.cc (original) +++ branches/unsupported/yast-qt3/src/YQGenericButton.cc Wed Dec 12 16:54:58 2007 @@ -36,7 +36,6 @@ , YPushButton( parent, label ) , _dialog( 0 ) , _qPushButton( 0 ) - , _setDefaultButtonRecursive( false ) { setWidgetRep( 0 ); } @@ -83,23 +82,6 @@ } -void -YQGenericButton::setDefaultButton( bool def ) -{ - YPushButton::setDefaultButton( def ); - - if ( ! _setDefaultButtonRecursive ) - { - _setDefaultButtonRecursive = true; - - if ( _dialog && def ) - dialog()->setDefaultButton( this ); - - _setDefaultButtonRecursive = true; - } -} - - void YQGenericButton::setEnabled( bool enabled ) { if ( _qPushButton ) Modified: branches/unsupported/yast-qt3/src/YQGenericButton.h URL: http://svn.opensuse.org/viewcvs/yast/branches/unsupported/yast-qt3/src/YQGenericButton.h?rev=43032&r1=43031&r2=43032&view=diff ============================================================================== --- branches/unsupported/yast-qt3/src/YQGenericButton.h (original) +++ branches/unsupported/yast-qt3/src/YQGenericButton.h Wed Dec 12 16:54:58 2007 @@ -94,13 +94,6 @@ bool isShownAsDefault() const; /** - * Set this button's default button state. - * - * Reimplemented from YPushButton. - **/ - virtual void setDefaultButton( bool def = true ); - - /** * Accept the keyboard focus. **/ virtual bool setKeyboardFocus(); @@ -161,7 +154,6 @@ YQDialog * _dialog; QPushButton * _qPushButton; - bool _setDefaultButtonRecursive; }; #endif // YQGenericButton_h -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org