class KTimeZoneWidget |
|
|
A time zone selection widget. Detail: This class provides for selection of one or more time zones. Example: To use the class to implement a system timezone selection feature:
To use the class to implement a multiple-choice custom time zone selector:
Author S.R.Haque |
|
Constructs a time zone selection widget.
parent - The parent widget. timeZones - The time zone database to use. If 0, the system time zone database is used. |
|
Format a time zone name in a standardised manner. The returned value is transformed via an i18n lookup, so the caller should previously have set the time zone catalog: KGlobal.locale()->insertCatalog( "timezones4" ); Returns formatted time zone name. |
|
Returns the currently selected time zones. See QTreeView.selectionChanged(). Returns a list of time zone names, in the format used by the database supplied to the {@link KTimeZoneWidget() } constructor. |
|
Select/deselect the named time zone.
zone - The time zone name to be selected. Ignored if not recognized! selected - The new selection state. |