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 KXMLGUIClient *xmlGuiClient()
const;
117 virtual void setModel( QAbstractItemModel * model );
125 void setDropActionMenuEnabled(
bool enabled );
133 bool isDropActionMenuEnabled()
const;
142 bool isManualSortingActive()
const;
149 void setManualSortingActive(
bool active);
168 void setDefaultPopupMenu(
const QString &name );
185 void clicked(
const Akonadi::Item &item );
201 void doubleClicked(
const Akonadi::Item &item );
217 void currentChanged(
const Akonadi::Item &item );
220 using QTreeView::currentChanged;
221 #ifndef QT_NO_DRAGANDDROP
222 virtual void startDrag( Qt::DropActions supportedActions );
223 virtual void dragMoveEvent( QDragMoveEvent *event );
224 virtual void dropEvent( QDropEvent *event );
226 virtual void timerEvent( QTimerEvent *event );
227 #ifndef QT_NO_CONTEXTMENU
228 virtual void contextMenuEvent( QContextMenuEvent *event );
236 Q_PRIVATE_SLOT( d,
void itemClicked(
const QModelIndex& ) )
237 Q_PRIVATE_SLOT( d,
void itemDoubleClicked(
const QModelIndex& ) )
238 Q_PRIVATE_SLOT( d,
void itemCurrentChanged(
const QModelIndex& ) )
239 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.