Author: gs
Date: Fri Jul 13 08:23:57 2007
New Revision: 39380
URL: http://svn.opensuse.org/viewcvs/yast?rev=39380&view=rev
Log:
parent is a YWidget *
Modified:
branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc
branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.cc
branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h
branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc
branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.cc
branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.h
branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc?rev=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc Fri Jul 13 08:23:57 2007
@@ -40,7 +40,7 @@
NCInputField::NCInputField( YWidget * parent,
const string & nlabel,
bool passwordMode )
- : YInputField( dynamic_cast(parent), nlabel, passwordMode )
+ : YInputField( parent, nlabel, passwordMode )
, NCWidget( parent )
, mayedit( true )
, passwd( passwordMode )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.cc?rev=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.cc Fri Jul 13 08:23:57 2007
@@ -28,9 +28,9 @@
//
// DESCRIPTION :
//
-NCLayoutBox::NCLayoutBox( NCWidget * parent,
+NCLayoutBox::NCLayoutBox( YWidget * parent,
YUIDimension dimension )
- : YLayoutBox( dynamic_cast(parent), dimension )
+ : YLayoutBox( parent, dimension )
, NCWidget( parent )
{
WIDDBG << endl;
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h?rev=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCLayoutBox.h Fri Jul 13 08:23:57 2007
@@ -49,7 +49,7 @@
public:
- NCLayoutBox( NCWidget * parent, YUIDimension dimension );
+ NCLayoutBox( YWidget * parent, YUIDimension dimension );
virtual ~NCLayoutBox();
//virtual long nicesize( YUIDimension dim ) { return YLayoutBox::nicesize( dim ); }
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=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc Fri Jul 13 08:23:57 2007
@@ -33,7 +33,7 @@
//
NCRadioButton::NCRadioButton( YWidget * parent,
const string & nlabel )
- : YRadioButton( dynamic_cast(parent), nlabel )
+ : YRadioButton( parent, nlabel )
, NCWidget( parent )
, checked( false )
{
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.cc?rev=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.cc Fri Jul 13 08:23:57 2007
@@ -28,8 +28,8 @@
//
// DESCRIPTION :
//
-NCRadioButtonGroup::NCRadioButtonGroup( NCWidget * parent )
- : YRadioButtonGroup( dynamic_cast(parent) )
+NCRadioButtonGroup::NCRadioButtonGroup( YWidget * parent )
+ : YRadioButtonGroup( parent )
, NCWidget( parent )
, focusId( 0 )
{
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.h?rev=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButtonGroup.h Fri Jul 13 08:23:57 2007
@@ -49,7 +49,7 @@
public:
- NCRadioButtonGroup( NCWidget * parent );
+ NCRadioButtonGroup( YWidget * parent );
virtual ~NCRadioButtonGroup();
//virtual long nicesize( YUIDimension dim ) { return YRadioButtonGroup::nicesize( dim ); }
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc?rev=39380&r1=39379&r2=39380&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc Fri Jul 13 08:23:57 2007
@@ -32,7 +32,7 @@
YUIDimension dim,
bool stretchable,
YLayoutSize_t layoutUnits )
- : YSpacing( (YWidget *)parent, dim, stretchable )
+ : YSpacing( parent, dim, stretchable )
, NCWidget( parent )
{
WIDDBG << endl;
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org