libyui
3.0.10
|
Public Member Functions | |
virtual | ~YTimezoneSelector () |
virtual const char * | widgetClass () const |
virtual bool | setProperty (const std::string &propertyName, const YPropertyValue &val) |
virtual YPropertyValue | getProperty (const std::string &propertyName) |
virtual const YPropertySet & | propertySet () |
virtual std::string | currentZone () const =0 |
virtual void | setCurrentZone (const std::string &zone, bool zoom)=0 |
Protected Member Functions | |
YTimezoneSelector (YWidget *parent, const std::string &pixmap, const std::map< std::string, std::string > &timezones) |
Definition at line 35 of file YTimezoneSelector.h.
YTimezoneSelector::YTimezoneSelector | ( | YWidget * | parent, |
const std::string & | pixmap, | ||
const std::map< std::string, std::string > & | timezones | ||
) | [protected] |
Constructor. This widget isn't doing much on it's own, but the UI may have some fancy use.
The widget is only displaying timezones/cities in that map
Definition at line 41 of file YTimezoneSelector.cc.
YTimezoneSelector::~YTimezoneSelector | ( | ) | [virtual] |
Destructor.
Definition at line 49 of file YTimezoneSelector.cc.
virtual std::string YTimezoneSelector::currentZone | ( | ) | const [pure virtual] |
subclasses have to implement this to return value
YPropertyValue YTimezoneSelector::getProperty | ( | const std::string & | propertyName | ) | [virtual] |
Get a property. Reimplemented from YWidget.
This method may throw YUIPropertyExceptions.
Reimplemented from YWidget.
Definition at line 91 of file YTimezoneSelector.cc.
const YPropertySet & YTimezoneSelector::propertySet | ( | ) | [virtual] |
Return this class's property set. This also initializes the property upon the first call.
Reimplemented from YWidget.
Reimplemented from YWidget.
Definition at line 56 of file YTimezoneSelector.cc.
virtual void YTimezoneSelector::setCurrentZone | ( | const std::string & | zone, |
bool | zoom | ||
) | [pure virtual] |
subclasses have to implement this to set value
bool YTimezoneSelector::setProperty | ( | const std::string & | propertyName, |
const YPropertyValue & | val | ||
) | [virtual] |
Set a property. Reimplemented from YWidget.
This function may throw YUIPropertyExceptions.
This function returns 'true' if the value was successfully set and 'false' if that value requires special handling (not in error cases: those are covered by exceptions).
Reimplemented from YWidget.
Definition at line 72 of file YTimezoneSelector.cc.
virtual const char* YTimezoneSelector::widgetClass | ( | ) | const [inline, virtual] |
Return a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.
Definition at line 60 of file YTimezoneSelector.h.