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

#include </tmp/quassel/src/qtui/awaylogfilter.h>

Inheritance diagram for AwayLogFilter:
Collaboration diagram for AwayLogFilter:

Public Types

enum  SenderFields {
  NoField = 0x00, NetworkField = 0x01, BufferField = 0x02, SenderField = 0x04,
  AllFields = 0xff
}

Public Slots

void addShowField (int field)
void removeShowField (int field)
void setShowOwnMessages (bool show)
void messageTypeFilterChanged ()
void messageRedirectionChanged ()
void requestBacklog ()
void invalidateFilter ()

Public Member Functions

 AwayLogFilter (MessageModel *model, QObject *parent=0)
virtual bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const
virtual QString idString () const
virtual QVariant data (const QModelIndex &index, int role) const
int showFields () const
bool showOwnMessages () const
bool isSingleBufferFilter () const
BufferId singleBufferId () const
bool containsBuffer (const BufferId &id) const
QSet< BufferIdcontainedBuffers () const

Protected Member Functions

QString bufferName () const
BufferInfo::Type bufferType () const
NetworkId networkId () const

Detailed Description

Definition at line 26 of file awaylogfilter.h.

Member Enumeration Documentation

enum SenderFields
inherited
Enumerator:
NoField 
NetworkField 
BufferField 
SenderField 
AllFields 

Definition at line 33 of file chatmonitorfilter.h.

Constructor & Destructor Documentation

AwayLogFilter ( MessageModel model,
QObject *  parent = 0 
)

Definition at line 23 of file awaylogfilter.cpp.

Member Function Documentation

bool filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
virtual
virtual QString idString ( ) const
inlinevirtual

Reimplemented from ChatMonitorFilter.

Definition at line 34 of file awaylogfilter.h.

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

Reimplemented from ChatMonitorFilter.

Definition at line 51 of file awaylogfilter.cpp.

References MessageModel::FlagsRole.

int showFields ( ) const
inlineinherited

Definition at line 47 of file chatmonitorfilter.h.

References ChatMonitorFilter::_showFields.

Referenced by ChatMonitorView::addActionsToMenu().

bool showOwnMessages ( ) const
inlineinherited
void addShowField ( int  field)
slotinherited
void removeShowField ( int  field)
slotinherited
void setShowOwnMessages ( bool  show)
slotinherited
bool isSingleBufferFilter ( ) const
inlineinherited

Definition at line 44 of file messagefilter.h.

References MessageFilter::_validBuffers.

Referenced by ChatScene::ChatScene().

BufferId singleBufferId ( ) const
inlineinherited
bool containsBuffer ( const BufferId id) const
inlineinherited

Definition at line 46 of file messagefilter.h.

References MessageFilter::_validBuffers.

Referenced by ChatScene::containsBuffer().

QSet<BufferId> containedBuffers ( ) const
inlineinherited

Definition at line 47 of file messagefilter.h.

References MessageFilter::_validBuffers.

void requestBacklog ( )
slotinherited
QString bufferName ( ) const
inlineprotectedinherited
BufferInfo::Type bufferType ( ) const
inlineprotectedinherited
NetworkId networkId ( ) const
inlineprotectedinherited

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