akonadi
22 #ifndef AKONADI_STANDARDCALENDARACTIONMANAGER_H
23 #define AKONADI_STANDARDCALENDARACTIONMANAGER_H
25 #include "akonadi-calendar_export.h"
27 #include <akonadi/standardactionmanager.h>
29 #include <QtCore/QObject>
35 class KActionCollection;
36 class QItemSelectionModel;
58 CreateEvent = StandardActionManager::LastType + 1,
84 void setCollectionSelectionModel( QItemSelectionModel *selectionModel );
90 void setItemSelectionModel( QItemSelectionModel* selectionModel );
97 KAction* createAction( Type type );
104 KAction* createAction( StandardActionManager::Type type );
110 void createAllActions();
115 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;
169 void setContextText( StandardActionManager::Type type, StandardActionManager::TextContext context,
const QString &text );
174 void setContextText( StandardActionManager::Type type, StandardActionManager::TextContext context,
const KLocalizedString &text );
176 void setCollectionPropertiesPageNames(
const QStringList &names );
184 void actionStateUpdated();
191 Q_PRIVATE_SLOT( d,
void slotCreateEvent() )
192 Q_PRIVATE_SLOT( d,
void slotCreateTodo() )
193 Q_PRIVATE_SLOT( d,
void slotCreateSubTodo() )
194 Q_PRIVATE_SLOT( d,
void slotCreateJournal() )
195 Q_PRIVATE_SLOT( d,
void slotEditIncidence() )
196 Q_PRIVATE_SLOT( d,
void updateActions() )
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:28 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.