[yast-commit] r41998 - /branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc
Author: visnov Date: Tue Nov 13 11:26:40 2007 New Revision: 41998 URL: http://svn.opensuse.org/viewcvs/yast?rev=41998&view=rev Log: compile Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc Modified: branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc?rev=41998&r1=41997&r2=41998&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc (original) +++ branches/tmp/sh/mod-ui/web-wt/src/YWebWidgetFactory.cc Tue Nov 13 11:26:40 2007 @@ -22,6 +22,8 @@ #include "YTypes.h" +#include "YWebPushButton.h" + using std::string; class YWidget; @@ -43,7 +45,6 @@ class YMultiSelectionBox; class YPackageSelector; class YProgressBar; -class YPushButton; class YRadioButton; class YRadioButtonGroup; class YReplacePoint; @@ -85,7 +86,11 @@ // Common Leaf Widgets // - YPushButton * YWebWidgetFactory::createPushButton ( YWidget * parent, const string & label ) {} +YPushButton * YWebWidgetFactory::createPushButton ( YWidget * parent, const string & label ) +{ + return new YWebPushButton( parent, label ); +} + YLabel * YWebWidgetFactory::createLabel ( YWidget * parent, const string & text, bool isHeading, bool isOutputField ) {} YInputField * YWebWidgetFactory::createInputField ( YWidget * parent, const string & label, bool passwordMode ) {} YCheckBox * YWebWidgetFactory::createCheckBox ( YWidget * parent, const string & label, bool isChecked ) {} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
visnov@svn.opensuse.org