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

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

Public Slots

void setActive (bool active=true)

Public Member Functions

 BufferViewDock (BufferViewConfig *config, QWidget *parent)
int bufferViewId () const
BufferViewConfigconfig () const
BufferViewbufferView () const
bool isActive () const

Properties

bool active

Private Slots

void bufferViewRenamed (const QString &newName)
void updateTitle ()

Private Attributes

bool _active
QString _title

Detailed Description

Definition at line 133 of file bufferview.h.

Constructor & Destructor Documentation

BufferViewDock ( BufferViewConfig config,
QWidget *  parent 
)

Member Function Documentation

BufferViewConfig * config ( ) const

Definition at line 701 of file bufferview.cpp.

References bufferView(), and BufferView::config().

BufferView* bufferView ( ) const
inline

Definition at line 143 of file bufferview.h.

Referenced by bufferViewId(), and config().

bool isActive ( ) const
inline
void setActive ( bool  active = true)
slot

Definition at line 669 of file bufferview.cpp.

References _active, active, isActive(), and updateTitle().

Referenced by MainWin::changeActiveBufferView(), and MainWin::removeBufferView().

void bufferViewRenamed ( const QString &  newName)
privateslot

Definition at line 680 of file bufferview.cpp.

References _title, and updateTitle().

Referenced by BufferViewDock().

void updateTitle ( )
privateslot

Definition at line 660 of file bufferview.cpp.

References _title, and isActive().

Referenced by BufferViewDock(), bufferViewRenamed(), and setActive().

Member Data Documentation

bool _active
private

Definition at line 155 of file bufferview.h.

Referenced by isActive(), and setActive().

QString _title
private

Definition at line 156 of file bufferview.h.

Referenced by bufferViewRenamed(), and updateTitle().

Property Documentation

bool active
readwrite

Definition at line 136 of file bufferview.h.

Referenced by setActive().


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