kmail
foldershortcutactionmanager.cpp
Go to the documentation of this file.
44 connect( this, SIGNAL(selectCollectionFolder(Akonadi::Collection)), mMainWidget, SLOT(slotSelectCollectionFolder(Akonadi::Collection)));
91 void FolderShortcutActionManager::slotRowsInserted( const QModelIndex &parent, int start, int end )
124 const QSharedPointer<FolderCollection> folderCollection( FolderCollection::forCollection( col, false ) );
bool hasIndex(int row, int column, const QModelIndex &parent) const
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
virtual int rowCount(const QModelIndex &parent) const =0
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
void selectCollectionFolder(const Akonadi::Collection &col)
T value() const
QString number(int n, int base)
QWidget * parentWidget() const
~FolderShortcutCommand()
Definition: foldershortcutactionmanager.cpp:48
virtual QVariant data(const QModelIndex &index, int role) const =0
void shortcutChanged(const Akonadi::Collection &collection)
Updates the shortcut action for this collection.
Definition: foldershortcutactionmanager.cpp:120
void removeAction(QAction *action)
void createActions()
Definition: foldershortcutactionmanager.cpp:75
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
FolderShortcutActionManager(QWidget *parent, KActionCollection *actionCollection)
Definition: foldershortcutactionmanager.cpp:66
void setAction(QAction *)
Assign a KAction to the command which is used to trigger it.
Definition: foldershortcutactionmanager.cpp:60
FolderShortcutCommand(QWidget *mainwidget, const Akonadi::Collection &col)
Definition: foldershortcutactionmanager.cpp:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.