Author: gs
Date: Thu Jul 5 13:25:39 2007
New Revision: 39187
URL: http://svn.opensuse.org/viewcvs/yast?rev=39187&view=rev
Log:
first param of the widget contructor is of type YWidget * (was NCWidget
*), add contructor NCWidget( YWidget * parent )
Modified:
branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.cc
branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.h
branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.cc
branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.h
branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.cc
branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.h
branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc
branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.h
branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.cc
branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.h
branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.cc
branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.h
branches/tmp/sh/mod-ui/ncurses/src/NCFrame.cc
branches/tmp/sh/mod-ui/ncurses/src/NCFrame.h
branches/tmp/sh/mod-ui/ncurses/src/NCImage.cc
branches/tmp/sh/mod-ui/ncurses/src/NCImage.h
branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc
branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h
branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc
branches/tmp/sh/mod-ui/ncurses/src/NCIntField.h
branches/tmp/sh/mod-ui/ncurses/src/NCLabel.cc
branches/tmp/sh/mod-ui/ncurses/src/NCLabel.h
branches/tmp/sh/mod-ui/ncurses/src/NCLogView.cc
branches/tmp/sh/mod-ui/ncurses/src/NCLogView.h
branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc
branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.h
branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc
branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.h
branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.cc
branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.h
branches/tmp/sh/mod-ui/ncurses/src/NCPackageSelectorPlugin.cc
branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.cc
branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.h
branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc
branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.h
branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.cc
branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.h
branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc
branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.h
branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc
branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h
branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.cc
branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.h
branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc
branches/tmp/sh/mod-ui/ncurses/src/NCRichText.h
branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.cc
branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.h
branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc
branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.h
branches/tmp/sh/mod-ui/ncurses/src/NCSquash.cc
branches/tmp/sh/mod-ui/ncurses/src/NCSquash.h
branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc
branches/tmp/sh/mod-ui/ncurses/src/NCTable.h
branches/tmp/sh/mod-ui/ncurses/src/NCTree.cc
branches/tmp/sh/mod-ui/ncurses/src/NCTree.h
branches/tmp/sh/mod-ui/ncurses/src/NCWidgetFactory.cc
branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc
branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCAlignment::NCAlignment( NCWidget * parent,
+NCAlignment::NCAlignment( YWidget * parent,
YAlignmentType halign,
YAlignmentType valign )
: YAlignment( (YWidget *)parent, halign, valign )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCAlignment.h Thu Jul 5 13:25:39 2007
@@ -47,7 +47,7 @@
public:
- NCAlignment( NCWidget * parent, YAlignmentType halign, YAlignmentType valign );
+ NCAlignment( YWidget * parent, YAlignmentType halign, YAlignmentType valign );
virtual ~NCAlignment();
// virtual long nicesize( YUIDimension dim ) { return YAlignment::nicesize( dim ); }
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.cc Thu Jul 5 13:25:39 2007
@@ -35,7 +35,7 @@
//
// DESCRIPTION :
//
-NCCheckBox::NCCheckBox( NCWidget * parent, const YWidgetOpt & opt,
+NCCheckBox::NCCheckBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel,
bool check )
: YCheckBox( opt, nlabel )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCCheckBox.h Thu Jul 5 13:25:39 2007
@@ -63,7 +63,7 @@
public:
- NCCheckBox( NCWidget * parent, const YWidgetOpt & opt,
+ NCCheckBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label,
bool checked );
virtual ~NCCheckBox();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCCheckBoxFrame::NCCheckBoxFrame( NCWidget * parent, const string & nlabel,
+NCCheckBoxFrame::NCCheckBoxFrame( YWidget * parent, const string & nlabel,
bool checked )
: YCheckBoxFrame( (YWidget *)parent, nlabel, checked )
, NCWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCCheckBoxFrame.h Thu Jul 5 13:25:39 2007
@@ -55,7 +55,7 @@
public:
- NCCheckBoxFrame( NCWidget * parent, const string & label,
+ NCCheckBoxFrame( YWidget * parent, const string & label,
bool checked );
virtual ~NCCheckBoxFrame();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc Thu Jul 5 13:25:39 2007
@@ -31,7 +31,7 @@
//
// DESCRIPTION :
//
-NCComboBox::NCComboBox( NCWidget * parent, const YWidgetOpt & opt,
+NCComboBox::NCComboBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel )
: YComboBox( opt, nlabel )
, NCWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.h Thu Jul 5 13:25:39 2007
@@ -83,7 +83,7 @@
public:
- NCComboBox( NCWidget * parent, const YWidgetOpt & opt,
+ NCComboBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label );
virtual ~NCComboBox();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCEmpty::NCEmpty( NCWidget * parent )
+NCEmpty::NCEmpty( YWidget * parent )
: YEmpty( (YWidget *)parent )
, NCWidget( parent )
{
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCEmpty.h Thu Jul 5 13:25:39 2007
@@ -47,7 +47,7 @@
public:
- NCEmpty( NCWidget * parent );
+ NCEmpty( YWidget * parent );
virtual ~NCEmpty();
// virtual long nicesize( YUIDimension dim ){ return YEmpty::nicesize( dim ); }
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.cc Thu Jul 5 13:25:39 2007
@@ -181,7 +181,7 @@
//
// DESCRIPTION :
//
-NCFileSelection::NCFileSelection( NCWidget * parent,
+NCFileSelection::NCFileSelection( YWidget * parent,
const YWidgetOpt & opt,
NCFileSelectionType type,
const YCPString & iniDir )
@@ -350,7 +350,7 @@
data.reserve(6);
data.push_back( fileInfo._name );
char size_buf[50];
- sprintf( size_buf, "%lld", fileInfo._size);
+ sprintf( size_buf, "%ld", fileInfo._size);
data.push_back( size_buf );
data.push_back( fileInfo._perm );
data.push_back( fileInfo._user );
@@ -457,7 +457,7 @@
//
// DESCRIPTION :
//
-NCFileTable::NCFileTable( NCWidget * parent,
+NCFileTable::NCFileTable( YWidget * parent,
const YWidgetOpt & opt,
NCFileSelectionType type,
const YCPString & filter,
@@ -717,7 +717,7 @@
//
// DESCRIPTION :
//
-NCDirectoryTable::NCDirectoryTable( NCWidget * parent,
+NCDirectoryTable::NCDirectoryTable( YWidget * parent,
const YWidgetOpt & opt,
NCFileSelectionType type,
const YCPString & iniDir )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCFileSelection.h Thu Jul 5 13:25:39 2007
@@ -131,7 +131,7 @@
/**
* Constructor
*/
- NCFileSelection( NCWidget * parent,
+ NCFileSelection( YWidget * parent,
const YWidgetOpt & opt,
NCFileSelectionType type,
const YCPString & iniDir );
@@ -224,7 +224,7 @@
/**
* Constructor
*/
- NCFileTable( NCWidget * parent,
+ NCFileTable( YWidget * parent,
const YWidgetOpt & opt,
NCFileSelectionType type,
const YCPString & filter,
@@ -260,7 +260,7 @@
/**
* Constructor
*/
- NCDirectoryTable( NCWidget * parent,
+ NCDirectoryTable( YWidget * parent,
const YWidgetOpt & opt,
NCFileSelectionType type,
const YCPString & iniDir );
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCFrame.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCFrame.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCFrame.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCFrame.cc Thu Jul 5 13:25:39 2007
@@ -28,8 +28,8 @@
//
// DESCRIPTION :
//
-NCFrame::NCFrame( NCWidget * parent, const string & nlabel )
- : YFrame( (YWidget *)parent, nlabel )
+NCFrame::NCFrame( YWidget * parent, const string & nlabel )
+ : YFrame( parent, nlabel )
, NCWidget( parent )
{
WIDDBG << endl;
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCFrame.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCFrame.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCFrame.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCFrame.h Thu Jul 5 13:25:39 2007
@@ -53,7 +53,7 @@
public:
- NCFrame( NCWidget * parent, const string & label );
+ NCFrame( YWidget * parent, const string & label );
virtual ~NCFrame();
virtual long nicesize( YUIDimension dim );
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCImage.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCImage.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCImage.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCImage.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCImage::NCImage( NCWidget * parent, const YWidgetOpt & opt,
+NCImage::NCImage( YWidget * parent, const YWidgetOpt & opt,
YCPString defaulttext )
: YImage( opt )
, NCWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCImage.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCImage.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCImage.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCImage.h Thu Jul 5 13:25:39 2007
@@ -49,7 +49,7 @@
public:
- NCImage( NCWidget * parent, const YWidgetOpt & opt, YCPString defaulttext );
+ NCImage( YWidget * parent, const YWidgetOpt & opt, YCPString defaulttext );
virtual ~NCImage();
virtual long nicesize( YUIDimension dim );
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=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCInputField.cc Thu Jul 5 13:25:39 2007
@@ -37,9 +37,9 @@
//
// DESCRIPTION :
//
-NCInputField::NCInputField( NCWidget * parent,
- const string & nlabel,
- bool passwordMode )
+NCInputField::NCInputField( YWidget * parent,
+ const string & nlabel,
+ bool passwordMode )
: YInputField( dynamic_cast(parent), nlabel, passwordMode )
, NCWidget( parent )
, mayedit( true )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCInputField.h Thu Jul 5 13:25:39 2007
@@ -90,7 +90,7 @@
public:
- NCInputField( NCWidget * parent,
+ NCInputField( YWidget * parent,
const string & label,
bool passwordMode );
virtual ~NCInputField();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCIntField.cc Thu Jul 5 13:25:39 2007
@@ -36,7 +36,7 @@
//
// DESCRIPTION :
//
-NCIntField::NCIntField( NCWidget * parent, const YWidgetOpt & opt,
+NCIntField::NCIntField( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel,
int minV, int maxV,
int initialV )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCIntField.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCIntField.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCIntField.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCIntField.h Thu Jul 5 13:25:39 2007
@@ -70,7 +70,7 @@
public:
- NCIntField( NCWidget * parent, const YWidgetOpt & opt,
+ NCIntField( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label,
int minValue, int maxValue,
int initialValue );
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLabel.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLabel.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCLabel.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCLabel.cc Thu Jul 5 13:25:39 2007
@@ -28,9 +28,9 @@
//
// DESCRIPTION :
//
-NCLabel::NCLabel( NCWidget * parent, const string & nlabel,
+NCLabel::NCLabel( YWidget * parent, const string & nlabel,
bool isHeading, bool isOutputField )
- : YLabel( (YWidget *)parent, nlabel, isHeading, isOutputField )
+ : YLabel( parent, nlabel, isHeading, isOutputField )
, NCWidget( parent )
, heading( isHeading )
{
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLabel.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLabel.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCLabel.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCLabel.h Thu Jul 5 13:25:39 2007
@@ -52,7 +52,7 @@
public:
- NCLabel( NCWidget * parent, const string & text,
+ NCLabel( YWidget * parent, const string & text,
bool isHeading, bool isOutputField );
virtual ~NCLabel();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLogView.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLogView.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCLogView.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCLogView.cc Thu Jul 5 13:25:39 2007
@@ -27,7 +27,7 @@
//
// DESCRIPTION :
//
-NCLogView::NCLogView( NCWidget * parent, const YWidgetOpt & opt,
+NCLogView::NCLogView( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel,
int visibleLines,
int maxLines )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCLogView.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCLogView.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCLogView.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCLogView.h Thu Jul 5 13:25:39 2007
@@ -55,7 +55,7 @@
public:
- NCLogView( NCWidget * parent, const YWidgetOpt & opt,
+ NCLogView( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label,
int visibleLines,
int maxLines );
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc Thu Jul 5 13:25:39 2007
@@ -31,7 +31,7 @@
//
// DESCRIPTION :
//
-NCMenuButton::NCMenuButton( NCWidget * parent, const YWidgetOpt & opt,
+NCMenuButton::NCMenuButton( YWidget * parent, const YWidgetOpt & opt,
YCPString nlabel )
: YMenuButton( opt, nlabel )
, NCWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.h Thu Jul 5 13:25:39 2007
@@ -54,7 +54,7 @@
public:
- NCMenuButton( NCWidget * parent, const YWidgetOpt & opt,
+ NCMenuButton( YWidget * parent, const YWidgetOpt & opt,
YCPString label );
virtual ~NCMenuButton();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc Thu Jul 5 13:25:39 2007
@@ -27,7 +27,7 @@
//
// DESCRIPTION :
//
-NCMultiLineEdit::NCMultiLineEdit( NCWidget * parent, const YWidgetOpt & opt,
+NCMultiLineEdit::NCMultiLineEdit( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel,
const YCPString & initialText )
: YMultiLineEdit( opt, nlabel )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.h Thu Jul 5 13:25:39 2007
@@ -63,7 +63,7 @@
public:
- NCMultiLineEdit( NCWidget * parent, const YWidgetOpt & opt,
+ NCMultiLineEdit( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label,
const YCPString & initialText );
virtual ~NCMultiLineEdit();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCMultiSelectionBox::NCMultiSelectionBox( NCWidget * parent, const YWidgetOpt & opt,
+NCMultiSelectionBox::NCMultiSelectionBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel )
: YMultiSelectionBox( opt, nlabel )
, NCPadWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMultiSelectionBox.h Thu Jul 5 13:25:39 2007
@@ -121,7 +121,7 @@
public:
- NCMultiSelectionBox( NCWidget * parent, const YWidgetOpt & opt,
+ NCMultiSelectionBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label );
virtual ~NCMultiSelectionBox();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPackageSelectorPlugin.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPackageSelectorPlugin.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPackageSelectorPlugin.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPackageSelectorPlugin.cc Thu Jul 5 13:25:39 2007
@@ -95,7 +95,7 @@
NCDBG << "Creating a NCPkgTable" << endl;
try
{
- w = new NCPkgTable( dynamic_cast( parent ), opt );
+ w = new NCPkgTable( parent, opt );
}
catch (const std::exception & e)
{
@@ -109,7 +109,7 @@
else
{
NCERR << "PkgSpecial( " << subwidget->toString() << " ) not found - take default `Label" << endl;
- w = new NCLabel( dynamic_cast( parent ), subwidget->toString(), false, false );
+ w = new NCLabel( parent, subwidget->toString(), false, false );
}
return w;
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.cc Thu Jul 5 13:25:39 2007
@@ -227,6 +227,21 @@
defsze = wsze( 3, 10 ) + 2;
}
+NCPadWidget::NCPadWidget( YWidget * myparent )
+ : NCWidget( myparent )
+ , padwin( 0 )
+ , hsb ( 0 )
+ , vsb ( 0 )
+ , multidraw( false )
+ , pad ( 0 )
+ , hasHeadline( false )
+ , activeLabelOnly( false )
+{
+ WIDDBG << endl;
+ hotlabel = &label;
+ defsze = wsze( 3, 10 ) + 2;
+}
+
///////////////////////////////////////////////////////////////////
//
//
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPadWidget.h Thu Jul 5 13:25:39 2007
@@ -105,6 +105,8 @@
public:
NCPadWidget( NCWidget * myparent = 0 );
+ NCPadWidget( YWidget * parent );
+
virtual ~NCPadWidget();
size_t Columns( ) { return minPadSze.W; }
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc Thu Jul 5 13:25:39 2007
@@ -113,7 +113,7 @@
//
// DESCRIPTION :
//
-NCPkgTable::NCPkgTable( NCWidget * parent, const YWidgetOpt & opt )
+NCPkgTable::NCPkgTable( YWidget * parent, const YWidgetOpt & opt )
: NCTable( parent, opt, vector<string> (), false )
, packager ( 0 )
, statusStrategy( new PackageStatStrategy ) // default strategy: packages
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.h Thu Jul 5 13:25:39 2007
@@ -135,7 +135,7 @@
/**
* Constructor
*/
- NCPkgTable( NCWidget * parent, const YWidgetOpt & opt );
+ NCPkgTable( YWidget * parent, const YWidgetOpt & opt );
virtual ~NCPkgTable();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCProgressBar::NCProgressBar( NCWidget * parent, const YWidgetOpt & opt,
+NCProgressBar::NCProgressBar( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel,
const YCPInteger & maxprogress,
const YCPInteger & progress )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCProgressBar.h Thu Jul 5 13:25:39 2007
@@ -63,7 +63,7 @@
public:
- NCProgressBar( NCWidget * parent, const YWidgetOpt & opt,
+ NCProgressBar( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label,
const YCPInteger & maxprogress,
const YCPInteger & progress );
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc Thu Jul 5 13:25:39 2007
@@ -28,8 +28,8 @@
//
// DESCRIPTION :
//
-NCPushButton::NCPushButton( NCWidget * parent, const string & nlabel )
- : YPushButton( (YWidget *)parent, nlabel )
+NCPushButton::NCPushButton( YWidget * parent, const string & nlabel )
+ : YPushButton( parent, nlabel )
, NCWidget( parent )
{
WIDDBG << endl;
@@ -137,10 +137,12 @@
//
void NCPushButton::wRedraw()
{
+ NCMIL << "Redraw" << endl;
if ( !win )
return;
-
+ NCMIL << "Redraw - danach" << endl;
+
const NCstyle::StWidget & style( widgetStyle() );
win->bkgd( style.plain );
win->clear();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.h Thu Jul 5 13:25:39 2007
@@ -51,7 +51,7 @@
public:
- NCPushButton( NCWidget * parent, const string & label );
+ NCPushButton( YWidget * parent, const string & label );
virtual ~NCPushButton();
virtual long nicesize( YUIDimension 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=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.cc Thu Jul 5 13:25:39 2007
@@ -31,7 +31,7 @@
//
// DESCRIPTION :
//
-NCRadioButton::NCRadioButton( NCWidget * parent,
+NCRadioButton::NCRadioButton( YWidget * parent,
const string & nlabel )
: YRadioButton( dynamic_cast(parent), nlabel )
, NCWidget( parent )
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=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRadioButton.h Thu Jul 5 13:25:39 2007
@@ -54,7 +54,7 @@
public:
- NCRadioButton( NCWidget * parent,
+ NCRadioButton( YWidget * parent,
const string & label );
virtual ~NCRadioButton();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCReplacePoint::NCReplacePoint( NCWidget * parent )
+NCReplacePoint::NCReplacePoint( YWidget * parent )
: YReplacePoint( (YWidget *)parent )
, NCWidget( parent )
{
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCReplacePoint.h Thu Jul 5 13:25:39 2007
@@ -47,7 +47,7 @@
public:
- NCReplacePoint( NCWidget * parent );
+ NCReplacePoint( YWidget * parent );
virtual ~NCReplacePoint();
//virtual long nicesize( YUIDimension dim ) { return YReplacePoint::nicesize( dim ); }
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRichText.cc Thu Jul 5 13:25:39 2007
@@ -168,7 +168,7 @@
//
// DESCRIPTION :
//
-NCRichText::NCRichText( NCWidget * parent, const YWidgetOpt & opt,
+NCRichText::NCRichText( YWidget * parent, const YWidgetOpt & opt,
const YCPString & ntext )
: YRichText( opt, ntext )
, NCPadWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCRichText.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCRichText.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCRichText.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCRichText.h Thu Jul 5 13:25:39 2007
@@ -199,7 +199,7 @@
public:
- NCRichText( NCWidget * parent, const YWidgetOpt & opt,
+ NCRichText( YWidget * parent, const YWidgetOpt & opt,
const YCPString & text );
virtual ~NCRichText();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.cc Thu Jul 5 13:25:39 2007
@@ -27,7 +27,7 @@
//
// DESCRIPTION :
//
-NCSelectionBox::NCSelectionBox( NCWidget * parent, const YWidgetOpt & opt,
+NCSelectionBox::NCSelectionBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel )
: YSelectionBox( opt, nlabel )
, NCPadWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSelectionBox.h Thu Jul 5 13:25:39 2007
@@ -60,7 +60,7 @@
public:
- NCSelectionBox( NCWidget * parent, const YWidgetOpt & opt,
+ NCSelectionBox( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label );
virtual ~NCSelectionBox();
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=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCSpacing::NCSpacing( NCWidget * parent,
+NCSpacing::NCSpacing( YWidget * parent,
YUIDimension dim,
bool stretchable,
YLayoutSize_t layoutUnits )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSpacing.h Thu Jul 5 13:25:39 2007
@@ -49,7 +49,7 @@
public:
- NCSpacing( NCWidget * parent, YUIDimension dim,
+ NCSpacing( YWidget * parent, YUIDimension dim,
bool stretchable, YLayoutSize_t layoutUnits );
virtual ~NCSpacing();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCSquash.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCSquash.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSquash.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSquash.cc Thu Jul 5 13:25:39 2007
@@ -28,7 +28,7 @@
//
// DESCRIPTION :
//
-NCSquash::NCSquash( NCWidget * parent,
+NCSquash::NCSquash( YWidget * parent,
bool hsquash, bool vsquash )
: YSquash( (YWidget *)parent, hsquash, vsquash )
, NCWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCSquash.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCSquash.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCSquash.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCSquash.h Thu Jul 5 13:25:39 2007
@@ -47,7 +47,7 @@
public:
- NCSquash( NCWidget * parent, bool hsquash, bool vsquash );
+ NCSquash( YWidget * parent, bool hsquash, bool vsquash );
virtual ~NCSquash();
//virtual long nicesize( YUIDimension dim ) { return YSquash::nicesize( dim ); }
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCTable.cc Thu Jul 5 13:25:39 2007
@@ -34,7 +34,7 @@
//
// DESCRIPTION :
//
-NCTable::NCTable( NCWidget * parent, const YWidgetOpt & opt,
+NCTable::NCTable( YWidget * parent, const YWidgetOpt & opt,
vector<string> head, bool sort )
: YTable( opt, head.size() )
, NCPadWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCTable.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCTable.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCTable.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCTable.h Thu Jul 5 13:25:39 2007
@@ -72,7 +72,7 @@
public:
- NCTable( NCWidget * parent, const YWidgetOpt & opt,
+ NCTable( YWidget * parent, const YWidgetOpt & opt,
vector<string> header, bool sort );
virtual ~NCTable();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCTree.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCTree.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCTree.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCTree.cc Thu Jul 5 13:25:39 2007
@@ -181,7 +181,7 @@
//
// DESCRIPTION :
//
-NCTree::NCTree( NCWidget * parent, const YWidgetOpt & opt,
+NCTree::NCTree( YWidget * parent, const YWidgetOpt & opt,
const YCPString & nlabel )
: YTree( opt, nlabel )
, NCPadWidget( parent )
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCTree.h
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCTree.h?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCTree.h (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCTree.h Thu Jul 5 13:25:39 2007
@@ -62,7 +62,7 @@
public:
- NCTree( NCWidget * parent, const YWidgetOpt & opt,
+ NCTree( YWidget * parent, const YWidgetOpt & opt,
const YCPString & label );
virtual ~NCTree();
Modified: branches/tmp/sh/mod-ui/ncurses/src/NCWidgetFactory.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCWidgetFactory.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCWidgetFactory.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCWidgetFactory.cc Thu Jul 5 13:25:39 2007
@@ -69,7 +69,7 @@
NCPushButton *
NCWidgetFactory::createPushButton( YWidget * parent, const string & label )
{
- NCPushButton * pushButton = new NCPushButton( dynamic_cast(parent), label );
+ NCPushButton * pushButton = new NCPushButton( parent, label );
YUI_CHECK_NEW( pushButton );
return pushButton;
@@ -83,7 +83,7 @@
bool isHeading,
bool isOutputField )
{
- NCLabel * label = new NCLabel( dynamic_cast( parent ), text, isHeading, isOutputField );
+ NCLabel * label = new NCLabel( parent, text, isHeading, isOutputField );
YUI_CHECK_NEW( label );
return label;
@@ -94,7 +94,7 @@
NCInputField *
NCWidgetFactory::createInputField( YWidget * parent, const string & label, bool passwordMode )
{
- NCInputField * inputField = new NCInputField( dynamic_cast( parent ), label, passwordMode );
+ NCInputField * inputField = new NCInputField( parent, label, passwordMode );
YUI_CHECK_NEW( inputField );
return inputField;
@@ -113,7 +113,7 @@
NCRadioButton *
NCWidgetFactory::createRadioButton( YWidget * parent, const string & label, bool checked )
{
- NCRadioButton * radioButton = new NCRadioButton( dynamic_cast( parent ), label );
+ NCRadioButton * radioButton = new NCRadioButton( parent, label );
YUI_CHECK_NEW( radioButton );
// Register radio button with its button group.
@@ -253,7 +253,7 @@
NCSpacing *
NCWidgetFactory::createSpacing( YWidget * parent, YUIDimension dim, bool stretchable, YLayoutSize_t size )
{
- NCSpacing * spacing = new NCSpacing( dynamic_cast( parent ), dim, stretchable, size );
+ NCSpacing * spacing = new NCSpacing( parent, dim, stretchable, size );
YUI_CHECK_NEW( spacing );
return spacing;
@@ -271,7 +271,7 @@
NCEmpty *
NCWidgetFactory::createEmpty( YWidget * parent )
{
- NCEmpty * empty = new NCEmpty( dynamic_cast( parent ) );
+ NCEmpty * empty = new NCEmpty( parent );
YUI_CHECK_NEW( empty );
return empty;
@@ -284,7 +284,7 @@
YAlignmentType horAlignment,
YAlignmentType vertAlignment )
{
- NCAlignment * alignment = new NCAlignment( dynamic_cast( parent ), horAlignment, vertAlignment );
+ NCAlignment * alignment = new NCAlignment( parent, horAlignment, vertAlignment );
YUI_CHECK_NEW( alignment );
return alignment;
@@ -294,7 +294,7 @@
NCSquash *
NCWidgetFactory::createSquash( YWidget * parent, bool horSquash, bool vertSquash )
{
- NCSquash * squash = new NCSquash( dynamic_cast(parent), horSquash, vertSquash );
+ NCSquash * squash = new NCSquash( parent, horSquash, vertSquash );
YUI_CHECK_NEW( squash );
return squash;
@@ -305,7 +305,7 @@
NCFrame *
NCWidgetFactory::createFrame( YWidget * parent, const string & label )
{
- NCFrame * frame = new NCFrame( dynamic_cast(parent), label );
+ NCFrame * frame = new NCFrame( parent, label );
YUI_CHECK_NEW( frame );
return frame;
@@ -316,7 +316,7 @@
NCCheckBoxFrame *
NCWidgetFactory::createCheckBoxFrame( YWidget * parent, const string & label, bool checked )
{
- NCCheckBoxFrame * checkBoxFrame = new NCCheckBoxFrame( dynamic_cast( parent ), label, checked );
+ NCCheckBoxFrame * checkBoxFrame = new NCCheckBoxFrame( parent, label, checked );
YUI_CHECK_NEW( checkBoxFrame );
return checkBoxFrame;
@@ -338,7 +338,7 @@
NCReplacePoint *
NCWidgetFactory::createReplacePoint( YWidget * parent )
{
- NCReplacePoint * replacePoint = new NCReplacePoint( dynamic_cast( parent ) );
+ NCReplacePoint * replacePoint = new NCReplacePoint( parent );
YUI_CHECK_NEW( replacePoint );
return replacePoint;
Modified: branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc Thu Jul 5 13:25:39 2007
@@ -352,6 +352,7 @@
UIDBG << "Flush input buffer - new dialog" << endl;
::flushinp();
+ NCMIL << "Calling createDialog()" << endl;
NCDialog * dialog = new NCDialog( opt );
UIDBG << dialog << endl;
return dialog;
@@ -385,14 +386,14 @@
YUIDimension dimension )
{
ONCREATE;
- return new NCLayoutBox( dynamic_cast( parent ), dimension );
+ return new NCLayoutBox( parent, dimension );
}
#endif
YSingleChildContainerWidget * YNCursesUI::createReplacePoint( YWidget * parent )
{
ONCREATE;
- return new NCReplacePoint( dynamic_cast( parent ) );
+ return new NCReplacePoint( parent );
}
YSingleChildContainerWidget * YNCursesUI::createAlignment( YWidget * parent,
@@ -400,8 +401,7 @@
YAlignmentType valign )
{
ONCREATE;
- return new NCAlignment( dynamic_cast( parent ),
- halign, valign );
+ return new NCAlignment( parent, halign, valign );
}
YSingleChildContainerWidget * YNCursesUI::createSquash( YWidget * parent,
@@ -409,22 +409,21 @@
bool vsquash )
{
ONCREATE;
- return new NCSquash( dynamic_cast( parent ),
- hsquash, vsquash );
+ return new NCSquash( parent, hsquash, vsquash );
}
YSingleChildContainerWidget * YNCursesUI::createFrame( YWidget * parent,
const string & label )
{
ONCREATE;
- return new NCFrame( dynamic_cast( parent ), label );
+ return new NCFrame( parent, label );
}
YSingleChildContainerWidget * YNCursesUI::createCheckBoxFrame( YWidget * parent,
const string & label, bool checked )
{
ONCREATE;
- return new NCCheckBoxFrame( dynamic_cast( parent ), label, checked );
+ return new NCCheckBoxFrame( parent, label, checked );
}
///////////////////////////////////////////////////////////////////
@@ -436,7 +435,7 @@
YWidget * YNCursesUI::createEmpty( YWidget * parent )
{
ONCREATE;
- return new NCEmpty( dynamic_cast( parent ) );
+ return new NCEmpty( parent );
}
@@ -446,24 +445,21 @@
YLayoutSize_t layoutUnits )
{
ONCREATE;
- return new NCSpacing( dynamic_cast( parent ), dim,
- stretchable, layoutUnits );
+ return new NCSpacing( parent, dim, stretchable, layoutUnits );
}
YWidget * YNCursesUI::createLabel( YWidget * parent, const string & text,
bool isHeading, bool isOutputField )
{
ONCREATE;
- return new NCLabel( dynamic_cast( parent ), text,
- isHeading, isOutputField );
+ return new NCLabel( parent, text, isHeading, isOutputField );
}
YWidget * YNCursesUI::createRichText( YWidget * parent, YWidgetOpt & opt,
const YCPString & text )
{
ONCREATE;
- return new NCRichText( dynamic_cast( parent ), opt,
- text );
+ return new NCRichText( parent, opt, text );
}
YWidget * YNCursesUI::createLogView( YWidget * parent, YWidgetOpt & opt,
@@ -472,31 +468,28 @@
int maxLines )
{
ONCREATE;
- return new NCLogView( dynamic_cast( parent ), opt,
- label, visibleLines, maxLines );
+ return new NCLogView( parent, opt, label, visibleLines, maxLines );
}
YWidget * YNCursesUI::createPushButton( YWidget * parent,
const string & label )
{
ONCREATE;
- return new NCPushButton( dynamic_cast( parent ), label );
+ return new NCPushButton( parent, label );
}
YWidget * YNCursesUI::createMenuButton( YWidget * parent, YWidgetOpt & opt,
const YCPString & label )
{
ONCREATE;
- return new NCMenuButton( dynamic_cast( parent ), opt,
- label );
+ return new NCMenuButton( parent, opt, label );
}
YWidget * YNCursesUI::createRadioButton( YWidget * parent,
const string & label )
{
ONCREATE;
- return new NCRadioButton( dynamic_cast( parent ),
- label );
+ return new NCRadioButton( parent, label );
}
YWidget * YNCursesUI::createCheckBox( YWidget * parent, YWidgetOpt & opt,
@@ -504,8 +497,7 @@
bool checked )
{
ONCREATE;
- return new NCCheckBox( dynamic_cast( parent ), opt,
- label, checked );
+ return new NCCheckBox( parent, opt, label, checked );
}
YWidget * YNCursesUI::createInputField( YWidget * parent,
@@ -513,8 +505,7 @@
bool passwordMode )
{
ONCREATE;
- return new NCInputField( dynamic_cast( parent ),
- label, passwordMode );
+ return new NCInputField( parent, label, passwordMode );
}
YWidget *YNCursesUI::createMultiLineEdit( YWidget * parent, YWidgetOpt & opt,
@@ -522,48 +513,42 @@
const YCPString & initialText )
{
ONCREATE;
- return new NCMultiLineEdit( dynamic_cast( parent ), opt,
- label, initialText );
+ return new NCMultiLineEdit( parent, opt, label, initialText );
}
YWidget * YNCursesUI::createSelectionBox( YWidget * parent, YWidgetOpt & opt,
const YCPString & label )
{
ONCREATE;
- return new NCSelectionBox( dynamic_cast( parent ), opt,
- label );
+ return new NCSelectionBox( parent, opt, label );
}
YWidget * YNCursesUI::createMultiSelectionBox( YWidget *parent, YWidgetOpt & opt,
const YCPString & label )
{
ONCREATE;
- return new NCMultiSelectionBox( dynamic_cast( parent ), opt,
- label );
+ return new NCMultiSelectionBox( parent, opt, label );
}
YWidget * YNCursesUI::createComboBox( YWidget * parent, YWidgetOpt & opt,
const YCPString & label )
{
ONCREATE;
- return new NCComboBox( dynamic_cast( parent ), opt,
- label );
+ return new NCComboBox( parent, opt, label );
}
YWidget * YNCursesUI::createTree( YWidget * parent, YWidgetOpt & opt,
const YCPString & label )
{
ONCREATE;
- return new NCTree( dynamic_cast( parent ), opt,
- label );
+ return new NCTree( parent, opt, label );
}
YWidget * YNCursesUI::createTable( YWidget * parent, YWidgetOpt & opt,
vector<string> header )
{
ONCREATE;
- return new NCTable( dynamic_cast( parent ), opt,
- header, true );
+ return new NCTable( parent, opt, header, true );
}
YWidget * YNCursesUI::createProgressBar( YWidget * parent, YWidgetOpt & opt,
@@ -572,8 +557,7 @@
const YCPInteger & progress )
{
ONCREATE;
- return new NCProgressBar( dynamic_cast( parent ), opt,
- label, maxprogress, progress );
+ return new NCProgressBar( parent, opt, label, maxprogress, progress );
}
YWidget * YNCursesUI::createImage( YWidget * parent, YWidgetOpt & opt,
@@ -581,17 +565,15 @@
YCPString defaulttext )
{
ONCREATE;
- return new NCImage( dynamic_cast( parent ), opt,
- defaulttext );
+ return new NCImage( parent, opt, defaulttext );
}
YWidget * YNCursesUI::createImage( YWidget * parent, YWidgetOpt & opt,
- YCPString /* not used */,
- YCPString defaulttext )
+ YCPString /* not used */,
+ YCPString defaulttext )
{
ONCREATE;
- return new NCImage( dynamic_cast( parent ), opt,
- defaulttext );
+ return new NCImage( parent, opt, defaulttext );
}
@@ -601,8 +583,7 @@
int initialValue )
{
ONCREATE;
- return new NCIntField( dynamic_cast( parent ), opt,
- label, minValue, maxValue, initialValue );
+ return new NCIntField( parent, opt, label, minValue, maxValue, initialValue );
}
///////////////////////////////////////////////////////////////////
Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc?rev=39187&r1=39186&r2=39187&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc Thu Jul 5 13:25:39 2007
@@ -48,7 +48,7 @@
protected:
virtual NCursesEvent wHandleInput( wint_t ch );
public:
- NCProblemSelectionBox (NCWidget * parent, const YWidgetOpt & opt,
+ NCProblemSelectionBox (YWidget * parent, const YWidgetOpt & opt,
const YCPString & label, NCPkgPopupDeps * aDepsPopup)
: NCSelectionBox (parent, opt, label), depsPopup (aDepsPopup) {}
virtual ~NCProblemSelectionBox () {}
@@ -64,7 +64,7 @@
protected:
virtual NCursesEvent wHandleInput( wint_t ch );
public:
- NCSolutionSelectionBox (NCWidget * parent, const YWidgetOpt & opt,
+ NCSolutionSelectionBox (YWidget * parent, const YWidgetOpt & opt,
const YCPString & label, NCPkgPopupDeps * aDepsPopup)
: NCMultiSelectionBox (parent, opt, label), depsPopup (aDepsPopup) {}
virtual ~NCSolutionSelectionBox () {}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org