KAlarm Library
kaevent.h
88 };
96 INVALID_ALARM = 0,
97 MAIN_ALARM = 1,
98 REMINDER_ALARM = 0x02,
99 DEFERRED_ALARM = 0x04,
100 DEFERRED_REMINDER_ALARM = REMINDER_ALARM | DEFERRED_ALARM,
103 AT_LOGIN_ALARM = 0x10,
108 };
219 BEEP = 0x02,
220 REPEAT_AT_LOGIN = 0x04,
221 ANY_TIME = 0x08,
222 CONFIRM_ACK = 0x10,
223 EMAIL_BCC = 0x20,
224 DEFAULT_FONT = 0x40,
225 REPEAT_SOUND = 0x80,
226 DISABLED = 0x100,
227 AUTO_CLOSE = 0x200,
228 SCRIPT = 0x400,
229 EXEC_IN_XTERM = 0x800,
230 SPEAK = 0x1000,
231 COPY_KORGANIZER = 0x2000,
232 EXCL_HOLIDAYS = 0x4000,
233 WORK_TIME_ONLY = 0x8000,
234 DISPLAY_COMMAND = 0x10000,
239 };
246 ACT_NONE = 0,
247 ACT_DISPLAY = 0x01,
248 ACT_COMMAND = 0x02,
249 ACT_EMAIL = 0x04,
250 ACT_AUDIO = 0x08,
251 ACT_DISPLAY_COMMAND = ACT_DISPLAY | ACT_COMMAND,
253 };
258 MESSAGE = KAAlarm::MESSAGE,
259 FILE = KAAlarm::FILE,
260 COMMAND = KAAlarm::COMMAND,
261 EMAIL = KAAlarm::EMAIL,
263 };
268 NO_OCCURRENCE = 0,
269 FIRST_OR_ONLY_OCCURRENCE = 0x01,
270 RECURRENCE_DATE = 0x02,
271 RECURRENCE_DATE_TIME = 0x03,
272 LAST_RECURRENCE = 0x04,
273 OCCURRENCE_REPEAT = 0x10,
274 FIRST_OR_ONLY_OCCURRENCE_REPEAT = OCCURRENCE_REPEAT | FIRST_OR_ONLY_OCCURRENCE,
275 RECURRENCE_DATE_REPEAT = OCCURRENCE_REPEAT | RECURRENCE_DATE,
276 RECURRENCE_DATE_TIME_REPEAT = OCCURRENCE_REPEAT | RECURRENCE_DATE_TIME,
278 };
286 };
296 };
306 };
311 CMD_NO_ERROR = 0,
312 CMD_ERROR = 0x01,
313 CMD_ERROR_PRE = 0x02,
314 CMD_ERROR_POST = 0x04,
323 CancelOnPreActError = 0x01,
324 DontShowPreActError = 0x02,
326 };
335 };
410 bool updateKCalEvent(const KCalCore::Event::Ptr& event, UidAction u, bool setCustomProperties = true) const;
802 void setActions(const QString& pre, const QString& post, bool cancelOnError, bool dontShowError);
1099 bool setRecurMonthlyByPos(int freq, const QVector<MonthPos>& pos, int count, const QDate& end);
1114 bool setRecurAnnualByDate(int freq, const QVector<int>& months, int day, KARecurrence::Feb29Type, int count, const QDate& end);
1127 bool setRecurAnnualByPos(int freq, const QVector<MonthPos>& pos, const QVector<int>& months, int count, const QDate& end);
1214 OccurType nextOccurrence(const KDateTime& preDateTime, DateTime& result, OccurOption option = IGNORE_REPETITION) const;
1225 OccurType previousOccurrence(const KDateTime& afterDateTime, DateTime& result, bool includeRepetitions = false) const;
1242 bool setDisplaying(const KAEvent& event, KAAlarm::Type type, Akonadi::Collection::Id colId, const KDateTime& repeatAtLoginTime, bool showEdit, bool showDefer);
1244 bool setDisplaying(const KAEvent& event, KAAlarm::Type type, const QString& resourceID, const KDateTime& repeatAtLoginTime, bool showEdit, bool showDefer);
1257 void reinstateFromDisplaying(const KCalCore::Event::Ptr& event, Akonadi::Collection::Id& colId, bool& showEdit, bool& showDefer);
1259 void reinstateFromDisplaying(const KCal::Event* event, QString& resourceID, bool& showEdit, bool& showDefer);
qint64 Id
As KDateTime, but with a configurable start-of-day time for date-only values.
Definition: datetime.h:43
@ FILE
KCal::Alarm::Display type: display a file (URL given by the alarm text)
Definition: kaevent.h:84
@ UID_CHECK
verify that the KCal::Event UID is already the same as the KAEvent ID, if the latter is non-empty
Definition: kaevent.h:333
CmdErrType
Command execution error type for last time the alarm was triggered.
Definition: kaevent.h:310
DeferLimitType
What type of occurrence currently limits how long the alarm can be deferred.
Definition: kaevent.h:290
@ MAIN_TRIGGER
next trigger, excluding reminders, ignoring working hours & holidays
Definition: kaevent.h:302
@ ALL_TRIGGER
next trigger, including reminders, ignoring working hours & holidays
Definition: kaevent.h:301
Feb29Type
When annual February 29th recurrences should occur in non-leap years.
Definition: karecurrence.h:80
Represents a sub-repetition, defined by interval and repeat count.
Definition: repetition.h:48
QSharedPointer< Calendar > Ptr
QSharedPointer< Event > Ptr
QVector< Ptr > List
Holds days of the week combined with a week number in the month, used to specify some monthly or annu...
Definition: kaevent.h:1083
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.