IRCDockTabContents Class Reference

Dockable widget designed for IRC communication. More...

#include <ircdocktabcontents.h>

+ Inheritance diagram for IRCDockTabContents:

Public Slots

void receiveMessage (const QString &message)
 
void receiveMessageWithClass (const QString &message, const IRCMessageClass &messageClass)
 

Signals

void chatWindowCloseRequest (IRCDockTabContents *)
 Emitted when the IRCAdapterBase that is associated with this widget is no longer valid - possibly even deleted. More...
 
void focusRequest (IRCDockTabContents *pCaller)
 Emitted when network adapter for this dock emits its focusRequest() signal. More...
 
void newMessagePrinted ()
 
void titleBlinkRequested ()
 
void titleChange (IRCDockTabContents *pCaller)
 Emitted when the variable returned by IRCAdapterBase::title() might have changed and the application should be notified of this fact. More...
 

Public Member Functions

 IRCDockTabContents (IRCDock *pParentIRCDock)
 
void applyAppearanceSettings ()
 Applies current appearance settings from the IRC config. More...
 
void grabFocus ()
 Called when tab becomes active. More...
 
bool hasTabFocus () const
 
QIcon icon () const
 
IRCAdapterBaseircAdapter () const
 
void setIRCAdapter (IRCAdapterBase *pAdapter)
 Calling this multiple times on the same object will cause memory leaks. More...
 
QString title () const
 
QString titleColor () const
 

Protected Slots

void adapterFocusRequest ()
 
void adapterTerminating ()
 
void adapterTitleChange ()
 
void myNicknameUsedSlot ()
 
void nameAdded (const IRCUserInfo &userInfo)
 
void nameListUpdated (const IRCUserList &userList)
 
void nameRemoved (const IRCUserInfo &userInfo)
 
void nameUpdated (const IRCUserInfo &userInfo)
 
void newChatWindowIsOpened (IRCChatAdapter *pAdapter)
 Captures signals from IRC Networks which indicate that a new chat window is being opened. More...
 
void receiveError (const QString &error)
 
void sendMessage ()
 
void userListCustomContextMenuRequested (const QPoint &pos)
 
void userListDoubleClicked (const QModelIndex &index)
 

Protected Member Functions

bool eventFilter (QObject *watched, QEvent *event)
 

Protected Attributes

IRCAdapterBasepIrcAdapter
 
IRCDockpParentIRCDock
 

Friends

class PrivData< IRCDockTabContents >
 

Detailed Description

Dockable widget designed for IRC communication.

Definition at line 46 of file ircdocktabcontents.h.

Member Function Documentation

void IRCDockTabContents::applyAppearanceSettings ( )

Applies current appearance settings from the IRC config.

Definition at line 196 of file ircdocktabcontents.cpp.

void IRCDockTabContents::chatWindowCloseRequest ( IRCDockTabContents )
signal

Emitted when the IRCAdapterBase that is associated with this widget is no longer valid - possibly even deleted.

Capture this to close this widget.

void IRCDockTabContents::focusRequest ( IRCDockTabContents pCaller)
signal

Emitted when network adapter for this dock emits its focusRequest() signal.

void IRCDockTabContents::grabFocus ( )

Called when tab becomes active.

Informs the tab that it should grab keyboard focus. Text input widget will be selected.

Definition at line 311 of file ircdocktabcontents.cpp.

void IRCDockTabContents::newChatWindowIsOpened ( IRCChatAdapter pAdapter)
protectedslot

Captures signals from IRC Networks which indicate that a new chat window is being opened.

Definition at line 460 of file ircdocktabcontents.cpp.

void IRCDockTabContents::setIRCAdapter ( IRCAdapterBase pAdapter)

Calling this multiple times on the same object will cause memory leaks.

Definition at line 663 of file ircdocktabcontents.cpp.

void IRCDockTabContents::titleChange ( IRCDockTabContents pCaller)
signal

Emitted when the variable returned by IRCAdapterBase::title() might have changed and the application should be notified of this fact.


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