Mailinglist Archive: yast-commit (759 mails)

< Previous Next >
[yast-commit] r45403 - in /trunk/libyui/src: YCheckBox.h YWidget.h
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Wed, 12 Mar 2008 17:56:52 -0000
  • Message-id: <20080312175652.E39D431050@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages