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

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

Public Member Functions

 BufferHotListFilter (QAbstractItemModel *source, QObject *parent=0)
virtual int columnCount (const QModelIndex &) const
BufferId hottestBuffer ()

Protected Member Functions

virtual bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const
virtual bool lessThan (const QModelIndex &source_left, const QModelIndex &source_right) const

Detailed Description

Definition at line 27 of file bufferhotlistfilter.h.

Constructor & Destructor Documentation

BufferHotListFilter ( QAbstractItemModel *  source,
QObject *  parent = 0 
)

Definition at line 26 of file bufferhotlistfilter.cpp.

Member Function Documentation

virtual int columnCount ( const QModelIndex &  ) const
inlinevirtual

Definition at line 34 of file bufferhotlistfilter.h.

BufferId hottestBuffer ( )

Definition at line 34 of file bufferhotlistfilter.cpp.

References NetworkModel::BufferIdRole.

Referenced by MainWin::on_jumpHotBuffer_triggered().

bool filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const
protectedvirtual
bool lessThan ( const QModelIndex &  source_left,
const QModelIndex &  source_right 
) const
protectedvirtual

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