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

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

Collaboration diagram for NickViewFilter:

Public Member Functions

 NickViewFilter (const BufferId &bufferId, NetworkModel *parent=0)
virtual QVariant data (const QModelIndex &index, int role) const
QVariant icon (const QModelIndex &index) const

Protected Member Functions

virtual bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const
QVariant styleData (const QModelIndex &index, int role) const

Private Attributes

BufferId _bufferId

Detailed Description

Definition at line 31 of file nickviewfilter.h.

Constructor & Destructor Documentation

NickViewFilter ( const BufferId bufferId,
NetworkModel parent = 0 

Definition at line 31 of file nickviewfilter.cpp.

References TreeModel::SortRole.

Member Function Documentation

QVariant data ( const QModelIndex &  index,
int  role 
) const

Definition at line 53 of file nickviewfilter.cpp.

References UiStyle::nickViewItemData(), and GraphicalUi::uiStyle().

Referenced by filterAcceptsRow().

QVariant icon ( const QModelIndex &  index) const
bool filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const

Definition at line 42 of file nickviewfilter.cpp.

References _bufferId, NetworkModel::BufferIdRole, and data().

QVariant styleData ( const QModelIndex &  index,
int  role 
) const

Member Data Documentation

BufferId _bufferId

Definition at line 46 of file nickviewfilter.h.

Referenced by filterAcceptsRow().

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