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

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

Public Slots

virtual void setModel (QAbstractItemModel *model)
virtual void setRootIndex (const QModelIndex &index)
void init ()
void showContextMenu (const QPoint &pos)
void startQuery (const QModelIndex &modelIndex)

Signals

void selectionUpdated ()

Public Member Functions

 NickView (QWidget *parent=0)

Protected Member Functions

virtual void rowsInserted (const QModelIndex &parent, int start, int end)
virtual QModelIndexList selectedIndexes () const
 This reimplementation ensures that the current index is first in list.
void unanimatedExpandAll ()

Friends

class NickListWidget

Detailed Description

Definition at line 28 of file nickview.h.

Constructor & Destructor Documentation

NickView ( QWidget *  parent = 0)

Definition at line 38 of file nickview.cpp.

References showContextMenu(), and startQuery().

Member Function Documentation

void rowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
protectedvirtual
QModelIndexList selectedIndexes ( ) const
protectedvirtual

This reimplementation ensures that the current index is first in list.

Definition at line 105 of file nickview.cpp.

Referenced by NickListWidget::currentChanged(), NickListWidget::nickSelectionChanged(), showContextMenu(), and NickListWidget::showEvent().

void unanimatedExpandAll ( )
protected

Definition at line 119 of file nickview.cpp.

Referenced by rowsInserted(), and setRootIndex().

void setModel ( QAbstractItemModel *  model)
virtualslot
void setRootIndex ( const QModelIndex &  index)
virtualslot

Definition at line 97 of file nickview.cpp.

References unanimatedExpandAll().

Referenced by NickListWidget::currentChanged().

void init ( )
slot

Definition at line 65 of file nickview.cpp.

References selectionUpdated().

Referenced by setModel().

void showContextMenu ( const QPoint &  pos)
slot
void selectionUpdated ( )
signal

Referenced by init().

Friends And Related Function Documentation

friend class NickListWidget
friend

Definition at line 54 of file nickview.h.


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