26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YTimezoneSelector.h"
44 const string & pixmap,
45 const std::map<string, string> & timezones )
64 propSet.
add(
YProperty( YUIProperty_Value, YStringProperty ) );
65 propSet.
add(
YProperty( YUIProperty_CurrentItem, YStringProperty ) );
78 if ( propertyName == YUIProperty_Value )
83 if ( propertyName == YUIProperty_CurrentItem )
A set of properties to check names and types against.
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
void add(const YProperty &prop)
Add a property to this property set.
Transport class for the value of simple properties.
std::string stringVal() const
Methods to get the value of this property.
YPropertyType type() const
Returns the type of this property value.
Class for widget properties.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
virtual void setCurrentZone(const std::string &zone, bool zoom)=0
subclasses have to implement this to set value
YTimezoneSelector(YWidget *parent, const std::string &pixmap, const std::map< std::string, std::string > &timezones)
Constructor.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
virtual ~YTimezoneSelector()
Destructor.
virtual std::string currentZone() const =0
subclasses have to implement this to return value
virtual const YPropertySet & propertySet()
Return this class's property set.