Class type that is used for private conversations with other users directly. More...
#include <ircprivadapter.h>
Public Member Functions | |
IRCPrivAdapter (IRCNetworkAdapter *pNetwork, const QString &recipient) | |
AdapterType | adapterType () const override |
Gets adapter type for this adapter instance. | |
void | userChangesNickname (const QString &oldNickname, const QString &newNickname) override |
Use this to register the fact that user has changed his/hers nickname. | |
void | userJoins (const QString &nickname, const QString &fullSignature) override |
Use this to register the fact that user has joined the chat. | |
void | userLeaves (const QString &nickname, const QString &farewellMessage, IRCQuitType quitType) override |
Use this to register the fact that user has left the chat. | |
void | userModeChanges (const QString &nickname, const QList< char > &addedFlags, const QList< char > &removedFlags) override |
Use this to register the fact that user MODE flags have changed. | |
![]() | |
IRCChatAdapter (IRCNetworkAdapter *pNetwork, const QString &recipient) | |
void | doSendMessage (const QString &message, IRCAdapterBase *pOrigin) override |
virtual void | emitChatMessage (const QString &sender, const QString &content) |
Emits message() signal formatting it to present sender's message. | |
IRCNetworkAdapter * | network () override |
The idea of the adapter system is that each adapter is either a network or is a child of a network. | |
QString | recipient () const override |
void | setNetwork (IRCNetworkAdapter *pNetwork) |
Sets IRCNetworkAdapter for this chat window. This adapter is not detached from the old network. | |
QString | title () const override |
For chat adapters this will return recipientName. | |
![]() | |
virtual | ~IRCAdapterBase () override |
Destructor emits terminating() signal. | |
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 | |
![]() | |
enum | IRCQuitType { ChannelPart, NetworkKill, NetworkQuit } |
![]() | |
void | emitMessageToAllChatBoxes (const QString &message, const IRCMessageClass &msgClass) |
void | sendMessage (const QString &message) |
![]() | |
void | error (const QString &error) |
void | focusRequest () |
Called when this adapter requests UI focus. | |
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. | |
![]() | |
QString | extractMessageLine (QStringList &words, int maxLength) |
void | sendChatMessage (const QString &message) |
void | setRecipient (const QString &name) |
![]() | |
IRCNetworkAdapter * | pNetwork |
QString | recipientName |
Class type that is used for private conversations with other users directly.
Definition at line 32 of file ircprivadapter.h.
|
inlineoverridevirtual |
Gets adapter type for this adapter instance.
Implements IRCAdapterBase.
Definition at line 39 of file ircprivadapter.h.
|
overridevirtual |
Use this to register the fact that user has changed his/hers nickname.
Implements IRCChatAdapter.
Definition at line 33 of file ircprivadapter.cpp.
|
overridevirtual |
Use this to register the fact that user has joined the chat.
Implements IRCChatAdapter.
Definition at line 43 of file ircprivadapter.cpp.
|
overridevirtual |
Use this to register the fact that user has left the chat.
Implements IRCChatAdapter.
Definition at line 50 of file ircprivadapter.cpp.
|
inlineoverridevirtual |
Use this to register the fact that user MODE flags have changed.
Implements IRCChatAdapter.
Definition at line 47 of file ircprivadapter.h.