KDEUI
ktimezonewidget.h
Go to the documentation of this file.
63 Q_PROPERTY(QAbstractItemView::SelectionMode selectionMode READ selectionMode WRITE setSelectionMode)
static QString displayName(const KTimeZone &zone)
Format a time zone name in a standardised manner.
Definition ktimezonewidget.cpp:151
void setSelected(const QString &zone, bool selected)
Select/deselect the named time zone.
Definition ktimezonewidget.cpp:172
QAbstractItemView::SelectionMode selectionMode
Definition ktimezonewidget.h:63
QStringList selection() const
Returns the currently selected time zones.
Definition ktimezonewidget.cpp:156
void setSelectionMode(QAbstractItemView::SelectionMode mode)
Allows to select multiple timezones.
Definition ktimezonewidget.cpp:233
void setItemsCheckable(bool enable)
Makes all items show a checkbox, so that the user can select multiple timezones by means of checking ...
Definition ktimezonewidget.cpp:135
KTimeZoneWidget(QWidget *parent=0, KTimeZones *timeZones=0)
Constructs a time zone selection widget.
Definition ktimezonewidget.cpp:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.