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();