kalarm
Go to the documentation of this file.
21 #ifndef ALARMTIMEWIDGET_H
22 #define ALARMTIMEWIDGET_H
24 #include <kalarmcal/datetime.h>
27 class QAbstractButton;
38 using namespace KAlarmCal;
48 DEFER_ANY_TIME = DEFER_TIME | 0x04
52 KDateTime getDateTime(
int* minsFromNow = 0,
bool checkExpired =
true,
bool showErrorMessage =
true,
QWidget** errorWidget = 0)
const;
53 void setDateTime(
const DateTime&);
54 void setMinDateTimeIsCurrent();
55 void setMinDateTime(
const KDateTime& = KDateTime());
56 void setMaxDateTime(
const DateTime& = DateTime());
58 KDateTime::Spec
timeSpec()
const {
return mTimeSpec; }
59 void setReadOnly(
bool);
61 void enableAnyTime(
bool enable);
62 void selectTimeFromNow(
int minutes = 0);
63 void showMoreOptions(
bool);
64 QSize
sizeHint()
const {
return minimumSizeHint(); }
66 static QString i18n_TimeAfterPeriod();
70 void changed(
const KDateTime&);
71 void dateOnlyToggled(
bool anyTime);
76 void slotButtonSet(QAbstractButton*);
77 void dateTimeChanged();
78 void delayTimeChanged(
int);
79 void slotAnyTimeToggled(
bool);
80 void slotTimeZoneChanged();
81 void slotTimeZoneToggled(
bool);
82 void showTimeZoneSelector();
85 void init(
Mode,
const QString& groupBoxTitle = QString());
87 void setMaxDelayTime(
const KDateTime& now);
88 void setMaxMinTimeIf(
const KDateTime& now);
94 KDateComboBox* mDateEdit;
101 KDateTime mMinDateTime;
102 KDateTime mMaxDateTime;
103 KDateTime::Spec mTimeSpec;
105 bool mAnyTimeAllowed;
107 bool mMinDateTimeIsNow;
113 #endif // ALARMTIMEWIDGET_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.