Akonadi
entitytreeview.h
void doubleClicked(const Akonadi::Collection &collection)
This signal is emitted whenever the user has double clicked a collection in the view.
bool isManualSortingActive() const
Return true if we use an manual sorting Necessary to fix dnd menu We must show just move when we move...
Definition entitytreeview.cpp:312
KXMLGUIClient * xmlGuiClient() const
Return the XML GUI client which the view is used in.
Definition entitytreeview.cpp:277
EntityTreeView(QWidget *parent=nullptr)
Creates a new entity tree view.
Definition entitytreeview.cpp:174
void clicked(const Akonadi::Item &item)
This signal is emitted whenever the user has clicked an item in the view.
void currentChanged(const Akonadi::Item &item)
This signal is emitted whenever the current item in the view has changed.
void setModel(QAbstractItemModel *model) override
Definition entitytreeview.cpp:195
void setDropActionMenuEnabled(bool enabled)
Sets whether the drop action menu is enabled and will be shown on drop operation.
Definition entitytreeview.cpp:289
void clicked(const Akonadi::Collection &collection)
This signal is emitted whenever the user has clicked a collection in the view.
void setDefaultPopupMenu(const QString &name)
Set the name of the default popup menu (retrieved from the application's XMLGUI file).
Definition entitytreeview.cpp:321
void currentChanged(const Akonadi::Collection &collection)
This signal is emitted whenever the current collection in the view has changed.
void doubleClicked(const Akonadi::Item &item)
This signal is emitted whenever the user has double clicked an item in the view.
void setXmlGuiClient(KXMLGUIClient *xmlGuiClient)
Sets the XML GUI client which the view is used in.
Definition entitytreeview.cpp:272
bool isDropActionMenuEnabled() const
Returns whether the drop action menu is enabled and will be shown on drop operation.
Definition entitytreeview.cpp:296
void setManualSortingActive(bool active)
Set true if we automatic sorting.
Definition entitytreeview.cpp:305
Helper integration between Akonadi and Qt.
virtual bool event(QEvent *event) override
QAbstractItemModel * model() const const
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
typedef DropActions
QTreeView(QWidget *parent)
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override
enabled
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.