16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Network.IRC.IrcWidget</h1> |
23 <h1>eric6.Network.IRC.IrcWidget</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the IRC window. |
26 Module implementing the IRC window. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#IrcWidget">IrcWidget</a></td> |
38 <td><a href="#IrcWidget">IrcWidget</a></td> |
34 <td>Class implementing the IRC window.</td> |
39 <td>Class implementing the IRC window.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="IrcWidget" ID="IrcWidget"></a> |
49 <a NAME="IrcWidget" ID="IrcWidget"></a> |
43 <h2>IrcWidget</h2> |
50 <h2>IrcWidget</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the IRC window. |
53 Class implementing the IRC window. |
46 </p><h3>Signals</h3> |
54 </p> |
47 <dl> |
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
48 <dt>autoConnected()</dt> |
58 <dt>autoConnected()</dt> |
49 <dd> |
59 <dd> |
50 emitted after an automatic connection was initiated |
60 emitted after an automatic connection was initiated |
51 </dd> |
61 </dd> |
52 </dl> |
62 </dl> |
53 <h3>Derived from</h3> |
63 <h3>Derived from</h3> |
54 QWidget, Ui_IrcWidget |
64 QWidget, Ui_IrcWidget |
55 <h3>Class Attributes</h3> |
65 <h3>Class Attributes</h3> |
|
66 |
56 <table> |
67 <table> |
57 <tr><td>ServerConnected</td></tr><tr><td>ServerConnecting</td></tr><tr><td>ServerDisconnected</td></tr> |
68 <tr><td>ServerConnected</td></tr><tr><td>ServerConnecting</td></tr><tr><td>ServerDisconnected</td></tr> |
58 </table> |
69 </table> |
59 <h3>Class Methods</h3> |
70 <h3>Class Methods</h3> |
|
71 |
60 <table> |
72 <table> |
61 <tr><td>None</td></tr> |
73 <tr><td>None</td></tr> |
62 </table> |
74 </table> |
63 <h3>Methods</h3> |
75 <h3>Methods</h3> |
|
76 |
64 <table> |
77 <table> |
|
78 |
65 <tr> |
79 <tr> |
66 <td><a href="#IrcWidget.__init__">IrcWidget</a></td> |
80 <td><a href="#IrcWidget.__init__">IrcWidget</a></td> |
67 <td>Constructor</td> |
81 <td>Constructor</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#IrcWidget.__autoJoinChannels">__autoJoinChannels</a></td> |
84 <td><a href="#IrcWidget.__autoJoinChannels">__autoJoinChannels</a></td> |
70 <td>Private slot to join channels automatically once a server got connected.</td> |
85 <td>Private slot to join channels automatically once a server got connected.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#IrcWidget.__away">__away</a></td> |
88 <td><a href="#IrcWidget.__away">__away</a></td> |
73 <td>Private slot handling the change of the away state.</td> |
89 <td>Private slot handling the change of the away state.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#IrcWidget.__changeNick">__changeNick</a></td> |
92 <td><a href="#IrcWidget.__changeNick">__changeNick</a></td> |
76 <td>Private slot to use a new nick name.</td> |
93 <td>Private slot to use a new nick name.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#IrcWidget.__closeAllChannels">__closeAllChannels</a></td> |
96 <td><a href="#IrcWidget.__closeAllChannels">__closeAllChannels</a></td> |
79 <td>Private method to close all channels.</td> |
97 <td>Private method to close all channels.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#IrcWidget.__closeChannel">__closeChannel</a></td> |
100 <td><a href="#IrcWidget.__closeChannel">__closeChannel</a></td> |
82 <td>Private slot handling the closing of a channel.</td> |
101 <td>Private slot handling the closing of a channel.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#IrcWidget.__connectNetwork">__connectNetwork</a></td> |
104 <td><a href="#IrcWidget.__connectNetwork">__connectNetwork</a></td> |
85 <td>Private slot to connect to or disconnect from the given network.</td> |
105 <td>Private slot to connect to or disconnect from the given network.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#IrcWidget.__editNetwork">__editNetwork</a></td> |
108 <td><a href="#IrcWidget.__editNetwork">__editNetwork</a></td> |
88 <td>Private slot to edit the network configuration.</td> |
109 <td>Private slot to edit the network configuration.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#IrcWidget.__handleCtcp">__handleCtcp</a></td> |
112 <td><a href="#IrcWidget.__handleCtcp">__handleCtcp</a></td> |
91 <td>Private method to handle a CTCP command.</td> |
113 <td>Private method to handle a CTCP command.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#IrcWidget.__handleCtcpReply">__handleCtcpReply</a></td> |
116 <td><a href="#IrcWidget.__handleCtcpReply">__handleCtcpReply</a></td> |
94 <td>Private method to handle a server message containing a CTCP reply.</td> |
117 <td>Private method to handle a server message containing a CTCP reply.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#IrcWidget.__handleNamedMessage">__handleNamedMessage</a></td> |
120 <td><a href="#IrcWidget.__handleNamedMessage">__handleNamedMessage</a></td> |
97 <td>Private method to handle a server message containing a message name.</td> |
121 <td>Private method to handle a server message containing a message name.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#IrcWidget.__handleNickInUse">__handleNickInUse</a></td> |
124 <td><a href="#IrcWidget.__handleNickInUse">__handleNickInUse</a></td> |
100 <td>Private method to handle a 443 server error.</td> |
125 <td>Private method to handle a 443 server error.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#IrcWidget.__handleNickInUseLogin">__handleNickInUseLogin</a></td> |
128 <td><a href="#IrcWidget.__handleNickInUseLogin">__handleNickInUseLogin</a></td> |
103 <td>Private method to handle a 443 server error at login.</td> |
129 <td>Private method to handle a 443 server error at login.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#IrcWidget.__handleNumericMessage">__handleNumericMessage</a></td> |
132 <td><a href="#IrcWidget.__handleNumericMessage">__handleNumericMessage</a></td> |
106 <td>Private method to handle a server message containing a numeric code.</td> |
133 <td>Private method to handle a server message containing a numeric code.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#IrcWidget.__handleServerError">__handleServerError</a></td> |
136 <td><a href="#IrcWidget.__handleServerError">__handleServerError</a></td> |
109 <td>Private slot to handle a server error reply.</td> |
137 <td>Private slot to handle a server error reply.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#IrcWidget.__handleServerReply">__handleServerReply</a></td> |
140 <td><a href="#IrcWidget.__handleServerReply">__handleServerReply</a></td> |
112 <td>Private slot to handle a server reply.</td> |
141 <td>Private slot to handle a server reply.</td> |
113 </tr><tr> |
142 </tr> |
|
143 <tr> |
114 <td><a href="#IrcWidget.__hostConnected">__hostConnected</a></td> |
144 <td><a href="#IrcWidget.__hostConnected">__hostConnected</a></td> |
115 <td>Private slot to log in to the server after the connection was established.</td> |
145 <td>Private slot to log in to the server after the connection was established.</td> |
116 </tr><tr> |
146 </tr> |
|
147 <tr> |
117 <td><a href="#IrcWidget.__hostDisconnected">__hostDisconnected</a></td> |
148 <td><a href="#IrcWidget.__hostDisconnected">__hostDisconnected</a></td> |
118 <td>Private slot to indicate the host was disconnected.</td> |
149 <td>Private slot to indicate the host was disconnected.</td> |
119 </tr><tr> |
150 </tr> |
|
151 <tr> |
120 <td><a href="#IrcWidget.__hostFound">__hostFound</a></td> |
152 <td><a href="#IrcWidget.__hostFound">__hostFound</a></td> |
121 <td>Private slot to indicate the host was found.</td> |
153 <td>Private slot to indicate the host was found.</td> |
122 </tr><tr> |
154 </tr> |
|
155 <tr> |
123 <td><a href="#IrcWidget.__leaveAllChannels">__leaveAllChannels</a></td> |
156 <td><a href="#IrcWidget.__leaveAllChannels">__leaveAllChannels</a></td> |
124 <td>Private slot to leave all channels and close their tabs.</td> |
157 <td>Private slot to leave all channels and close their tabs.</td> |
125 </tr><tr> |
158 </tr> |
|
159 <tr> |
126 <td><a href="#IrcWidget.__leaveChannel">__leaveChannel</a></td> |
160 <td><a href="#IrcWidget.__leaveChannel">__leaveChannel</a></td> |
127 <td>Private slot to leave a channel and close the associated tab.</td> |
161 <td>Private slot to leave a channel and close the associated tab.</td> |
128 </tr><tr> |
162 </tr> |
|
163 <tr> |
129 <td><a href="#IrcWidget.__leaveChannels">__leaveChannels</a></td> |
164 <td><a href="#IrcWidget.__leaveChannels">__leaveChannels</a></td> |
130 <td>Private slot to leave a list of channels and close their associated tabs.</td> |
165 <td>Private slot to leave a list of channels and close their associated tabs.</td> |
131 </tr><tr> |
166 </tr> |
|
167 <tr> |
132 <td><a href="#IrcWidget.__networkDataChanged">__networkDataChanged</a></td> |
168 <td><a href="#IrcWidget.__networkDataChanged">__networkDataChanged</a></td> |
133 <td>Private slot handling changes of the network and identity definitions.</td> |
169 <td>Private slot handling changes of the network and identity definitions.</td> |
134 </tr><tr> |
170 </tr> |
|
171 <tr> |
135 <td><a href="#IrcWidget.__openPrivate">__openPrivate</a></td> |
172 <td><a href="#IrcWidget.__openPrivate">__openPrivate</a></td> |
136 <td>Private slot to open a private chat with the given user.</td> |
173 <td>Private slot to open a private chat with the given user.</td> |
137 </tr><tr> |
174 </tr> |
|
175 <tr> |
138 <td><a href="#IrcWidget.__ping">__ping</a></td> |
176 <td><a href="#IrcWidget.__ping">__ping</a></td> |
139 <td>Private method to handle a PING message.</td> |
177 <td>Private method to handle a PING message.</td> |
140 </tr><tr> |
178 </tr> |
|
179 <tr> |
141 <td><a href="#IrcWidget.__query">__query</a></td> |
180 <td><a href="#IrcWidget.__query">__query</a></td> |
142 <td>Private method to handle a new private connection.</td> |
181 <td>Private method to handle a new private connection.</td> |
143 </tr><tr> |
182 </tr> |
|
183 <tr> |
144 <td><a href="#IrcWidget.__readyRead">__readyRead</a></td> |
184 <td><a href="#IrcWidget.__readyRead">__readyRead</a></td> |
145 <td>Private slot to read data from the socket.</td> |
185 <td>Private slot to read data from the socket.</td> |
146 </tr><tr> |
186 </tr> |
|
187 <tr> |
147 <td><a href="#IrcWidget.__registerWithServices">__registerWithServices</a></td> |
188 <td><a href="#IrcWidget.__registerWithServices">__registerWithServices</a></td> |
148 <td>Private method to register to services.</td> |
189 <td>Private method to register to services.</td> |
149 </tr><tr> |
190 </tr> |
|
191 <tr> |
150 <td><a href="#IrcWidget.__send">__send</a></td> |
192 <td><a href="#IrcWidget.__send">__send</a></td> |
151 <td>Private slot to send data to the IRC server.</td> |
193 <td>Private slot to send data to the IRC server.</td> |
152 </tr><tr> |
194 </tr> |
|
195 <tr> |
153 <td><a href="#IrcWidget.__sendCtcpReply">__sendCtcpReply</a></td> |
196 <td><a href="#IrcWidget.__sendCtcpReply">__sendCtcpReply</a></td> |
154 <td>Private slot to send a CTCP reply.</td> |
197 <td>Private slot to send a CTCP reply.</td> |
155 </tr><tr> |
198 </tr> |
|
199 <tr> |
156 <td><a href="#IrcWidget.__sendCtcpRequest">__sendCtcpRequest</a></td> |
200 <td><a href="#IrcWidget.__sendCtcpRequest">__sendCtcpRequest</a></td> |
157 <td>Private slot to send a CTCP request.</td> |
201 <td>Private slot to send a CTCP request.</td> |
158 </tr><tr> |
202 </tr> |
|
203 <tr> |
159 <td><a href="#IrcWidget.__setChannelTypePrefixes">__setChannelTypePrefixes</a></td> |
204 <td><a href="#IrcWidget.__setChannelTypePrefixes">__setChannelTypePrefixes</a></td> |
160 <td>Private method to set the channel type prefixes.</td> |
205 <td>Private method to set the channel type prefixes.</td> |
161 </tr><tr> |
206 </tr> |
|
207 <tr> |
162 <td><a href="#IrcWidget.__setUserPrivilegePrefix">__setUserPrivilegePrefix</a></td> |
208 <td><a href="#IrcWidget.__setUserPrivilegePrefix">__setUserPrivilegePrefix</a></td> |
163 <td>Private method to set the user privilege prefix.</td> |
209 <td>Private method to set the user privilege prefix.</td> |
164 </tr><tr> |
210 </tr> |
|
211 <tr> |
165 <td><a href="#IrcWidget.__sslErrors">__sslErrors</a></td> |
212 <td><a href="#IrcWidget.__sslErrors">__sslErrors</a></td> |
166 <td>Private slot to handle SSL errors.</td> |
213 <td>Private slot to handle SSL errors.</td> |
167 </tr><tr> |
214 </tr> |
|
215 <tr> |
168 <td><a href="#IrcWidget.__tcpError">__tcpError</a></td> |
216 <td><a href="#IrcWidget.__tcpError">__tcpError</a></td> |
169 <td>Private slot to handle errors reported by the TCP socket.</td> |
217 <td>Private slot to handle errors reported by the TCP socket.</td> |
170 </tr><tr> |
218 </tr> |
|
219 <tr> |
171 <td><a href="#IrcWidget.__updateUsersCount">__updateUsersCount</a></td> |
220 <td><a href="#IrcWidget.__updateUsersCount">__updateUsersCount</a></td> |
172 <td>Private method to update the users count on the channel tabs.</td> |
221 <td>Private method to update the users count on the channel tabs.</td> |
173 </tr><tr> |
222 </tr> |
|
223 <tr> |
174 <td><a href="#IrcWidget.autoConnect">autoConnect</a></td> |
224 <td><a href="#IrcWidget.autoConnect">autoConnect</a></td> |
175 <td>Public method to initiate the IRC auto connection.</td> |
225 <td>Public method to initiate the IRC auto connection.</td> |
176 </tr><tr> |
226 </tr> |
|
227 <tr> |
177 <td><a href="#IrcWidget.isChannelName">isChannelName</a></td> |
228 <td><a href="#IrcWidget.isChannelName">isChannelName</a></td> |
178 <td>Public method to check, if the given name is a channel name.</td> |
229 <td>Public method to check, if the given name is a channel name.</td> |
179 </tr><tr> |
230 </tr> |
|
231 <tr> |
180 <td><a href="#IrcWidget.joinChannel">joinChannel</a></td> |
232 <td><a href="#IrcWidget.joinChannel">joinChannel</a></td> |
181 <td>Public slot to join a channel.</td> |
233 <td>Public slot to join a channel.</td> |
182 </tr><tr> |
234 </tr> |
|
235 <tr> |
183 <td><a href="#IrcWidget.on_channelsWidget_tabCloseRequested">on_channelsWidget_tabCloseRequested</a></td> |
236 <td><a href="#IrcWidget.on_channelsWidget_tabCloseRequested">on_channelsWidget_tabCloseRequested</a></td> |
184 <td>Private slot to close a channel by pressing the close button of the channels widget.</td> |
237 <td>Private slot to close a channel by pressing the close button of the channels widget.</td> |
185 </tr><tr> |
238 </tr> |
|
239 <tr> |
186 <td><a href="#IrcWidget.shutdown">shutdown</a></td> |
240 <td><a href="#IrcWidget.shutdown">shutdown</a></td> |
187 <td>Public method to shut down the widget.</td> |
241 <td>Public method to shut down the widget.</td> |
188 </tr> |
242 </tr> |
189 </table> |
243 </table> |
190 <h3>Static Methods</h3> |
244 <h3>Static Methods</h3> |
|
245 |
191 <table> |
246 <table> |
192 <tr><td>None</td></tr> |
247 <tr><td>None</td></tr> |
193 </table> |
248 </table> |
|
249 |
194 <a NAME="IrcWidget.__init__" ID="IrcWidget.__init__"></a> |
250 <a NAME="IrcWidget.__init__" ID="IrcWidget.__init__"></a> |
195 <h4>IrcWidget (Constructor)</h4> |
251 <h4>IrcWidget (Constructor)</h4> |
196 <b>IrcWidget</b>(<i>parent=None</i>) |
252 <b>IrcWidget</b>(<i>parent=None</i>) |
|
253 |
197 <p> |
254 <p> |
198 Constructor |
255 Constructor |
199 </p><dl> |
256 </p> |
|
257 <dl> |
|
258 |
200 <dt><i>parent</i></dt> |
259 <dt><i>parent</i></dt> |
201 <dd> |
260 <dd> |
202 reference to the parent widget (QWidget) |
261 reference to the parent widget (QWidget) |
203 </dd> |
262 </dd> |
204 </dl><a NAME="IrcWidget.__autoJoinChannels" ID="IrcWidget.__autoJoinChannels"></a> |
263 </dl> |
|
264 <a NAME="IrcWidget.__autoJoinChannels" ID="IrcWidget.__autoJoinChannels"></a> |
205 <h4>IrcWidget.__autoJoinChannels</h4> |
265 <h4>IrcWidget.__autoJoinChannels</h4> |
206 <b>__autoJoinChannels</b>(<i></i>) |
266 <b>__autoJoinChannels</b>(<i></i>) |
|
267 |
207 <p> |
268 <p> |
208 Private slot to join channels automatically once a server got |
269 Private slot to join channels automatically once a server got |
209 connected. |
270 connected. |
210 </p><a NAME="IrcWidget.__away" ID="IrcWidget.__away"></a> |
271 </p> |
|
272 <a NAME="IrcWidget.__away" ID="IrcWidget.__away"></a> |
211 <h4>IrcWidget.__away</h4> |
273 <h4>IrcWidget.__away</h4> |
212 <b>__away</b>(<i>isAway</i>) |
274 <b>__away</b>(<i>isAway</i>) |
|
275 |
213 <p> |
276 <p> |
214 Private slot handling the change of the away state. |
277 Private slot handling the change of the away state. |
215 </p><dl> |
278 </p> |
|
279 <dl> |
|
280 |
216 <dt><i>isAway</i></dt> |
281 <dt><i>isAway</i></dt> |
217 <dd> |
282 <dd> |
218 flag indicating the current away state (boolean) |
283 flag indicating the current away state (boolean) |
219 </dd> |
284 </dd> |
220 </dl><a NAME="IrcWidget.__changeNick" ID="IrcWidget.__changeNick"></a> |
285 </dl> |
|
286 <a NAME="IrcWidget.__changeNick" ID="IrcWidget.__changeNick"></a> |
221 <h4>IrcWidget.__changeNick</h4> |
287 <h4>IrcWidget.__changeNick</h4> |
222 <b>__changeNick</b>(<i>nick</i>) |
288 <b>__changeNick</b>(<i>nick</i>) |
|
289 |
223 <p> |
290 <p> |
224 Private slot to use a new nick name. |
291 Private slot to use a new nick name. |
225 </p><dl> |
292 </p> |
|
293 <dl> |
|
294 |
226 <dt><i>nick</i></dt> |
295 <dt><i>nick</i></dt> |
227 <dd> |
296 <dd> |
228 nick name to use (str) |
297 nick name to use (str) |
229 </dd> |
298 </dd> |
230 </dl><a NAME="IrcWidget.__closeAllChannels" ID="IrcWidget.__closeAllChannels"></a> |
299 </dl> |
|
300 <a NAME="IrcWidget.__closeAllChannels" ID="IrcWidget.__closeAllChannels"></a> |
231 <h4>IrcWidget.__closeAllChannels</h4> |
301 <h4>IrcWidget.__closeAllChannels</h4> |
232 <b>__closeAllChannels</b>(<i></i>) |
302 <b>__closeAllChannels</b>(<i></i>) |
|
303 |
233 <p> |
304 <p> |
234 Private method to close all channels. |
305 Private method to close all channels. |
235 </p><a NAME="IrcWidget.__closeChannel" ID="IrcWidget.__closeChannel"></a> |
306 </p> |
|
307 <a NAME="IrcWidget.__closeChannel" ID="IrcWidget.__closeChannel"></a> |
236 <h4>IrcWidget.__closeChannel</h4> |
308 <h4>IrcWidget.__closeChannel</h4> |
237 <b>__closeChannel</b>(<i>name</i>) |
309 <b>__closeChannel</b>(<i>name</i>) |
|
310 |
238 <p> |
311 <p> |
239 Private slot handling the closing of a channel. |
312 Private slot handling the closing of a channel. |
240 </p><dl> |
313 </p> |
|
314 <dl> |
|
315 |
241 <dt><i>name</i></dt> |
316 <dt><i>name</i></dt> |
242 <dd> |
317 <dd> |
243 name of the closed channel (string) |
318 name of the closed channel (string) |
244 </dd> |
319 </dd> |
245 </dl><a NAME="IrcWidget.__connectNetwork" ID="IrcWidget.__connectNetwork"></a> |
320 </dl> |
|
321 <a NAME="IrcWidget.__connectNetwork" ID="IrcWidget.__connectNetwork"></a> |
246 <h4>IrcWidget.__connectNetwork</h4> |
322 <h4>IrcWidget.__connectNetwork</h4> |
247 <b>__connectNetwork</b>(<i>name, connect, silent</i>) |
323 <b>__connectNetwork</b>(<i>name, connect, silent</i>) |
|
324 |
248 <p> |
325 <p> |
249 Private slot to connect to or disconnect from the given network. |
326 Private slot to connect to or disconnect from the given network. |
250 </p><dl> |
327 </p> |
|
328 <dl> |
|
329 |
251 <dt><i>name</i></dt> |
330 <dt><i>name</i></dt> |
252 <dd> |
331 <dd> |
253 name of the network to connect to (string) |
332 name of the network to connect to (string) |
254 </dd><dt><i>connect</i></dt> |
333 </dd> |
|
334 <dt><i>connect</i></dt> |
255 <dd> |
335 <dd> |
256 flag indicating to connect (boolean) |
336 flag indicating to connect (boolean) |
257 </dd><dt><i>silent</i></dt> |
337 </dd> |
|
338 <dt><i>silent</i></dt> |
258 <dd> |
339 <dd> |
259 flag indicating a silent connect/disconnect (boolean) |
340 flag indicating a silent connect/disconnect (boolean) |
260 </dd> |
341 </dd> |
261 </dl><a NAME="IrcWidget.__editNetwork" ID="IrcWidget.__editNetwork"></a> |
342 </dl> |
|
343 <a NAME="IrcWidget.__editNetwork" ID="IrcWidget.__editNetwork"></a> |
262 <h4>IrcWidget.__editNetwork</h4> |
344 <h4>IrcWidget.__editNetwork</h4> |
263 <b>__editNetwork</b>(<i>name</i>) |
345 <b>__editNetwork</b>(<i>name</i>) |
|
346 |
264 <p> |
347 <p> |
265 Private slot to edit the network configuration. |
348 Private slot to edit the network configuration. |
266 </p><dl> |
349 </p> |
|
350 <dl> |
|
351 |
267 <dt><i>name</i></dt> |
352 <dt><i>name</i></dt> |
268 <dd> |
353 <dd> |
269 name of the network to edit (string) |
354 name of the network to edit (string) |
270 </dd> |
355 </dd> |
271 </dl><a NAME="IrcWidget.__handleCtcp" ID="IrcWidget.__handleCtcp"></a> |
356 </dl> |
|
357 <a NAME="IrcWidget.__handleCtcp" ID="IrcWidget.__handleCtcp"></a> |
272 <h4>IrcWidget.__handleCtcp</h4> |
358 <h4>IrcWidget.__handleCtcp</h4> |
273 <b>__handleCtcp</b>(<i>match</i>) |
359 <b>__handleCtcp</b>(<i>match</i>) |
|
360 |
274 <p> |
361 <p> |
275 Private method to handle a CTCP command. |
362 Private method to handle a CTCP command. |
276 </p><dl> |
363 </p> |
|
364 <dl> |
|
365 |
277 <dt><i>match</i></dt> |
366 <dt><i>match</i></dt> |
278 <dd> |
367 <dd> |
279 reference to the match object |
368 reference to the match object |
280 </dd> |
369 </dd> |
281 </dl><dl> |
370 </dl> |
|
371 <dl> |
282 <dt>Returns:</dt> |
372 <dt>Returns:</dt> |
283 <dd> |
373 <dd> |
284 flag indicating, if the message was handled (boolean) |
374 flag indicating, if the message was handled (boolean) |
285 </dd> |
375 </dd> |
286 </dl><a NAME="IrcWidget.__handleCtcpReply" ID="IrcWidget.__handleCtcpReply"></a> |
376 </dl> |
|
377 <a NAME="IrcWidget.__handleCtcpReply" ID="IrcWidget.__handleCtcpReply"></a> |
287 <h4>IrcWidget.__handleCtcpReply</h4> |
378 <h4>IrcWidget.__handleCtcpReply</h4> |
288 <b>__handleCtcpReply</b>(<i>match</i>) |
379 <b>__handleCtcpReply</b>(<i>match</i>) |
|
380 |
289 <p> |
381 <p> |
290 Private method to handle a server message containing a CTCP reply. |
382 Private method to handle a server message containing a CTCP reply. |
291 </p><dl> |
383 </p> |
|
384 <dl> |
|
385 |
292 <dt><i>match</i></dt> |
386 <dt><i>match</i></dt> |
293 <dd> |
387 <dd> |
294 reference to the match object |
388 reference to the match object |
295 </dd> |
389 </dd> |
296 </dl><a NAME="IrcWidget.__handleNamedMessage" ID="IrcWidget.__handleNamedMessage"></a> |
390 </dl> |
|
391 <a NAME="IrcWidget.__handleNamedMessage" ID="IrcWidget.__handleNamedMessage"></a> |
297 <h4>IrcWidget.__handleNamedMessage</h4> |
392 <h4>IrcWidget.__handleNamedMessage</h4> |
298 <b>__handleNamedMessage</b>(<i>match</i>) |
393 <b>__handleNamedMessage</b>(<i>match</i>) |
|
394 |
299 <p> |
395 <p> |
300 Private method to handle a server message containing a message name. |
396 Private method to handle a server message containing a message name. |
301 </p><dl> |
397 </p> |
|
398 <dl> |
|
399 |
302 <dt><i>match</i></dt> |
400 <dt><i>match</i></dt> |
303 <dd> |
401 <dd> |
304 reference to the match object |
402 reference to the match object |
305 </dd> |
403 </dd> |
306 </dl><dl> |
404 </dl> |
|
405 <dl> |
307 <dt>Returns:</dt> |
406 <dt>Returns:</dt> |
308 <dd> |
407 <dd> |
309 flag indicating, if the message was handled (boolean) |
408 flag indicating, if the message was handled (boolean) |
310 </dd> |
409 </dd> |
311 </dl><a NAME="IrcWidget.__handleNickInUse" ID="IrcWidget.__handleNickInUse"></a> |
410 </dl> |
|
411 <a NAME="IrcWidget.__handleNickInUse" ID="IrcWidget.__handleNickInUse"></a> |
312 <h4>IrcWidget.__handleNickInUse</h4> |
412 <h4>IrcWidget.__handleNickInUse</h4> |
313 <b>__handleNickInUse</b>(<i></i>) |
413 <b>__handleNickInUse</b>(<i></i>) |
|
414 |
314 <p> |
415 <p> |
315 Private method to handle a 443 server error. |
416 Private method to handle a 443 server error. |
316 </p><a NAME="IrcWidget.__handleNickInUseLogin" ID="IrcWidget.__handleNickInUseLogin"></a> |
417 </p> |
|
418 <a NAME="IrcWidget.__handleNickInUseLogin" ID="IrcWidget.__handleNickInUseLogin"></a> |
317 <h4>IrcWidget.__handleNickInUseLogin</h4> |
419 <h4>IrcWidget.__handleNickInUseLogin</h4> |
318 <b>__handleNickInUseLogin</b>(<i></i>) |
420 <b>__handleNickInUseLogin</b>(<i></i>) |
|
421 |
319 <p> |
422 <p> |
320 Private method to handle a 443 server error at login. |
423 Private method to handle a 443 server error at login. |
321 </p><a NAME="IrcWidget.__handleNumericMessage" ID="IrcWidget.__handleNumericMessage"></a> |
424 </p> |
|
425 <a NAME="IrcWidget.__handleNumericMessage" ID="IrcWidget.__handleNumericMessage"></a> |
322 <h4>IrcWidget.__handleNumericMessage</h4> |
426 <h4>IrcWidget.__handleNumericMessage</h4> |
323 <b>__handleNumericMessage</b>(<i>match</i>) |
427 <b>__handleNumericMessage</b>(<i>match</i>) |
|
428 |
324 <p> |
429 <p> |
325 Private method to handle a server message containing a numeric code. |
430 Private method to handle a server message containing a numeric code. |
326 </p><dl> |
431 </p> |
|
432 <dl> |
|
433 |
327 <dt><i>match</i></dt> |
434 <dt><i>match</i></dt> |
328 <dd> |
435 <dd> |
329 reference to the match object |
436 reference to the match object |
330 </dd> |
437 </dd> |
331 </dl><dl> |
438 </dl> |
|
439 <dl> |
332 <dt>Returns:</dt> |
440 <dt>Returns:</dt> |
333 <dd> |
441 <dd> |
334 flag indicating, if the message was handled (boolean) |
442 flag indicating, if the message was handled (boolean) |
335 </dd> |
443 </dd> |
336 </dl><a NAME="IrcWidget.__handleServerError" ID="IrcWidget.__handleServerError"></a> |
444 </dl> |
|
445 <a NAME="IrcWidget.__handleServerError" ID="IrcWidget.__handleServerError"></a> |
337 <h4>IrcWidget.__handleServerError</h4> |
446 <h4>IrcWidget.__handleServerError</h4> |
338 <b>__handleServerError</b>(<i>code, server, message</i>) |
447 <b>__handleServerError</b>(<i>code, server, message</i>) |
|
448 |
339 <p> |
449 <p> |
340 Private slot to handle a server error reply. |
450 Private slot to handle a server error reply. |
341 </p><dl> |
451 </p> |
|
452 <dl> |
|
453 |
342 <dt><i>code</i></dt> |
454 <dt><i>code</i></dt> |
343 <dd> |
455 <dd> |
344 numerical code sent by the server (integer) |
456 numerical code sent by the server (integer) |
345 </dd><dt><i>server</i></dt> |
457 </dd> |
|
458 <dt><i>server</i></dt> |
346 <dd> |
459 <dd> |
347 name of the server (string) |
460 name of the server (string) |
348 </dd><dt><i>message</i></dt> |
461 </dd> |
|
462 <dt><i>message</i></dt> |
349 <dd> |
463 <dd> |
350 message sent by the server (string) |
464 message sent by the server (string) |
351 </dd> |
465 </dd> |
352 </dl><dl> |
466 </dl> |
|
467 <dl> |
353 <dt>Returns:</dt> |
468 <dt>Returns:</dt> |
354 <dd> |
469 <dd> |
355 flag indicating, if the message was handled (boolean) |
470 flag indicating, if the message was handled (boolean) |
356 </dd> |
471 </dd> |
357 </dl><a NAME="IrcWidget.__handleServerReply" ID="IrcWidget.__handleServerReply"></a> |
472 </dl> |
|
473 <a NAME="IrcWidget.__handleServerReply" ID="IrcWidget.__handleServerReply"></a> |
358 <h4>IrcWidget.__handleServerReply</h4> |
474 <h4>IrcWidget.__handleServerReply</h4> |
359 <b>__handleServerReply</b>(<i>code, server, message</i>) |
475 <b>__handleServerReply</b>(<i>code, server, message</i>) |
|
476 |
360 <p> |
477 <p> |
361 Private slot to handle a server reply. |
478 Private slot to handle a server reply. |
362 </p><dl> |
479 </p> |
|
480 <dl> |
|
481 |
363 <dt><i>code</i></dt> |
482 <dt><i>code</i></dt> |
364 <dd> |
483 <dd> |
365 numerical code sent by the server (integer) |
484 numerical code sent by the server (integer) |
366 </dd><dt><i>server</i></dt> |
485 </dd> |
|
486 <dt><i>server</i></dt> |
367 <dd> |
487 <dd> |
368 name of the server (string) |
488 name of the server (string) |
369 </dd><dt><i>message</i></dt> |
489 </dd> |
|
490 <dt><i>message</i></dt> |
370 <dd> |
491 <dd> |
371 message sent by the server (string) |
492 message sent by the server (string) |
372 </dd> |
493 </dd> |
373 </dl><dl> |
494 </dl> |
|
495 <dl> |
374 <dt>Returns:</dt> |
496 <dt>Returns:</dt> |
375 <dd> |
497 <dd> |
376 flag indicating, if the message was handled (boolean) |
498 flag indicating, if the message was handled (boolean) |
377 </dd> |
499 </dd> |
378 </dl><a NAME="IrcWidget.__hostConnected" ID="IrcWidget.__hostConnected"></a> |
500 </dl> |
|
501 <a NAME="IrcWidget.__hostConnected" ID="IrcWidget.__hostConnected"></a> |
379 <h4>IrcWidget.__hostConnected</h4> |
502 <h4>IrcWidget.__hostConnected</h4> |
380 <b>__hostConnected</b>(<i></i>) |
503 <b>__hostConnected</b>(<i></i>) |
|
504 |
381 <p> |
505 <p> |
382 Private slot to log in to the server after the connection was |
506 Private slot to log in to the server after the connection was |
383 established. |
507 established. |
384 </p><a NAME="IrcWidget.__hostDisconnected" ID="IrcWidget.__hostDisconnected"></a> |
508 </p> |
|
509 <a NAME="IrcWidget.__hostDisconnected" ID="IrcWidget.__hostDisconnected"></a> |
385 <h4>IrcWidget.__hostDisconnected</h4> |
510 <h4>IrcWidget.__hostDisconnected</h4> |
386 <b>__hostDisconnected</b>(<i></i>) |
511 <b>__hostDisconnected</b>(<i></i>) |
|
512 |
387 <p> |
513 <p> |
388 Private slot to indicate the host was disconnected. |
514 Private slot to indicate the host was disconnected. |
389 </p><a NAME="IrcWidget.__hostFound" ID="IrcWidget.__hostFound"></a> |
515 </p> |
|
516 <a NAME="IrcWidget.__hostFound" ID="IrcWidget.__hostFound"></a> |
390 <h4>IrcWidget.__hostFound</h4> |
517 <h4>IrcWidget.__hostFound</h4> |
391 <b>__hostFound</b>(<i></i>) |
518 <b>__hostFound</b>(<i></i>) |
|
519 |
392 <p> |
520 <p> |
393 Private slot to indicate the host was found. |
521 Private slot to indicate the host was found. |
394 </p><a NAME="IrcWidget.__leaveAllChannels" ID="IrcWidget.__leaveAllChannels"></a> |
522 </p> |
|
523 <a NAME="IrcWidget.__leaveAllChannels" ID="IrcWidget.__leaveAllChannels"></a> |
395 <h4>IrcWidget.__leaveAllChannels</h4> |
524 <h4>IrcWidget.__leaveAllChannels</h4> |
396 <b>__leaveAllChannels</b>(<i></i>) |
525 <b>__leaveAllChannels</b>(<i></i>) |
|
526 |
397 <p> |
527 <p> |
398 Private slot to leave all channels and close their tabs. |
528 Private slot to leave all channels and close their tabs. |
399 </p><a NAME="IrcWidget.__leaveChannel" ID="IrcWidget.__leaveChannel"></a> |
529 </p> |
|
530 <a NAME="IrcWidget.__leaveChannel" ID="IrcWidget.__leaveChannel"></a> |
400 <h4>IrcWidget.__leaveChannel</h4> |
531 <h4>IrcWidget.__leaveChannel</h4> |
401 <b>__leaveChannel</b>(<i></i>) |
532 <b>__leaveChannel</b>(<i></i>) |
|
533 |
402 <p> |
534 <p> |
403 Private slot to leave a channel and close the associated tab. |
535 Private slot to leave a channel and close the associated tab. |
404 </p><a NAME="IrcWidget.__leaveChannels" ID="IrcWidget.__leaveChannels"></a> |
536 </p> |
|
537 <a NAME="IrcWidget.__leaveChannels" ID="IrcWidget.__leaveChannels"></a> |
405 <h4>IrcWidget.__leaveChannels</h4> |
538 <h4>IrcWidget.__leaveChannels</h4> |
406 <b>__leaveChannels</b>(<i>channelNames</i>) |
539 <b>__leaveChannels</b>(<i>channelNames</i>) |
|
540 |
407 <p> |
541 <p> |
408 Private slot to leave a list of channels and close their associated |
542 Private slot to leave a list of channels and close their associated |
409 tabs. |
543 tabs. |
410 </p><dl> |
544 </p> |
|
545 <dl> |
|
546 |
411 <dt><i>channelNames</i> (list of str)</dt> |
547 <dt><i>channelNames</i> (list of str)</dt> |
412 <dd> |
548 <dd> |
413 list of channels to leave |
549 list of channels to leave |
414 </dd> |
550 </dd> |
415 </dl><a NAME="IrcWidget.__networkDataChanged" ID="IrcWidget.__networkDataChanged"></a> |
551 </dl> |
|
552 <a NAME="IrcWidget.__networkDataChanged" ID="IrcWidget.__networkDataChanged"></a> |
416 <h4>IrcWidget.__networkDataChanged</h4> |
553 <h4>IrcWidget.__networkDataChanged</h4> |
417 <b>__networkDataChanged</b>(<i></i>) |
554 <b>__networkDataChanged</b>(<i></i>) |
|
555 |
418 <p> |
556 <p> |
419 Private slot handling changes of the network and identity definitions. |
557 Private slot handling changes of the network and identity definitions. |
420 </p><a NAME="IrcWidget.__openPrivate" ID="IrcWidget.__openPrivate"></a> |
558 </p> |
|
559 <a NAME="IrcWidget.__openPrivate" ID="IrcWidget.__openPrivate"></a> |
421 <h4>IrcWidget.__openPrivate</h4> |
560 <h4>IrcWidget.__openPrivate</h4> |
422 <b>__openPrivate</b>(<i>name</i>) |
561 <b>__openPrivate</b>(<i>name</i>) |
|
562 |
423 <p> |
563 <p> |
424 Private slot to open a private chat with the given user. |
564 Private slot to open a private chat with the given user. |
425 </p><dl> |
565 </p> |
|
566 <dl> |
|
567 |
426 <dt><i>name</i></dt> |
568 <dt><i>name</i></dt> |
427 <dd> |
569 <dd> |
428 name of the user (string) |
570 name of the user (string) |
429 </dd> |
571 </dd> |
430 </dl><a NAME="IrcWidget.__ping" ID="IrcWidget.__ping"></a> |
572 </dl> |
|
573 <a NAME="IrcWidget.__ping" ID="IrcWidget.__ping"></a> |
431 <h4>IrcWidget.__ping</h4> |
574 <h4>IrcWidget.__ping</h4> |
432 <b>__ping</b>(<i>match</i>) |
575 <b>__ping</b>(<i>match</i>) |
|
576 |
433 <p> |
577 <p> |
434 Private method to handle a PING message. |
578 Private method to handle a PING message. |
435 </p><dl> |
579 </p> |
|
580 <dl> |
|
581 |
436 <dt><i>match</i></dt> |
582 <dt><i>match</i></dt> |
437 <dd> |
583 <dd> |
438 reference to the match object |
584 reference to the match object |
439 </dd> |
585 </dd> |
440 </dl><dl> |
586 </dl> |
|
587 <dl> |
441 <dt>Returns:</dt> |
588 <dt>Returns:</dt> |
442 <dd> |
589 <dd> |
443 flag indicating, if the message was handled (boolean) |
590 flag indicating, if the message was handled (boolean) |
444 </dd> |
591 </dd> |
445 </dl><a NAME="IrcWidget.__query" ID="IrcWidget.__query"></a> |
592 </dl> |
|
593 <a NAME="IrcWidget.__query" ID="IrcWidget.__query"></a> |
446 <h4>IrcWidget.__query</h4> |
594 <h4>IrcWidget.__query</h4> |
447 <b>__query</b>(<i>match</i>) |
595 <b>__query</b>(<i>match</i>) |
|
596 |
448 <p> |
597 <p> |
449 Private method to handle a new private connection. |
598 Private method to handle a new private connection. |
450 </p><dl> |
599 </p> |
|
600 <dl> |
|
601 |
451 <dt><i>match</i></dt> |
602 <dt><i>match</i></dt> |
452 <dd> |
603 <dd> |
453 reference to the match object |
604 reference to the match object |
454 </dd> |
605 </dd> |
455 </dl><dl> |
606 </dl> |
|
607 <dl> |
456 <dt>Returns:</dt> |
608 <dt>Returns:</dt> |
457 <dd> |
609 <dd> |
458 flag indicating, if the message was handled (boolean) |
610 flag indicating, if the message was handled (boolean) |
459 </dd> |
611 </dd> |
460 </dl><a NAME="IrcWidget.__readyRead" ID="IrcWidget.__readyRead"></a> |
612 </dl> |
|
613 <a NAME="IrcWidget.__readyRead" ID="IrcWidget.__readyRead"></a> |
461 <h4>IrcWidget.__readyRead</h4> |
614 <h4>IrcWidget.__readyRead</h4> |
462 <b>__readyRead</b>(<i></i>) |
615 <b>__readyRead</b>(<i></i>) |
|
616 |
463 <p> |
617 <p> |
464 Private slot to read data from the socket. |
618 Private slot to read data from the socket. |
465 </p><a NAME="IrcWidget.__registerWithServices" ID="IrcWidget.__registerWithServices"></a> |
619 </p> |
|
620 <a NAME="IrcWidget.__registerWithServices" ID="IrcWidget.__registerWithServices"></a> |
466 <h4>IrcWidget.__registerWithServices</h4> |
621 <h4>IrcWidget.__registerWithServices</h4> |
467 <b>__registerWithServices</b>(<i></i>) |
622 <b>__registerWithServices</b>(<i></i>) |
|
623 |
468 <p> |
624 <p> |
469 Private method to register to services. |
625 Private method to register to services. |
470 </p><a NAME="IrcWidget.__send" ID="IrcWidget.__send"></a> |
626 </p> |
|
627 <a NAME="IrcWidget.__send" ID="IrcWidget.__send"></a> |
471 <h4>IrcWidget.__send</h4> |
628 <h4>IrcWidget.__send</h4> |
472 <b>__send</b>(<i>data</i>) |
629 <b>__send</b>(<i>data</i>) |
|
630 |
473 <p> |
631 <p> |
474 Private slot to send data to the IRC server. |
632 Private slot to send data to the IRC server. |
475 </p><dl> |
633 </p> |
|
634 <dl> |
|
635 |
476 <dt><i>data</i></dt> |
636 <dt><i>data</i></dt> |
477 <dd> |
637 <dd> |
478 data to be sent (string) |
638 data to be sent (string) |
479 </dd> |
639 </dd> |
480 </dl><a NAME="IrcWidget.__sendCtcpReply" ID="IrcWidget.__sendCtcpReply"></a> |
640 </dl> |
|
641 <a NAME="IrcWidget.__sendCtcpReply" ID="IrcWidget.__sendCtcpReply"></a> |
481 <h4>IrcWidget.__sendCtcpReply</h4> |
642 <h4>IrcWidget.__sendCtcpReply</h4> |
482 <b>__sendCtcpReply</b>(<i>receiver, text</i>) |
643 <b>__sendCtcpReply</b>(<i>receiver, text</i>) |
|
644 |
483 <p> |
645 <p> |
484 Private slot to send a CTCP reply. |
646 Private slot to send a CTCP reply. |
485 </p><dl> |
647 </p> |
|
648 <dl> |
|
649 |
486 <dt><i>receiver</i> (str)</dt> |
650 <dt><i>receiver</i> (str)</dt> |
487 <dd> |
651 <dd> |
488 nick name of the receiver |
652 nick name of the receiver |
489 </dd><dt><i>text</i> (str)</dt> |
653 </dd> |
|
654 <dt><i>text</i> (str)</dt> |
490 <dd> |
655 <dd> |
491 text to be sent |
656 text to be sent |
492 </dd> |
657 </dd> |
493 </dl><a NAME="IrcWidget.__sendCtcpRequest" ID="IrcWidget.__sendCtcpRequest"></a> |
658 </dl> |
|
659 <a NAME="IrcWidget.__sendCtcpRequest" ID="IrcWidget.__sendCtcpRequest"></a> |
494 <h4>IrcWidget.__sendCtcpRequest</h4> |
660 <h4>IrcWidget.__sendCtcpRequest</h4> |
495 <b>__sendCtcpRequest</b>(<i>receiver, request, arguments</i>) |
661 <b>__sendCtcpRequest</b>(<i>receiver, request, arguments</i>) |
|
662 |
496 <p> |
663 <p> |
497 Private slot to send a CTCP request. |
664 Private slot to send a CTCP request. |
498 </p><dl> |
665 </p> |
|
666 <dl> |
|
667 |
499 <dt><i>receiver</i> (str)</dt> |
668 <dt><i>receiver</i> (str)</dt> |
500 <dd> |
669 <dd> |
501 nick name of the receiver |
670 nick name of the receiver |
502 </dd><dt><i>request</i> (str)</dt> |
671 </dd> |
|
672 <dt><i>request</i> (str)</dt> |
503 <dd> |
673 <dd> |
504 CTCP request to be sent |
674 CTCP request to be sent |
505 </dd><dt><i>arguments</i> (str)</dt> |
675 </dd> |
|
676 <dt><i>arguments</i> (str)</dt> |
506 <dd> |
677 <dd> |
507 arguments to be sent |
678 arguments to be sent |
508 </dd> |
679 </dd> |
509 </dl><a NAME="IrcWidget.__setChannelTypePrefixes" ID="IrcWidget.__setChannelTypePrefixes"></a> |
680 </dl> |
|
681 <a NAME="IrcWidget.__setChannelTypePrefixes" ID="IrcWidget.__setChannelTypePrefixes"></a> |
510 <h4>IrcWidget.__setChannelTypePrefixes</h4> |
682 <h4>IrcWidget.__setChannelTypePrefixes</h4> |
511 <b>__setChannelTypePrefixes</b>(<i>prefixes</i>) |
683 <b>__setChannelTypePrefixes</b>(<i>prefixes</i>) |
|
684 |
512 <p> |
685 <p> |
513 Private method to set the channel type prefixes. |
686 Private method to set the channel type prefixes. |
514 </p><dl> |
687 </p> |
|
688 <dl> |
|
689 |
515 <dt><i>prefixes</i></dt> |
690 <dt><i>prefixes</i></dt> |
516 <dd> |
691 <dd> |
517 channel prefix characters (string) |
692 channel prefix characters (string) |
518 </dd> |
693 </dd> |
519 </dl><a NAME="IrcWidget.__setUserPrivilegePrefix" ID="IrcWidget.__setUserPrivilegePrefix"></a> |
694 </dl> |
|
695 <a NAME="IrcWidget.__setUserPrivilegePrefix" ID="IrcWidget.__setUserPrivilegePrefix"></a> |
520 <h4>IrcWidget.__setUserPrivilegePrefix</h4> |
696 <h4>IrcWidget.__setUserPrivilegePrefix</h4> |
521 <b>__setUserPrivilegePrefix</b>(<i>prefix1, prefix2</i>) |
697 <b>__setUserPrivilegePrefix</b>(<i>prefix1, prefix2</i>) |
|
698 |
522 <p> |
699 <p> |
523 Private method to set the user privilege prefix. |
700 Private method to set the user privilege prefix. |
524 </p><dl> |
701 </p> |
|
702 <dl> |
|
703 |
525 <dt><i>prefix1</i></dt> |
704 <dt><i>prefix1</i></dt> |
526 <dd> |
705 <dd> |
527 first part of the prefix (string) |
706 first part of the prefix (string) |
528 </dd><dt><i>prefix2</i></dt> |
707 </dd> |
|
708 <dt><i>prefix2</i></dt> |
529 <dd> |
709 <dd> |
530 indictors the first part gets mapped to (string) |
710 indictors the first part gets mapped to (string) |
531 </dd> |
711 </dd> |
532 </dl><a NAME="IrcWidget.__sslErrors" ID="IrcWidget.__sslErrors"></a> |
712 </dl> |
|
713 <a NAME="IrcWidget.__sslErrors" ID="IrcWidget.__sslErrors"></a> |
533 <h4>IrcWidget.__sslErrors</h4> |
714 <h4>IrcWidget.__sslErrors</h4> |
534 <b>__sslErrors</b>(<i>errors</i>) |
715 <b>__sslErrors</b>(<i>errors</i>) |
|
716 |
535 <p> |
717 <p> |
536 Private slot to handle SSL errors. |
718 Private slot to handle SSL errors. |
537 </p><dl> |
719 </p> |
|
720 <dl> |
|
721 |
538 <dt><i>errors</i></dt> |
722 <dt><i>errors</i></dt> |
539 <dd> |
723 <dd> |
540 list of SSL errors (list of QSslError) |
724 list of SSL errors (list of QSslError) |
541 </dd> |
725 </dd> |
542 </dl><a NAME="IrcWidget.__tcpError" ID="IrcWidget.__tcpError"></a> |
726 </dl> |
|
727 <a NAME="IrcWidget.__tcpError" ID="IrcWidget.__tcpError"></a> |
543 <h4>IrcWidget.__tcpError</h4> |
728 <h4>IrcWidget.__tcpError</h4> |
544 <b>__tcpError</b>(<i>error</i>) |
729 <b>__tcpError</b>(<i>error</i>) |
|
730 |
545 <p> |
731 <p> |
546 Private slot to handle errors reported by the TCP socket. |
732 Private slot to handle errors reported by the TCP socket. |
547 </p><dl> |
733 </p> |
|
734 <dl> |
|
735 |
548 <dt><i>error</i></dt> |
736 <dt><i>error</i></dt> |
549 <dd> |
737 <dd> |
550 error code reported by the socket |
738 error code reported by the socket |
551 (QAbstractSocket.SocketError) |
739 (QAbstractSocket.SocketError) |
552 </dd> |
740 </dd> |
553 </dl><a NAME="IrcWidget.__updateUsersCount" ID="IrcWidget.__updateUsersCount"></a> |
741 </dl> |
|
742 <a NAME="IrcWidget.__updateUsersCount" ID="IrcWidget.__updateUsersCount"></a> |
554 <h4>IrcWidget.__updateUsersCount</h4> |
743 <h4>IrcWidget.__updateUsersCount</h4> |
555 <b>__updateUsersCount</b>(<i></i>) |
744 <b>__updateUsersCount</b>(<i></i>) |
|
745 |
556 <p> |
746 <p> |
557 Private method to update the users count on the channel tabs. |
747 Private method to update the users count on the channel tabs. |
558 </p><a NAME="IrcWidget.autoConnect" ID="IrcWidget.autoConnect"></a> |
748 </p> |
|
749 <a NAME="IrcWidget.autoConnect" ID="IrcWidget.autoConnect"></a> |
559 <h4>IrcWidget.autoConnect</h4> |
750 <h4>IrcWidget.autoConnect</h4> |
560 <b>autoConnect</b>(<i></i>) |
751 <b>autoConnect</b>(<i></i>) |
|
752 |
561 <p> |
753 <p> |
562 Public method to initiate the IRC auto connection. |
754 Public method to initiate the IRC auto connection. |
563 </p><a NAME="IrcWidget.isChannelName" ID="IrcWidget.isChannelName"></a> |
755 </p> |
|
756 <a NAME="IrcWidget.isChannelName" ID="IrcWidget.isChannelName"></a> |
564 <h4>IrcWidget.isChannelName</h4> |
757 <h4>IrcWidget.isChannelName</h4> |
565 <b>isChannelName</b>(<i>name</i>) |
758 <b>isChannelName</b>(<i>name</i>) |
|
759 |
566 <p> |
760 <p> |
567 Public method to check, if the given name is a channel name. |
761 Public method to check, if the given name is a channel name. |
568 </p><dl> |
762 </p> |
|
763 <dl> |
|
764 |
569 <dt><i>name</i></dt> |
765 <dt><i>name</i></dt> |
570 <dd> |
766 <dd> |
571 name to check (string) |
767 name to check (string) |
572 </dd> |
768 </dd> |
573 </dl><dl> |
769 </dl> |
|
770 <dl> |
574 <dt>Returns:</dt> |
771 <dt>Returns:</dt> |
575 <dd> |
772 <dd> |
576 flag indicating a channel name (boolean) |
773 flag indicating a channel name (boolean) |
577 </dd> |
774 </dd> |
578 </dl><a NAME="IrcWidget.joinChannel" ID="IrcWidget.joinChannel"></a> |
775 </dl> |
|
776 <a NAME="IrcWidget.joinChannel" ID="IrcWidget.joinChannel"></a> |
579 <h4>IrcWidget.joinChannel</h4> |
777 <h4>IrcWidget.joinChannel</h4> |
580 <b>joinChannel</b>(<i>name, key=""</i>) |
778 <b>joinChannel</b>(<i>name, key=""</i>) |
|
779 |
581 <p> |
780 <p> |
582 Public slot to join a channel. |
781 Public slot to join a channel. |
583 </p><dl> |
782 </p> |
|
783 <dl> |
|
784 |
584 <dt><i>name</i></dt> |
785 <dt><i>name</i></dt> |
585 <dd> |
786 <dd> |
586 name of the channel (string) |
787 name of the channel (string) |
587 </dd><dt><i>key</i></dt> |
788 </dd> |
|
789 <dt><i>key</i></dt> |
588 <dd> |
790 <dd> |
589 key of the channel (string) |
791 key of the channel (string) |
590 </dd> |
792 </dd> |
591 </dl><a NAME="IrcWidget.on_channelsWidget_tabCloseRequested" ID="IrcWidget.on_channelsWidget_tabCloseRequested"></a> |
793 </dl> |
|
794 <a NAME="IrcWidget.on_channelsWidget_tabCloseRequested" ID="IrcWidget.on_channelsWidget_tabCloseRequested"></a> |
592 <h4>IrcWidget.on_channelsWidget_tabCloseRequested</h4> |
795 <h4>IrcWidget.on_channelsWidget_tabCloseRequested</h4> |
593 <b>on_channelsWidget_tabCloseRequested</b>(<i>index</i>) |
796 <b>on_channelsWidget_tabCloseRequested</b>(<i>index</i>) |
|
797 |
594 <p> |
798 <p> |
595 Private slot to close a channel by pressing the close button of |
799 Private slot to close a channel by pressing the close button of |
596 the channels widget. |
800 the channels widget. |
597 </p><dl> |
801 </p> |
|
802 <dl> |
|
803 |
598 <dt><i>index</i></dt> |
804 <dt><i>index</i></dt> |
599 <dd> |
805 <dd> |
600 index of the tab to be closed (integer) |
806 index of the tab to be closed (integer) |
601 </dd> |
807 </dd> |
602 </dl><a NAME="IrcWidget.shutdown" ID="IrcWidget.shutdown"></a> |
808 </dl> |
|
809 <a NAME="IrcWidget.shutdown" ID="IrcWidget.shutdown"></a> |
603 <h4>IrcWidget.shutdown</h4> |
810 <h4>IrcWidget.shutdown</h4> |
604 <b>shutdown</b>(<i></i>) |
811 <b>shutdown</b>(<i></i>) |
|
812 |
605 <p> |
813 <p> |
606 Public method to shut down the widget. |
814 Public method to shut down the widget. |
607 </p><dl> |
815 </p> |
|
816 <dl> |
608 <dt>Returns:</dt> |
817 <dt>Returns:</dt> |
609 <dd> |
818 <dd> |
610 flag indicating successful shutdown (boolean) |
819 flag indicating successful shutdown (boolean) |
611 </dd> |
820 </dd> |
612 </dl> |
821 </dl> |