23 #ifndef __IRCDOCK_TAB_CONTENTS_H_ 24 #define __IRCDOCK_TAB_CONTENTS_H_ 66 bool hasTabFocus()
const;
81 QString title()
const;
82 QString titleColor()
const;
85 void receiveMessage(
const QString &message);
86 void receiveMessageWithClass(
const QString &message,
const IRCMessageClass &messageClass);
97 void titleBlinkRequested();
111 void newMessagePrinted();
114 void adapterFocusRequest();
115 void adapterTerminating();
117 void adapterTitleChange()
133 void myNicknameUsedSlot();
135 void receiveError(
const QString &error);
137 void userListCustomContextMenuRequested(
const QPoint &pos);
138 void userListDoubleClicked();
144 bool eventFilter(QObject *watched, QEvent *event)
override;
159 friend class PrivData<IRCDockTabContents>;
161 static const int BLINK_TIMER_DELAY_MS;
163 void alertIfConfigured();
164 void appendGeneralChatContextMenuOptions(QMenu *menu);
165 void appendPrivChatContextMenuOptions(QMenu *menu);
166 void appendPrivChatContextMenuAction(QMenu *menu,
const QString &text, PrivChatMenu type);
168 void completeNickname();
169 QStandardItem *findUserListItem(
const QString &nickname);
170 UserListMenu &getUserListContextMenu();
171 void insertMessage(
const IRCMessageClass &messageClass,
const QString &htmlString);
176 QString recipient()
const;
179 QString selectedNickname();
181 void sendCtcpPing(
const QString &nickname);
182 void sendCtcpTime(
const QString &nickname);
183 void sendCtcpVersion(
const QString &nickname);
184 void sendWhois(
const QString &nickname);
191 void setBlinkTitle(
bool b);
195 void setupNewUserListModel();
196 void startIgnoreOperation(
const QString &nickname);
198 QString wrapTextWithMetaTags(
const QString &text,
201 bool writeLog(
const QString &text);
204 void blinkTimerSlot();
205 void onFocusChanged(QWidget *old, QWidget *now);
206 void onPrivChatActionTriggered();
207 void printToSendersNetworksCurrentChatBox(
const QString &text,
const IRCMessageClass &msgClass);
208 void resetNicknameCompletion();
209 void showChatContextMenu(
const QPoint &pos);
210 void showIgnoresManager();
Interprets communication between the client and the IRC server.
Allows to perform operation on a list of users.
void setIRCAdapter(IRCAdapterBase *pAdapter)
Calling this multiple times on the same object will cause memory leaks.
Dockable widget designed for IRC communication.
void grabFocus()
Called when tab becomes active.
Provides an unified communication interface between a client and IRC network entities.
void chatWindowCloseRequest(IRCDockTabContents *)
Emitted when the IRCAdapterBase that is associated with this widget is no longer valid - possibly eve...
Dockable widget designed for IRC communication.
Handles chatting through IRC.
void newChatWindowIsOpened(IRCChatAdapter *pAdapter)
Captures signals from IRC Networks which indicate that a new chat window is being opened...
void titleChange(IRCDockTabContents *pCaller)
Emitted when the variable returned by IRCAdapterBase::title() might have changed and the application ...
void focusRequest(IRCDockTabContents *pCaller)
Emitted when network adapter for this dock emits its focusRequest() signal.
Holds information flags about given nickname.
Data structure that describes and defines a connection to an IRC network or server.
void applyAppearanceSettings()
Applies current appearance settings from the IRC config.