akonadi
20 #ifndef AKONADI_AGENTACTIONMANAGER_H
21 #define AKONADI_AGENTACTIONMANAGER_H
23 #include "akonadi_export.h"
25 #include <akonadi/agentinstance.h>
27 #include <QtCore/QObject>
30 class KActionCollection;
31 class KLocalizedString;
32 class QItemSelectionModel;
76 explicit AgentActionManager( KActionCollection *actionCollection, QWidget *parent = 0 );
87 void setSelectionModel( QItemSelectionModel *model );
92 void setMimeTypeFilter(
const QStringList &mimeTypes );
97 void setCapabilityFilter(
const QStringList &capabilities );
104 KAction *createAction( Type type );
110 void createAllActions();
115 KAction *action( Type type )
const;
126 void interceptAction( Type type,
bool intercept =
true );
141 void setContextText( Type type, TextContext context,
const QString &text );
148 void setContextText( Type type, TextContext context,
const KLocalizedString &text );
156 void actionStateUpdated();
163 Q_PRIVATE_SLOT( d,
void updateActions() )
165 Q_PRIVATE_SLOT( d,
void slotCreateAgentInstance() )
166 Q_PRIVATE_SLOT( d,
void slotDeleteAgentInstance() )
167 Q_PRIVATE_SLOT( d,
void slotConfigureAgentInstance() )
169 Q_PRIVATE_SLOT( d,
void slotAgentInstanceCreationResult(KJob*) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:31 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.