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

#include </tmp/quassel/src/qtui/settingspages/previewbufferview.h>

Inheritance diagram for PreviewBufferView:
Collaboration diagram for PreviewBufferView:

Public Types

enum  Direction { Forward = 1, Backward = -1 }

Public Slots

void setRootIndexForNetworkId (const NetworkId &networkId)
void removeSelectedBuffers (bool permanently=false)
void menuActionTriggered (QAction *)
void nextBuffer ()
void previousBuffer ()
void hideCurrentBuffer ()

Signals

void removeBuffer (const QModelIndex &)
void removeBufferPermanently (const QModelIndex &)

Public Member Functions

 PreviewBufferView (QWidget *parent=0)
void init ()
void setModel (QAbstractItemModel *model)
void setFilteredModel (QAbstractItemModel *model, BufferViewConfig *config)
virtual void setSelectionModel (QItemSelectionModel *selectionModel)
void setConfig (BufferViewConfig *config)
BufferViewConfigconfig ()
void addActionsToMenu (QMenu *menu, const QModelIndex &index)
void addFilterActions (QMenu *contextMenu, const QModelIndex &index)

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
virtual void contextMenuEvent (QContextMenuEvent *)
virtual void dropEvent (QDropEvent *event)
virtual void rowsInserted (const QModelIndex &parent, int start, int end)
virtual void wheelEvent (QWheelEvent *)
virtual QSize sizeHint () const
virtual void focusInEvent (QFocusEvent *event)
virtual void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)

Detailed Description

Definition at line 26 of file previewbufferview.h.

Member Enumeration Documentation

enum Direction
inherited
Enumerator:
Forward 
Backward 

Definition at line 45 of file bufferview.h.

Constructor & Destructor Documentation

PreviewBufferView ( QWidget *  parent = 0)
inline

Definition at line 31 of file previewbufferview.h.

Member Function Documentation

virtual void keyPressEvent ( QKeyEvent *  event)
inlineprotectedvirtual

Reimplemented from BufferView.

Definition at line 34 of file previewbufferview.h.

virtual void contextMenuEvent ( QContextMenuEvent *  )
inlineprotectedvirtual

Reimplemented from BufferView.

Definition at line 35 of file previewbufferview.h.

void init ( )
inherited

Definition at line 64 of file bufferview.cpp.

References BufferView::joinChannel().

Referenced by BufferView::setModel().

void setModel ( QAbstractItemModel *  model)
inherited
void setFilteredModel ( QAbstractItemModel *  model,
BufferViewConfig config 
)
inherited
void setSelectionModel ( QItemSelectionModel *  selectionModel)
virtualinherited

Definition at line 161 of file bufferview.cpp.

void addActionsToMenu ( QMenu *  menu,
const QModelIndex &  index 
)
inherited
void addFilterActions ( QMenu *  contextMenu,
const QModelIndex &  index 
)
inherited

Definition at line 450 of file bufferview.cpp.

References BufferViewFilter::actions().

Referenced by BufferView::contextMenuEvent().

void setRootIndexForNetworkId ( const NetworkId networkId)
slotinherited

Definition at line 197 of file bufferview.cpp.

References SignedId::isValid(), and NetworkModel::NetworkIdRole.

Referenced by BufferView::setConfig().

void menuActionTriggered ( QAction *  result)
slotinherited
void nextBuffer ( )
slotinherited

Definition at line 481 of file bufferview.cpp.

References BufferView::changeBuffer(), and BufferView::Forward.

Referenced by MainWin::nextBuffer().

void previousBuffer ( )
slotinherited

Definition at line 487 of file bufferview.cpp.

References BufferView::Backward, and BufferView::changeBuffer().

Referenced by MainWin::previousBuffer().

void removeBuffer ( const QModelIndex &  )
signalinherited
void removeBufferPermanently ( const QModelIndex &  )
signalinherited
void rowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
protectedvirtualinherited
void wheelEvent ( QWheelEvent *  event)
protectedvirtualinherited

Definition at line 535 of file bufferview.cpp.

References BufferView::changeBuffer().

QSize sizeHint ( ) const
protectedvirtualinherited

Definition at line 567 of file bufferview.cpp.

virtual void focusInEvent ( QFocusEvent *  event)
inlineprotectedvirtualinherited

Definition at line 81 of file bufferview.h.

void dataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
protectedvirtualinherited

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