26 #define YUILogComponent "ui"
30 #include "YPushButton.h"
36 : wizardMode( wizardMode )
37 , nextButtonIsProtected(
false )
40 YWizardMode wizardMode;
41 bool nextButtonIsProtected;
48 const std::string & backButtonLabel,
49 const std::string & abortButtonLabel,
50 const std::string & nextButtonLabel,
51 YWizardMode wizardMode )
55 YUI_CHECK_NEW( priv );
76 return priv->wizardMode;
82 return priv->nextButtonIsProtected;
89 priv->nextButtonIsProtected = protect;
101 yuiError() <<
"NULL button" << std::endl;
108 yuiDebug() <<
"YWizard is active" << std::endl;
122 propSet.
add(
YProperty( YUIProperty_CurrentItem, YStringProperty,
true ) );
135 if ( propertyName == YUIProperty_CurrentItem )
return YPropertyValue( YOtherProperty );