akonadi
20 #ifndef AKONADI_ITEM_VIEW
21 #define AKONADI_ITEM_VIEW
23 #include "akonadi_export.h"
60 class AKONADI_EXPORT
ItemView :
public QTreeView
70 explicit ItemView( QWidget *parent = 0 );
80 explicit AKONADI_DEPRECATED
ItemView( KXmlGuiWindow *xmlGuiWindow, QWidget *parent = 0 );
91 explicit ItemView( KXMLGUIClient *xmlGuiClient, QWidget *parent = 0 );
104 AKONADI_DEPRECATED
void setXmlGuiWindow( KXmlGuiWindow *xmlGuiWindow );
112 void setXmlGuiClient( KXMLGUIClient *xmlGuiClient );
114 virtual void setModel( QAbstractItemModel * model );
123 void activated(
const Akonadi::Item &item );
131 void currentChanged(
const Akonadi::Item &item );
140 void clicked(
const Akonadi::Item &item );
149 void doubleClicked(
const Akonadi::Item &item );
152 using QTreeView::currentChanged;
153 void contextMenuEvent( QContextMenuEvent *event );
160 Q_PRIVATE_SLOT( d,
void itemActivated(
const QModelIndex& ) )
161 Q_PRIVATE_SLOT( d,
void itemCurrentChanged(
const QModelIndex& ) )
162 Q_PRIVATE_SLOT( d,
void itemClicked(
const QModelIndex& ) )
163 Q_PRIVATE_SLOT( d,
void itemDoubleClicked(
const QModelIndex& ) )
A view to show an item list provided by an ItemModel.
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.