KCalUtils
recurrenceactions.h
64};
78[[nodiscard]] KCALUTILS_EXPORT int availableOccurrences(const KCalendarCore::Incidence::Ptr &incidence, const QDateTime &selectedOccurrence);
119 @param #NoOccurrence on cancel, #SelectedOccurrence or #AllOccurrences on the respective action.
KCALUTILS_EXPORT int availableOccurrences(const KCalendarCore::Incidence::Ptr &incidence, const QDateTime &selectedOccurrence)
Checks what scope an action could be applied on for a given incidence.
Definition recurrenceactions.cpp:117
KCALUTILS_EXPORT int questionSelectedFutureAllCancel(const QString &message, const QString &caption, const KGuiItem &actionSelected, const KGuiItem &actionFuture, const KGuiItem &actionAll, QWidget *parent)
Presents a message box with three action choices and cancel to the user.
Definition recurrenceactions.cpp:225
KCALUTILS_EXPORT int questionMultipleChoice(const QDateTime &selectedOccurrence, const QString &message, const QString &caption, const KGuiItem &action, int availableChoices, int preselectedChoices, QWidget *parent)
Presents a multiple choice scope selection dialog to the user.
Definition recurrenceactions.cpp:161
@ SelectedOccurrence
Scope does include the given/selected occurrence.
Definition recurrenceactions.h:48
@ AllOccurrences
Scope does include all occurrences (past, present and future)
Definition recurrenceactions.h:63
@ FutureOccurrences
Scope does include occurrences after the given/selected occurrence.
Definition recurrenceactions.h:58
@ PastOccurrences
Scope does include occurrences before the given/selected occurrence.
Definition recurrenceactions.h:53
KCALUTILS_EXPORT int questionSelectedAllCancel(const QString &message, const QString &caption, const KGuiItem &actionSelected, const KGuiItem &actionAll, QWidget *parent)
Presents a message box with two action choices and cancel to the user.
Definition recurrenceactions.cpp:192
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.