23 #ifndef __IRCDOCK_TAB_CONTENTS_H_ 24 #define __IRCDOCK_TAB_CONTENTS_H_ 66 bool hasTabFocus()
const;
78 QString title()
const;
79 QString titleColor()
const;
82 void receiveMessage(
const QString& message);
83 void receiveMessageWithClass(
const QString& message,
const IRCMessageClass& messageClass);
94 void titleBlinkRequested();
108 void newMessagePrinted();
111 void adapterFocusRequest();
112 void adapterTerminating();
114 void adapterTitleChange()
130 void myNicknameUsedSlot();
132 void receiveError(
const QString& error);
134 void userListCustomContextMenuRequested(
const QPoint& pos);
135 void userListDoubleClicked(
const QModelIndex& index);
141 bool eventFilter(QObject *watched, QEvent *event);
156 friend class PrivData<IRCDockTabContents>;
158 static const int BLINK_TIMER_DELAY_MS;
160 void alertIfConfigured();
161 void appendGeneralChatContextMenuOptions(QMenu *menu);
162 void appendPrivChatContextMenuOptions(QMenu *menu);
163 void appendPrivChatContextMenuAction(QMenu *menu,
const QString &text, PrivChatMenu type);
165 void completeNickname();
166 QStandardItem* findUserListItem(
const QString& nickname);
167 UserListMenu& getUserListContextMenu();
168 void insertMessage(
const IRCMessageClass& messageClass,
const QString& htmlString);
173 QString recipient()
const;
176 QString selectedNickname();
178 void sendCtcpPing(
const QString &nickname);
179 void sendCtcpTime(
const QString &nickname);
180 void sendCtcpVersion(
const QString &nickname);
181 void sendWhois(
const QString &nickname);
188 void setBlinkTitle(
bool b);
192 void setupNewUserListModel();
193 void startIgnoreOperation(
const QString &nickname);
195 QString wrapTextWithMetaTags(
const QString &text,
198 bool writeLog(
const QString &text);
201 void blinkTimerSlot();
202 void onFocusChanged(QWidget *old, QWidget *now);
203 void onPrivChatActionTriggered();
204 void printToSendersNetworksCurrentChatBox(
const QString &text,
const IRCMessageClass &msgClass);
205 void resetNicknameCompletion();
206 void showChatContextMenu(
const QPoint &pos);
207 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.