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

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

Collaboration diagram for ChannelListDlg:

Public Member Functions

 ChannelListDlg (QWidget *parent=0)
void setNetwork (NetworkId netId)

Protected Slots

void requestSearch ()
void receiveChannelList (const NetworkId &netId, const QStringList &channelFilters, const QList< IrcListHelper::ChannelDescription > &channelList)
void reportFinishedList ()
void joinChannel (const QModelIndex &)

Private Slots

void toggleMode ()
void showError (const QString &error)

Private Member Functions

void showFilterLine (bool show)
void showErrors (bool show)
void enableQuery (bool enable)
void setAdvancedMode (bool advanced)

Private Attributes

Ui::ChannelListDlg ui
bool _listFinished
NetworkId _netId
IrcListModel _ircListModel
QSortFilterProxyModel _sortFilter
QSpacerItem * _simpleModeSpacer
bool _advancedMode

Detailed Description

Definition at line 34 of file channellistdlg.h.

Constructor & Destructor Documentation

Member Function Documentation

void setNetwork ( NetworkId  netId)
void requestSearch ( )
protectedslot
void receiveChannelList ( const NetworkId netId,
const QStringList &  channelFilters,
const QList< IrcListHelper::ChannelDescription > &  channelList 
)
protectedslot
void reportFinishedList ( )
protectedslot

Definition at line 161 of file channellistdlg.cpp.

References _listFinished.

Referenced by ChannelListDlg().

void joinChannel ( const QModelIndex &  index)
protectedslot
void toggleMode ( )
inlineprivateslot

Definition at line 50 of file channellistdlg.h.

References _advancedMode, and setAdvancedMode().

Referenced by ChannelListDlg().

void showError ( const QString &  error)
privateslot

Definition at line 167 of file channellistdlg.cpp.

References showErrors(), and ui.

Referenced by ChannelListDlg().

void showFilterLine ( bool  show)
private

Definition at line 110 of file channellistdlg.cpp.

References ui.

Referenced by ChannelListDlg(), receiveChannelList(), and setNetwork().

void showErrors ( bool  show)
private

Definition at line 151 of file channellistdlg.cpp.

References ui.

Referenced by ChannelListDlg(), requestSearch(), and showError().

void enableQuery ( bool  enable)
private

Definition at line 118 of file channellistdlg.cpp.

References ui.

Referenced by ChannelListDlg(), receiveChannelList(), and requestSearch().

void setAdvancedMode ( bool  advanced)
private

Definition at line 125 of file channellistdlg.cpp.

References _advancedMode, _simpleModeSpacer, and ui.

Referenced by ChannelListDlg(), and toggleMode().

Member Data Documentation

Ui::ChannelListDlg ui
private
bool _listFinished
private

Definition at line 61 of file channellistdlg.h.

Referenced by receiveChannelList(), reportFinishedList(), and requestSearch().

NetworkId _netId
private

Definition at line 62 of file channellistdlg.h.

Referenced by joinChannel(), receiveChannelList(), requestSearch(), and setNetwork().

IrcListModel _ircListModel
private

Definition at line 63 of file channellistdlg.h.

Referenced by ChannelListDlg(), receiveChannelList(), and setNetwork().

QSortFilterProxyModel _sortFilter
private

Definition at line 64 of file channellistdlg.h.

Referenced by ChannelListDlg().

QSpacerItem* _simpleModeSpacer
private

Definition at line 65 of file channellistdlg.h.

Referenced by setAdvancedMode().

bool _advancedMode
private

Definition at line 66 of file channellistdlg.h.

Referenced by setAdvancedMode(), and toggleMode().


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