Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
AbstractItemView Class Reference

#include </tmp/quassel/src/uisupport/abstractitemview.h>

Inheritance diagram for AbstractItemView:

Public Member Functions

 AbstractItemView (QWidget *parent=0)
QAbstractItemModel * model ()
void setModel (QAbstractItemModel *model)
QItemSelectionModel * selectionModel () const
void setSelectionModel (QItemSelectionModel *selectionModel)
QModelIndex currentIndex () const

Protected Slots

virtual void closeEditor (QWidget *, QAbstractItemDelegate::EndEditHint)
virtual void commitData (QWidget *)
virtual void currentChanged (const QModelIndex &, const QModelIndex &)
virtual void dataChanged (const QModelIndex &, const QModelIndex &)
virtual void editorDestroyed (QObject *)
virtual void rowsAboutToBeRemoved (const QModelIndex &, int, int)
virtual void rowsInserted (const QModelIndex &, int, int)
virtual void selectionChanged (const QItemSelection &, const QItemSelection &)

Protected Attributes

QPointer< QAbstractItemModel > _model
QPointer< QItemSelectionModel > _selectionModel

Detailed Description

Definition at line 32 of file abstractitemview.h.

Constructor & Destructor Documentation

AbstractItemView ( QWidget *  parent = 0)

Definition at line 23 of file abstractitemview.cpp.

Member Function Documentation

virtual void closeEditor ( QWidget *  ,
QAbstractItemDelegate::EndEditHint   
)
inlineprotectedvirtualslot

Definition at line 48 of file abstractitemview.h.

virtual void commitData ( QWidget *  )
inlineprotectedvirtualslot

Definition at line 49 of file abstractitemview.h.

virtual void currentChanged ( const QModelIndex &  ,
const QModelIndex &   
)
inlineprotectedvirtualslot

Definition at line 50 of file abstractitemview.h.

Referenced by setSelectionModel().

virtual void dataChanged ( const QModelIndex &  ,
const QModelIndex &   
)
inlineprotectedvirtualslot

Definition at line 51 of file abstractitemview.h.

Referenced by setModel().

virtual void editorDestroyed ( QObject *  )
inlineprotectedvirtualslot

Definition at line 52 of file abstractitemview.h.

virtual void rowsAboutToBeRemoved ( const QModelIndex &  ,
int  ,
int   
)
inlineprotectedvirtualslot

Definition at line 53 of file abstractitemview.h.

Referenced by setModel().

virtual void rowsInserted ( const QModelIndex &  ,
int  ,
int   
)
inlineprotectedvirtualslot

Definition at line 54 of file abstractitemview.h.

Referenced by setModel().

virtual void selectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
inlineprotectedvirtualslot

Definition at line 55 of file abstractitemview.h.

Referenced by setSelectionModel().

Member Data Documentation

QPointer<QAbstractItemModel> _model
protected

Definition at line 55 of file abstractitemview.h.

Referenced by model(), and setModel().

QPointer<QItemSelectionModel> _selectionModel
protected

Definition at line 59 of file abstractitemview.h.

Referenced by currentIndex(), selectionModel(), and setSelectionModel().


The documentation for this class was generated from the following files: