kalarm/lib
TimeZoneCombo Class Reference
#include <timezonecombo.h>
Inheritance diagram for TimeZoneCombo:
Public Member Functions | |
TimeZoneCombo (QWidget *parent=0) | |
void | setTimeZone (const KTimeZone &tz) |
KTimeZone | timeZone () const |
Public Member Functions inherited from ComboBox | |
ComboBox (QWidget *parent=0) | |
bool | isReadOnly () const |
virtual void | setReadOnly (bool readOnly) |
Additional Inherited Members | |
Protected Member Functions inherited from ComboBox | |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | keyReleaseEvent (QKeyEvent *) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
Detailed Description
A combo box for selecting a time zone, with a read-only option.
The widget may be set as read-only. This has the same effect as disabling it, except that its appearance is unchanged.
Definition at line 37 of file timezonecombo.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
parent The parent object of this widget.
Definition at line 28 of file timezonecombo.cpp.
Member Function Documentation
void TimeZoneCombo::setTimeZone | ( | const KTimeZone & | tz | ) |
Selects the specified time zone.
Definition at line 54 of file timezonecombo.cpp.
KTimeZone TimeZoneCombo::timeZone | ( | ) | const |
Returns the currently selected time zone, or null if none.
Definition at line 49 of file timezonecombo.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.