Akonadi Contacts
standardcontactactionmanager.h
55 explicit StandardContactActionManager(KActionCollection *actionCollection, QWidget *parent = nullptr);
QList< Collection > List
QList< Item > List
Manages contact specific actions for collection and item views.
Definition standardcontactactionmanager.h:35
@ EditItem
Edits the selected contact resp. contact group.
Definition standardcontactactionmanager.h:45
void setCollectionPropertiesPageNames(const QStringList &names)
Definition standardcontactactionmanager.cpp:639
StandardContactActionManager(KActionCollection *actionCollection, QWidget *parent=nullptr)
Creates a new standard contact action manager.
Definition standardcontactactionmanager.cpp:479
QAction * action(Type type) const
Returns the action of the given type, 0 if it has not been created (yet).
Definition standardcontactactionmanager.cpp:596
void setCollectionSelectionModel(QItemSelectionModel *selectionModel)
Sets the collection selection model based on which the collection related actions should operate.
Definition standardcontactactionmanager.cpp:487
Akonadi::Item::List selectedItems() const
Returns the list of items that are currently selected.
Definition standardcontactactionmanager.cpp:634
Akonadi::Collection::List selectedCollections() const
Returns the list of collections that are currently selected.
Definition standardcontactactionmanager.cpp:629
void actionStateUpdated()
This signal is emitted whenever the action state has been updated.
void createAllActions()
Convenience method to create all standard actions.
Definition standardcontactactionmanager.cpp:584
~StandardContactActionManager() override
Destroys the standard contact 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 standardcontactactionmanager.cpp:517
void setItemSelectionModel(QItemSelectionModel *selectionModel)
Sets the item selection model based on which the item related actions should operate.
Definition standardcontactactionmanager.cpp:505
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 standardcontactactionmanager.cpp:615
void setActionText(Akonadi::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 standardcontactactionmanager.cpp:610
A widget for editing the display name of a contact.
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 Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.