KAlarm Library
kaevent.h
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 };
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);
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
float fadeVolume() const
Return the initial volume which will fade to the final volume.
Definition kaevent.cpp:2322
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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.