Author: gs Date: Tue Jul 17 12:17:46 2007 New Revision: 39464 URL: http://svn.opensuse.org/viewcvs/yast?rev=39464&view=rev Log: remove obsolete code Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc?rev=39464&r1=39463&r2=39464&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc Tue Jul 17 12:17:46 2007 @@ -56,19 +56,6 @@ WIDDBG << endl; } -/////////////////////////////////////////////////////////////////// -// -// -// METHOD NAME : NCRadioButton::nicesize -// METHOD TYPE : long -// -// DESCRIPTION : -// -long NCRadioButton::nicesize( YUIDimension dim ) -{ - return dim == YD_HORIZ ? wGetDefsze().W : wGetDefsze().H; -} - int NCRadioButton::preferredWidth() { return wGetDefsze().W; Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h?rev=39464&r1=39463&r2=39464&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h Tue Jul 17 12:17:46 2007 @@ -58,8 +58,6 @@ const string & label ); virtual ~NCRadioButton(); - virtual long nicesize( YUIDimension dim ); - virtual int preferredWidth(); virtual int preferredHeight(); @@ -72,15 +70,11 @@ virtual void setLabel( const string & nlabel ); - // virtual void setValue( const YCPBoolean & newval ); - // virtual YCPBoolean getValue(); - virtual void setValue ( bool newval ); virtual bool value() { return checked; } virtual NCursesEvent wHandleInput( wint_t key ); - //virtual void setEnabling( bool do_bv ) { NCWidget::setEnabling( enabled=do_bv ); } virtual void setEnabled( bool do_bv ); virtual bool setKeyboardFocus() { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org