Akonadi Calendar
standardcalendaractionmanager.h
61 explicit StandardCalendarActionManager(KActionCollection *actionCollection, QWidget *parent = nullptr);
163 void setContextText(StandardActionManager::Type type, StandardActionManager::TextContext context, const QString &text);
168 void setContextText(StandardActionManager::Type type, StandardActionManager::TextContext context, const KLocalizedString &text);
QList< Collection > List
QList< Item > List
TextContext
Manages calendar specific actions for collection and item views.
Definition standardcalendaractionmanager.h:40
void createAllActions()
Convenience method to create all standard actions.
Definition standardcalendaractionmanager.cpp:593
void actionStateUpdated()
This signal is emitted whenever the action state has been updated.
void interceptAction(Type type, bool intercept=true)
Sets whether the default implementation for the given action type shall be executed when the action i...
Definition standardcalendaractionmanager.cpp:621
void setContextText(StandardActionManager::Type type, StandardActionManager::TextContext context, const QString &text)
Sets the text of the action type for the given context.
Definition standardcalendaractionmanager.cpp:645
StandardCalendarActionManager(KActionCollection *actionCollection, QWidget *parent=nullptr)
Creates a new standard calendar action manager.
Definition standardcalendaractionmanager.cpp:477
Akonadi::Collection::List selectedCollections() const
Returns the list of collections that are currently selected.
Definition standardcalendaractionmanager.cpp:635
void setActionText(StandardActionManager::Type type, const KLocalizedString &text)
Sets the label of the action type to text, which is used during updating the action state and substit...
Definition standardcalendaractionmanager.cpp:616
Akonadi::Item::List selectedItems() const
Returns the list of items that are currently selected.
Definition standardcalendaractionmanager.cpp:640
QAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
Definition standardcalendaractionmanager.cpp:606
~StandardCalendarActionManager() override
Destroys the standard calendar action manager.
QAction * createAction(Type type)
Creates the action of the given type and adds it to the action collection specified in the constructo...
Definition standardcalendaractionmanager.cpp:514
void setCollectionSelectionModel(QItemSelectionModel *selectionModel)
Sets the collection selection model based on which the collection related actions should operate.
Definition standardcalendaractionmanager.cpp:485
@ EditIncidence
Edit currently selected event/todo/journal.
Definition standardcalendaractionmanager.h:51
void setItemSelectionModel(QItemSelectionModel *selectionModel)
Sets the item selection model based on which the item related actions should operate.
Definition standardcalendaractionmanager.cpp:502
FreeBusyManager::Singleton.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:57:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:57:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.