1 #ifndef _KVI_IRCCONTEXT_H_
2 #define _KVI_IRCCONTEXT_H_
64 friend class KviIrcContextToolBar;
112 inline unsigned int id() {
return m_uId; };
131 void closeAllContextWindows();
132 void registerContextWindow(
KviWindow * pWnd);
133 bool unregisterContextWindow(
KviWindow * pWnd);
138 void createLinksWindow();
143 void createListWindow();
149 void destroyAsynchronousConnectionData();
151 void connectToCurrentServer();
153 void beginAsynchronousConnect(
unsigned int uDelayInMSecs);
158 void terminateConnectionRequest(
bool bForce,
const QString & szQuitMessage = QString(),
bool bSimulateUnexpectedDisconnect =
false);
160 void closeAllDeadChannels();
161 void closeAllDeadQueries();
165 void connectButtonClicked();
167 void destroyConnection();
169 void setState(
State eState);
171 void loginComplete();
173 virtual void timerEvent(QTimerEvent *
e);
181 void connectionFailed(
int iError);
182 void connectionEstablished();
183 void connectionTerminated();
187 void asynchronousConnect();
KviAsynchronousConnectionData * asynchronousConnectionData()
Definition: KviIrcContext.h:148
void connectOrDisconnect()
Definition: KviIrcContext.h:176
Definition: KviIrcContext.h:77
Definition: KviIrcContext.h:78
Definition: KviMainWindow.h:60
Definition: KviConsoleWindow.h:75
Definition: KviAsynchronousConnectionData.h:32
The class which manages the irc servers.
Definition: KviIrcServer.h:51
#define KVIRC_API
Definition: kvi_settings.h:128
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
KviPointerList< KviIrcDataStreamMonitor > * monitorList()
Definition: KviIrcContext.h:135
KviExternalServerDataParser * m_pListWindow
Definition: KviIrcContext.h:93
int m_iHeartbeatTimerId
Definition: KviIrcContext.h:109
#define m
Definition: detector.cpp:77
State
Definition: NotifierSettings.h:61
#define l
Definition: detector.cpp:76
An abstraction of a connection to an IRC server.
Definition: KviIrcConnection.h:95
bool isConnected()
Definition: KviIrcContext.h:119
KviConsoleWindow * m_pConsole
Definition: KviIrcContext.h:84
State m_eState
Definition: KviIrcContext.h:89
void setLinksWindowPointer(KviExternalServerDataParser *l)
Definition: KviIrcContext.h:139
KviPointerList< KviIrcDataStreamMonitor > * m_pMonitorList
Definition: KviIrcContext.h:101
KviPointerList< KviChannelWindow > * m_pDeadChannels
Definition: KviIrcContext.h:104
unsigned int id()
Definition: KviIrcContext.h:112
#define e
Definition: detector.cpp:69
void setListWindowPointer(KviExternalServerDataParser *l)
Definition: KviIrcContext.h:144
KviExternalServerDataParser * m_pLinksWindow
Definition: KviIrcContext.h:92
KviAsynchronousConnectionData * m_pSavedAsynchronousConnectionData
Definition: KviIrcContext.h:96
The class which manages a query.
Definition: KviQueryWindow.h:49
KviExternalServerDataParser * linksWindow()
Definition: KviIrcContext.h:140
Network handling class.
Definition: KviIrcNetwork.h:47
#define q
Definition: detector.cpp:81
KviIrcConnection * m_pConnection
Definition: KviIrcContext.h:85
KviExternalServerDataParser * listWindow()
Definition: KviIrcContext.h:145
char s d
Definition: KviIrcNumericCodes.h:391
KviIrcConnection * connection()
Definition: KviIrcContext.h:116
State
Definition: KviIrcContext.h:74
KviConsoleWindow * console()
Definition: KviIrcContext.h:114
QTimer * m_pReconnectTimer
Definition: KviIrcContext.h:99
Definition: KviIrcContext.h:79
bool isLoggingIn()
Definition: KviIrcContext.h:120
KviAsynchronousConnectionData * m_pAsynchronousConnectionData
Definition: KviIrcContext.h:95
Definition: KviIrcServerParser.h:103
C++ Template based double linked pointer list class.
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
QString name()
Definition: KviRuntimeInfo.cpp:655
unsigned int m_uConnectAttemptCount
Definition: KviIrcContext.h:98
Definition: KviIrcContext.h:76
Definition: KviIrcDataStreamMonitor.h:32
This file contains compile time settings.
KviPointerList< KviWindow > * m_pContextWindows
Definition: KviIrcContext.h:107
Definition: KviIrcContext.h:58
KviPointerList< KviQueryWindow > * m_pDeadQueries
Definition: KviIrcContext.h:105
State state()
Definition: KviIrcContext.h:118
The class which manages a channel.
Definition: KviChannelWindow.h:113
unsigned int m_uId
Definition: KviIrcContext.h:87