KCalUtils Library
recurrenceactions.cpp
173 int RecurrenceActions::questionSelectedAllCancel(const QString &message, const QString &caption,
@ AllOccurrences
Scope does include all occurrences (past, present and future)
Definition: recurrenceactions.h:76
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:173
QSharedPointer< Incidence > Ptr
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:208
@ SelectedOccurrence
Scope does include the given/selected occurrence.
Definition: recurrenceactions.h:61
@ FutureOccurrences
Scope does include occurrences after the given/selected occurrence.
Definition: recurrenceactions.h:71
Utility functions for dealing with recurrences.
Definition: recurrenceactions.h:46
@ PastOccurrences
Scope does include occurrences before the given/selected occurrence.
Definition: recurrenceactions.h:66
KCALUTILS_EXPORT QString formatDateTime(const KDateTime &dt, bool dateOnly=false, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec())
Build a QString date/time representation of a KDateTime object.
Definition: stringify.cpp:242
KCALUTILS_EXPORT int questionMultipleChoice(const KDateTime &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:143
KCALUTILS_EXPORT int availableOccurrences(const KCalCore::Incidence::Ptr &incidence, const KDateTime &selectedOccurrence)
Checks what scope an action could be applied on for a given incidence.
Definition: recurrenceactions.cpp:122
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.