akonadi
entitylistview.cpp
97 const Collection collection = index.model()->data(index, EntityTreeModel::CollectionRole).value<Collection>();
114 const Collection collection = index.model()->data(index, EntityTreeModel::CollectionRole).value<Collection>();
131 const Collection collection = index.model()->data(index, EntityTreeModel::CollectionRole).value<Collection>();
218 const Collection collection = model()->data(index, EntityTreeModel::CollectionRole).value<Collection>();
virtual void setModel(QAbstractItemModel *model)
Definition: entitylistview.cpp:164
void setDropActionMenuEnabled(bool enabled)
Sets whether the drop action menu is enabled and will be shown on drop operation.
Definition: entitylistview.cpp:250
KXMLGUIClient * xmlGuiClient() const
Return the XML GUI client which the view is used in.
Definition: entitylistview.cpp:238
bool isDropActionMenuEnabled() const
Returns whether the drop action menu is enabled and will be shown on drop operation.
Definition: entitylistview.cpp:257
static void widgetNeedsAkonadi(QWidget *widget)
Disable the given widget when Akonadi is not operational and show an error overlay (given enough spac...
Definition: control.cpp:264
void currentChanged(const Akonadi::Collection &collection)
This signal is emitted whenever the current collection in the view has changed.
void setXmlGuiClient(KXMLGUIClient *xmlGuiClient)
Sets the XML GUI client which the view is used in.
Definition: entitylistview.cpp:233
EntityListView(QWidget *parent=0)
Creates a new favorite collections view.
Definition: entitylistview.cpp:142
A view to show an item/collection list provided by an EntityTreeModel.
Definition: entitylistview.h:75
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.