akonadi
22 #ifndef AKONADI_ENTITYTREEVIEW_H
23 #define AKONADI_ENTITYTREEVIEW_H
25 #include "akonadi_export.h"
91 explicit EntityTreeView( KXMLGUIClient *xmlGuiClient, QWidget *parent = 0 );
105 void setXmlGuiClient( KXMLGUIClient *xmlGuiClient );
111 virtual void setModel( QAbstractItemModel * model );
119 void setDropActionMenuEnabled(
bool enabled );
127 bool isDropActionMenuEnabled()
const;
136 bool isManualSortingActive()
const;
143 void setManualSortingActive(
bool active);
162 void setDefaultPopupMenu(
const QString &name );
179 void clicked(
const Akonadi::Item &item );
195 void doubleClicked(
const Akonadi::Item &item );
211 void currentChanged(
const Akonadi::Item &item );
214 using QTreeView::currentChanged;
215 #ifndef QT_NO_DRAGANDDROP
216 virtual void startDrag( Qt::DropActions supportedActions );
217 virtual void dragMoveEvent( QDragMoveEvent *event );
218 virtual void dropEvent( QDropEvent *event );
220 virtual void timerEvent( QTimerEvent *event );
221 #ifndef QT_NO_CONTEXTMENU
222 virtual void contextMenuEvent( QContextMenuEvent *event );
231 Q_PRIVATE_SLOT( d,
void itemClicked(
const QModelIndex& ) )
232 Q_PRIVATE_SLOT( d,
void itemDoubleClicked(
const QModelIndex& ) )
233 Q_PRIVATE_SLOT( d,
void itemCurrentChanged(
const QModelIndex& ) )
234 Q_PRIVATE_SLOT( d,
void slotSelectionChanged(
const QItemSelection &,
const QItemSelection & ) )
Represents a collection of PIM items.
A view to show an item/collection tree provided by an EntityTreeModel.
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:17 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.