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,
90 void setCollectionSelectionModel( QItemSelectionModel *selectionModel );
96 void setItemSelectionModel( QItemSelectionModel* selectionModel );
103 KAction* createAction( Type type );
110 KAction* createAction( StandardActionManager::Type type );
116 void createAllActions();
121 KAction* action( Type type )
const;
126 KAction* action( StandardActionManager::Type type )
const;
140 void setActionText( StandardActionManager::Type type,
const KLocalizedString &text );
149 void interceptAction( Type type,
bool intercept =
true );
158 void interceptAction( StandardActionManager::Type type,
bool intercept =
true );
164 Akonadi::Collection::List selectedCollections()
const;
170 Akonadi::Item::List selectedItems()
const;
178 void setFavoriteCollectionsModel( FavoriteCollectionsModel *favoritesModel );
186 void setFavoriteSelectionModel( QItemSelectionModel *selectionModel );
188 void setCollectionPropertiesPageNames(
const QStringList &names );
190 Akonadi::StandardActionManager* standardActionManager()
const;
197 void actionStateUpdated();
204 Q_PRIVATE_SLOT( d,
void updateActions() )
205 Q_PRIVATE_SLOT( d,
void slotMarkAs() )
206 Q_PRIVATE_SLOT( d,
void slotMarkAllAs() )
207 Q_PRIVATE_SLOT( d,
void slotMoveToTrash() )
208 Q_PRIVATE_SLOT( d,
void slotMoveAllToTrash() )
209 Q_PRIVATE_SLOT( d,
void slotRemoveDuplicates() )
210 Q_PRIVATE_SLOT( d,
void slotEmptyAllTrash() )
211 Q_PRIVATE_SLOT( d,
void slotEmptyTrash() )
212 Q_PRIVATE_SLOT( d,
void slotJobFinished( KJob* ) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:28:59 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.