Class type that is used for private conversations with other users directly. More...
#include <ircprivadapter.h>
Inheritance diagram for IRCPrivAdapter:Public Member Functions | |
| IRCPrivAdapter (IRCNetworkAdapter *pNetwork, const QString &recipient) | |
| AdapterType | adapterType () const |
| Gets adapter type for this adapter instance. More... | |
| void | userChangesNickname (const QString &oldNickname, const QString &newNickname) |
| Use this to register the fact that user has changed his/hers nickname. More... | |
| void | userJoins (const QString &nickname, const QString &fullSignature) |
| Use this to register the fact that user has joined the chat. More... | |
| void | userLeaves (const QString &nickname, const QString &farewellMessage, IRCQuitType quitType) |
| Use this to register the fact that user has left the chat. More... | |
| void | userModeChanges (const QString &nickname, const QList< char > &addedFlags, const QList< char > &removedFlags) |
| Use this to register the fact that user MODE flags have changed. More... | |
Public Member Functions inherited from IRCChatAdapter | |
| IRCChatAdapter (IRCNetworkAdapter *pNetwork, const QString &recipient) | |
| void | doSendMessage (const QString &message, IRCAdapterBase *pOrigin) |
| virtual void | emitChatMessage (const QString &sender, const QString &content) |
| Emits message() signal formatting it to present sender's message. More... | |
| IRCNetworkAdapter * | network () |
| The idea of the adapter system is that each adapter is either a network or is a child of a network. More... | |
| QString | recipient () const |
| void | setNetwork (IRCNetworkAdapter *pNetwork) |
| Sets IRCNetworkAdapter for this chat window. This adapter is not detached from the old network. More... | |
| QString | title () const |
| For chat adapters this will return recipientName. More... | |
Public Member Functions inherited from IRCAdapterBase | |
| virtual | ~IRCAdapterBase () |
| Destructor emits terminating() signal. More... | |
| void | emitError (const QString &strError) |
| void | emitFocusRequest () |
| void | emitMessage (const QString &strMessage) |
| void | emitMessageWithClass (const QString &strMessage, const IRCMessageClass &messageClass) |
| const IRCNetworkEntity & | networkEntity () const |
Additional Inherited Members | |
Public Types inherited from IRCChatAdapter | |
| enum | IRCQuitType { ChannelPart, NetworkKill, NetworkQuit } |
Public Types inherited from IRCAdapterBase | |
| enum | AdapterType { NetworkAdapter, ChannelAdapter, PrivAdapter } |
| Defines all possible types of IRC adapters. More... | |
Public Slots inherited from IRCAdapterBase | |
| void | emitMessageToAllChatBoxes (const QString &message, const IRCMessageClass &msgClass) |
| void | sendMessage (const QString &message) |
Signals inherited from IRCAdapterBase | |
| void | error (const QString &error) |
| void | focusRequest () |
| Called when this adapter requests UI focus. More... | |
| void | message (const QString &message) |
| void | messageToNetworksCurrentChatBox (const QString &message, const IRCMessageClass &msgClass) |
| void | messageWithClass (const QString &message, const IRCMessageClass &messageClass) |
| void | terminating () |
| void | titleChange () |
| Can be called when the variable returned by title() might have changed and the application should be notified of this fact. More... | |
Protected Member Functions inherited from IRCChatAdapter | |
| QString | extractMessageLine (QStringList &words, int maxLength) |
| void | sendChatMessage (const QString &message) |
| void | setRecipient (const QString &name) |
Protected Attributes inherited from IRCChatAdapter | |
| IRCNetworkAdapter * | pNetwork |
| QString | recipientName |
Class type that is used for private conversations with other users directly.
Definition at line 32 of file ircprivadapter.h.
|
inlinevirtual |
Gets adapter type for this adapter instance.
Implements IRCAdapterBase.
Definition at line 39 of file ircprivadapter.h.
|
virtual |
Use this to register the fact that user has changed his/hers nickname.
Implements IRCChatAdapter.
Definition at line 33 of file ircprivadapter.cpp.
|
virtual |
Use this to register the fact that user has joined the chat.
Implements IRCChatAdapter.
Definition at line 43 of file ircprivadapter.cpp.
|
virtual |
Use this to register the fact that user has left the chat.
Implements IRCChatAdapter.
Definition at line 48 of file ircprivadapter.cpp.
|
inlinevirtual |
Use this to register the fact that user MODE flags have changed.
Implements IRCChatAdapter.
Definition at line 44 of file ircprivadapter.h.