KAlarm Library
kaevent.h
88 AUDIO
97 INVALID_ALARM = 0,
98 MAIN_ALARM = 1,
99 REMINDER_ALARM = 0x02,
100 DEFERRED_ALARM = 0x04,
101 DEFERRED_REMINDER_ALARM = REMINDER_ALARM | DEFERRED_ALARM,
104 AT_LOGIN_ALARM = 0x10,
105 DISPLAYING_ALARM = 0x20
220 BEEP = 0x02,
221 REPEAT_AT_LOGIN = 0x04,
222 ANY_TIME = 0x08,
223 CONFIRM_ACK = 0x10,
224 EMAIL_BCC = 0x20,
225 DEFAULT_FONT = 0x40,
226 REPEAT_SOUND = 0x80,
227 DISABLED = 0x100,
228 AUTO_CLOSE = 0x200,
229 SCRIPT = 0x400,
230 EXEC_IN_XTERM = 0x800,
231 SPEAK = 0x1000,
232 COPY_KORGANIZER = 0x2000,
233 EXCL_HOLIDAYS = 0x4000,
234 WORK_TIME_ONLY = 0x8000,
235 DISPLAY_COMMAND = 0x10000,
236 REMINDER_ONCE = 0x20000
247 ACT_NONE = 0,
248 ACT_DISPLAY = 0x01,
249 ACT_COMMAND = 0x02,
250 ACT_EMAIL = 0x04,
251 ACT_AUDIO = 0x08,
252 ACT_DISPLAY_COMMAND = ACT_DISPLAY | ACT_COMMAND,
253 ACT_ALL = ACT_DISPLAY | ACT_COMMAND | ACT_EMAIL | ACT_AUDIO
269 NO_OCCURRENCE = 0,
270 FIRST_OR_ONLY_OCCURRENCE = 0x01,
271 RECURRENCE_DATE = 0x02,
272 RECURRENCE_DATE_TIME = 0x03,
273 LAST_RECURRENCE = 0x04,
274 OCCURRENCE_REPEAT = 0x10,
275 FIRST_OR_ONLY_OCCURRENCE_REPEAT = OCCURRENCE_REPEAT | FIRST_OR_ONLY_OCCURRENCE,
276 RECURRENCE_DATE_REPEAT = OCCURRENCE_REPEAT | RECURRENCE_DATE,
277 RECURRENCE_DATE_TIME_REPEAT = OCCURRENCE_REPEAT | RECURRENCE_DATE_TIME,
278 LAST_RECURRENCE_REPEAT = OCCURRENCE_REPEAT | LAST_RECURRENCE
286 ALLOW_FOR_REPETITION
296 LIMIT_REMINDER
306 DISPLAY_TRIGGER
312 CMD_NO_ERROR = 0,
313 CMD_ERROR = 0x01,
314 CMD_ERROR_PRE = 0x02,
315 CMD_ERROR_POST = 0x04,
324 CancelOnPreActError = 0x01,
325 DontShowPreActError = 0x02,
326 ExecPreActOnDeferral = 0x04
335 UID_SET
411 bool updateKCalEvent(const KCalCore::Event::Ptr& event, UidAction u, bool setCustomProperties = true) const;
803 void setActions(const QString& pre, const QString& post, bool cancelOnError, bool dontShowError);
1100 bool setRecurMonthlyByPos(int freq, const QVector<MonthPos>& pos, int count, const QDate& end);
1115 bool setRecurAnnualByDate(int freq, const QVector<int>& months, int day, KARecurrence::Feb29Type, int count, const QDate& end);
1128 bool setRecurAnnualByPos(int freq, const QVector<MonthPos>& pos, const QVector<int>& months, int count, const QDate& end);
1215 OccurType nextOccurrence(const KDateTime& preDateTime, DateTime& result, OccurOption option = IGNORE_REPETITION) const;
1226 OccurType previousOccurrence(const KDateTime& afterDateTime, DateTime& result, bool includeRepetitions = false) const;
1243 bool setDisplaying(const KAEvent& event, KAAlarm::Type type, Akonadi::Collection::Id colId, const KDateTime& repeatAtLoginTime, bool showEdit, bool showDefer);
1245 bool setDisplaying(const KAEvent& event, KAAlarm::Type type, const QString& resourceID, const KDateTime& repeatAtLoginTime, bool showEdit, bool showDefer);
1258 void reinstateFromDisplaying(const KCalCore::Event::Ptr& event, Akonadi::Collection::Id& colId, bool& showEdit, bool& showDefer);
1260 void reinstateFromDisplaying(const KCal::Event* event, QString& resourceID, bool& showEdit, bool& showDefer);
QSharedPointer< Event > Ptr
Represents a sub-repetition, defined by interval and repeat count.
Definition: repetition.h:47
qint64 Id
QVector< Ptr > List
Feb29Type
When annual February 29th recurrences should occur in non-leap years.
Definition: karecurrence.h:79
check for recurrences only, ignore sub-repetitions
Definition: kaevent.h:284
KCal::Alarm::Display type: display a text message.
Definition: kaevent.h:84
DeferLimitType
What type of occurrence currently limits how long the alarm can be deferred.
Definition: kaevent.h:290
CmdErrType
Command execution error type for last time the alarm was triggered.
Definition: kaevent.h:310
next main working time trigger, excluding reminders
Definition: kaevent.h:304
KCal::Alarm::Display type: display a file (URL given by the alarm text)
Definition: kaevent.h:85
verify that the KCal::Event UID is already the same as the KAEvent ID, if the latter is non-empty ...
Definition: kaevent.h:334
QSharedPointer< Calendar > Ptr
next actual working time trigger, including reminders
Definition: kaevent.h:305
KCal::Alarm::Procedure type: execute a shell command.
Definition: kaevent.h:86
return a sub-repetition if it's the next occurrence
Definition: kaevent.h:285
Holds days of the week combined with a week number in the month, used to specify some monthly or annu...
Definition: kaevent.h:1083
As KDateTime, but with a configurable start-of-day time for date-only values.
Definition: datetime.h:42
next trigger, including reminders, ignoring working hours & holidays
Definition: kaevent.h:302
next trigger, excluding reminders, ignoring working hours & holidays
Definition: kaevent.h:303
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:14 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 23:01:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.