akonadi
22 #ifndef AKONADI_ENTITYLISTVIEW_H
23 #define AKONADI_ENTITYLISTVIEW_H
25 #include "akonadi_export.h"
95 explicit EntityListView( KXMLGUIClient *xmlGuiClient, QWidget *parent = 0 );
109 void setXmlGuiClient( KXMLGUIClient *xmlGuiClient );
115 KXMLGUIClient *xmlGuiClient()
const;
121 virtual void setModel( QAbstractItemModel * model );
129 void setDropActionMenuEnabled(
bool enabled );
137 bool isDropActionMenuEnabled()
const;
154 void clicked(
const Akonadi::Item &item );
170 void doubleClicked(
const Akonadi::Item &item );
186 void currentChanged(
const Akonadi::Item &item );
189 using QListView::currentChanged;
190 #ifndef QT_NO_DRAGANDDROP
191 virtual void startDrag( Qt::DropActions supportedActions );
192 virtual void dropEvent( QDropEvent *event );
193 virtual void dragMoveEvent( QDragMoveEvent *event );
196 #ifndef QT_NO_CONTEXTMENU
197 virtual void contextMenuEvent( QContextMenuEvent *event );
205 Q_PRIVATE_SLOT( d,
void itemClicked(
const QModelIndex& ) )
206 Q_PRIVATE_SLOT( d,
void itemDoubleClicked(
const QModelIndex& ) )
207 Q_PRIVATE_SLOT( d,
void itemCurrentChanged(
const QModelIndex& ) )
Represents a collection of PIM items.
A view to show an item/collection list 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.