akonadi/contact
22 #ifndef AKONADI_STANDARDCONTACTACTIONMANAGER_H
23 #define AKONADI_STANDARDCONTACTACTIONMANAGER_H
25 #include "akonadi-contact_export.h"
27 #include <akonadi/standardactionmanager.h>
29 #include <QtCore/QObject>
32 class KActionCollection;
33 class QItemSelectionModel;
55 CreateContact = StandardActionManager::LastType + 1,
80 void setCollectionSelectionModel( QItemSelectionModel *selectionModel );
87 void setItemSelectionModel( QItemSelectionModel* selectionModel );
95 KAction* createAction( Type type );
103 KAction* createAction( StandardActionManager::Type type );
109 void createAllActions();
114 KAction* action( Type type )
const;
120 KAction* action( StandardActionManager::Type type )
const;
134 void setActionText( StandardActionManager::Type type,
const KLocalizedString &text );
143 void interceptAction( Type type,
bool intercept =
true );
152 void interceptAction( StandardActionManager::Type type,
bool intercept =
true );
158 Akonadi::Collection::List selectedCollections()
const;
164 Akonadi::Item::List selectedItems()
const;
170 void setCollectionPropertiesPageNames(
const QStringList &names );
178 void actionStateUpdated();
185 Q_PRIVATE_SLOT( d,
void updateActions() )
186 Q_PRIVATE_SLOT( d,
void slotCreateContact() )
187 Q_PRIVATE_SLOT( d,
void slotCreateContactGroup() )
188 Q_PRIVATE_SLOT( d,
void slotEditItem() )
189 Q_PRIVATE_SLOT( d,
void slotContactEditorError(const QString&) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Fri Jan 3 2014 22:30:04 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.