[yast-commit] r45403 - in /trunk/libyui/src: YCheckBox.h YWidget.h
Author: sh-sh-sh Date: Wed Mar 12 18:56:52 2008 New Revision: 45403 URL: http://svn.opensuse.org/viewcvs/yast?rev=45403&view=rev Log: reasonable defaults Modified: trunk/libyui/src/YCheckBox.h trunk/libyui/src/YWidget.h Modified: trunk/libyui/src/YCheckBox.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YCheckBox.h?rev=45403&r1=45402&r2=45403&view=diff ============================================================================== --- trunk/libyui/src/YCheckBox.h (original) +++ trunk/libyui/src/YCheckBox.h Wed Mar 12 18:56:52 2008 @@ -95,7 +95,7 @@ /** * Simplified access to setValue(): Check of uncheck the CheckBox. **/ - void setChecked( bool checked ) + void setChecked( bool checked = true ) { setValue( checked ? YCheckBox_on : YCheckBox_off ); } /** Modified: trunk/libyui/src/YWidget.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YWidget.h?rev=45403&r1=45402&r2=45403&view=diff ============================================================================== --- trunk/libyui/src/YWidget.h (original) +++ trunk/libyui/src/YWidget.h Wed Mar 12 18:56:52 2008 @@ -435,7 +435,7 @@ /** * Sets the Notify property **/ - void setNotify( bool notify ); + void setNotify( bool notify = true ); /** * Returns whether the widget will notify, i.e. will case UserInput to -- 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