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,
79 void setCollectionSelectionModel( QItemSelectionModel *selectionModel );
85 void setItemSelectionModel( QItemSelectionModel* selectionModel );
92 KAction* createAction( Type type );
99 KAction* createAction( StandardActionManager::Type type );
105 void createAllActions();
110 KAction* action( Type type )
const;
115 KAction* action( StandardActionManager::Type type )
const;
129 void setActionText( StandardActionManager::Type type,
const KLocalizedString &text );
138 void interceptAction( Type type,
bool intercept =
true );
147 void interceptAction( StandardActionManager::Type type,
bool intercept =
true );
153 Akonadi::Collection::List selectedCollections()
const;
159 Akonadi::Item::List selectedItems()
const;
164 void setCollectionPropertiesPageNames(
const QStringList &names );
172 void actionStateUpdated();
179 Q_PRIVATE_SLOT( d,
void updateActions() )
180 Q_PRIVATE_SLOT( d,
void slotCreateContact() )
181 Q_PRIVATE_SLOT( d,
void slotCreateContactGroup() )
182 Q_PRIVATE_SLOT( d,
void slotEditItem() )
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:28:43 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.