kalarm
AlarmTimeWidget Class Reference
#include <alarmtimewidget.h>

Detailed Description
Definition at line 37 of file alarmtimewidget.h.
Public Types | |
| enum | { AT_TIME, DEFER_TIME } |
Signals | |
| void | dateOnlyToggled (bool anyTime) |
| void | pastMax () |
Public Member Functions | |
| AlarmTimeWidget (int mode, QWidget *parent=0, QWidget *custom=0) | |
| AlarmTimeWidget (const QString &groupBoxTitle, int mode, QWidget *parent=0, QWidget *custom=0) | |
| bool | anyTime () const |
| void | enableAnyTime (bool enable) |
| KDateTime | getDateTime (int *minsFromNow=0, bool checkExpired=true, bool showErrorMessage=true, QWidget **errorWidget=0) const |
| const KDateTime & | maxDateTime () const |
| void | selectTimeFromNow (int minutes=0) |
| void | setDateTime (const DateTime &) |
| void | setMaxDateTime (const DateTime &=DateTime()) |
| void | setMinDateTime (const KDateTime &=KDateTime()) |
| void | setMinDateTimeIsCurrent () |
| void | setReadOnly (bool) |
| QSize | sizeHint () const |
| KDateTime::Spec | timeSpec () const |
Static Public Member Functions | |
| static QString | i18n_TimeAfterPeriod () |
Static Public Attributes | |
| static const int | maxDelayTime = 999*60 + 59 |
Protected Slots | |
| void | dateTimeChanged () |
| void | delayTimeChanged (int) |
| void | slotAnyTimeToggled (bool) |
| void | slotButtonSet (QAbstractButton *) |
| void | slotTimeZoneChanged () |
| void | slotTimeZoneToggled (bool) |
| void | updateTimes () |
Member Enumeration Documentation
| anonymous enum |
Constructor & Destructor Documentation
| AlarmTimeWidget::AlarmTimeWidget | ( | const QString & | groupBoxTitle, | |
| int | mode, | |||
| QWidget * | parent = 0, |
|||
| QWidget * | custom = 0 | |||
| ) |
Definition at line 58 of file alarmtimewidget.cpp.
| AlarmTimeWidget::AlarmTimeWidget | ( | int | mode, | |
| QWidget * | parent = 0, |
|||
| QWidget * | custom = 0 | |||
| ) | [explicit] |
Definition at line 70 of file alarmtimewidget.cpp.
Member Function Documentation
| bool AlarmTimeWidget::anyTime | ( | ) | const [inline] |
Definition at line 55 of file alarmtimewidget.h.
| void AlarmTimeWidget::dateOnlyToggled | ( | bool | anyTime | ) | [signal] |
| void AlarmTimeWidget::dateTimeChanged | ( | ) | [protected, slot] |
Definition at line 615 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::delayTimeChanged | ( | int | minutes | ) | [protected, slot] |
Definition at line 632 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::enableAnyTime | ( | bool | enable | ) |
Definition at line 495 of file alarmtimewidget.cpp.
| KDateTime AlarmTimeWidget::getDateTime | ( | int * | minsFromNow = 0, |
|
| bool | checkExpired = true, |
|||
| bool | showErrorMessage = true, |
|||
| QWidget ** | errorWidget = 0 | |||
| ) | const |
Definition at line 273 of file alarmtimewidget.cpp.
| QString AlarmTimeWidget::i18n_TimeAfterPeriod | ( | ) | [static] |
Definition at line 48 of file alarmtimewidget.cpp.
| const KDateTime& AlarmTimeWidget::maxDateTime | ( | ) | const [inline] |
Definition at line 52 of file alarmtimewidget.h.
| void AlarmTimeWidget::pastMax | ( | ) | [signal] |
| void AlarmTimeWidget::selectTimeFromNow | ( | int | minutes = 0 |
) |
Definition at line 257 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::setDateTime | ( | const DateTime & | dt | ) |
Definition at line 351 of file alarmtimewidget.cpp.
Definition at line 414 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::setMinDateTime | ( | const KDateTime & | dt = KDateTime() |
) |
Definition at line 402 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::setMinDateTimeIsCurrent | ( | ) |
Definition at line 389 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::setReadOnly | ( | bool | ro | ) |
Definition at line 238 of file alarmtimewidget.cpp.
| QSize AlarmTimeWidget::sizeHint | ( | ) | const [inline] |
Definition at line 58 of file alarmtimewidget.h.
| void AlarmTimeWidget::slotAnyTimeToggled | ( | bool | on | ) | [protected, slot] |
Definition at line 578 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::slotButtonSet | ( | QAbstractButton * | ) | [protected, slot] |
Definition at line 559 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::slotTimeZoneChanged | ( | ) | [protected, slot] |
Definition at line 588 of file alarmtimewidget.cpp.
| void AlarmTimeWidget::slotTimeZoneToggled | ( | bool | on | ) | [protected, slot] |
Definition at line 605 of file alarmtimewidget.cpp.
| KDateTime::Spec AlarmTimeWidget::timeSpec | ( | ) | const [inline] |
Definition at line 53 of file alarmtimewidget.h.
| void AlarmTimeWidget::updateTimes | ( | ) | [protected, slot] |
Definition at line 512 of file alarmtimewidget.cpp.
Member Data Documentation
const int AlarmTimeWidget::maxDelayTime = 999*60 + 59 [static] |
Definition at line 61 of file alarmtimewidget.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference