akonadi/kmime
22 #ifndef AKONADI_STANDARDMAILACTIONMANAGER_H
23 #define AKONADI_STANDARDMAILACTIONMANAGER_H
25 #include "akonadi-kmime_export.h"
27 #include <akonadi/standardactionmanager.h>
29 #include <QtCore/QObject>
32 class KActionCollection;
34 class QItemSelectionModel;
56 MarkMailAsRead = StandardActionManager::LastType + 1,
92 void setCollectionSelectionModel( QItemSelectionModel *selectionModel );
100 void setItemSelectionModel( QItemSelectionModel* selectionModel );
109 KAction* createAction( Type type );
117 KAction* createAction( StandardActionManager::Type type );
123 void createAllActions();
129 KAction* action( Type type )
const;
135 KAction* action( StandardActionManager::Type type )
const;
152 void setActionText( StandardActionManager::Type type,
const KLocalizedString &text );
161 void interceptAction( Type type,
bool intercept =
true );
171 void interceptAction( StandardActionManager::Type type,
bool intercept =
true );
177 Akonadi::Collection::List selectedCollections()
const;
183 Akonadi::Item::List selectedItems()
const;
192 void setFavoriteCollectionsModel( FavoriteCollectionsModel *favoritesModel );
201 void setFavoriteSelectionModel( QItemSelectionModel *selectionModel );
203 void setCollectionPropertiesPageNames(
const QStringList &names );
205 Akonadi::StandardActionManager* standardActionManager()
const;
212 void actionStateUpdated();
219 Q_PRIVATE_SLOT( d,
void updateActions() )
220 Q_PRIVATE_SLOT( d,
void slotMarkAs() )
221 Q_PRIVATE_SLOT( d,
void slotMarkAllAs() )
222 Q_PRIVATE_SLOT( d,
void slotMoveToTrash() )
223 Q_PRIVATE_SLOT( d,
void slotMoveAllToTrash() )
224 Q_PRIVATE_SLOT( d,
void slotRemoveDuplicates() )
225 Q_PRIVATE_SLOT( d,
void slotEmptyAllTrash() )
226 Q_PRIVATE_SLOT( d,
void slotEmptyTrash() )
227 Q_PRIVATE_SLOT( d,
void slotJobFinished( KJob* ) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Fri Jan 3 2014 22:30:22 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.