190 <p> |
190 <p> |
191 Constructor |
191 Constructor |
192 </p> |
192 </p> |
193 <dl> |
193 <dl> |
194 |
194 |
195 <dt><i>parent</i></dt> |
195 <dt><i>parent</i> (QWidget)</dt> |
196 <dd> |
196 <dd> |
197 reference to the parent widget (QWidget) |
197 reference to the parent widget |
198 </dd> |
198 </dd> |
199 </dl> |
199 </dl> |
200 <a NAME="FeedsManager.__addFeedItem" ID="FeedsManager.__addFeedItem"></a> |
200 <a NAME="FeedsManager.__addFeedItem" ID="FeedsManager.__addFeedItem"></a> |
201 <h4>FeedsManager.__addFeedItem</h4> |
201 <h4>FeedsManager.__addFeedItem</h4> |
202 <b>__addFeedItem</b>(<i>feed</i>) |
202 <b>__addFeedItem</b>(<i>feed</i>) |
204 <p> |
204 <p> |
205 Private slot to add a top level feed item. |
205 Private slot to add a top level feed item. |
206 </p> |
206 </p> |
207 <dl> |
207 <dl> |
208 |
208 |
209 <dt><i>feed</i></dt> |
209 <dt><i>feed</i> (tuple of (str, str, QIcon))</dt> |
210 <dd> |
210 <dd> |
211 tuple containing feed info (URL, title, icon) |
211 tuple containing feed info (URL, title, icon) |
212 (string, string, QIcon) |
|
213 </dd> |
212 </dd> |
214 </dl> |
213 </dl> |
215 <a NAME="FeedsManager.__copyUrlToClipboard" ID="FeedsManager.__copyUrlToClipboard"></a> |
214 <a NAME="FeedsManager.__copyUrlToClipboard" ID="FeedsManager.__copyUrlToClipboard"></a> |
216 <h4>FeedsManager.__copyUrlToClipboard</h4> |
215 <h4>FeedsManager.__copyUrlToClipboard</h4> |
217 <b>__copyUrlToClipboard</b>(<i></i>) |
216 <b>__copyUrlToClipboard</b>(<i></i>) |
226 <p> |
225 <p> |
227 Private slot to handle the context menu request for the feeds tree. |
226 Private slot to handle the context menu request for the feeds tree. |
228 </p> |
227 </p> |
229 <dl> |
228 <dl> |
230 |
229 |
231 <dt><i>pos</i></dt> |
230 <dt><i>pos</i> (QPoint)</dt> |
232 <dd> |
231 <dd> |
233 position the context menu was requested (QPoint) |
232 position the context menu was requested |
234 </dd> |
233 </dd> |
235 </dl> |
234 </dl> |
236 <a NAME="FeedsManager.__enableButtons" ID="FeedsManager.__enableButtons"></a> |
235 <a NAME="FeedsManager.__enableButtons" ID="FeedsManager.__enableButtons"></a> |
237 <h4>FeedsManager.__enableButtons</h4> |
236 <h4>FeedsManager.__enableButtons</h4> |
238 <b>__enableButtons</b>(<i></i>) |
237 <b>__enableButtons</b>(<i></i>) |
261 <p> |
260 <p> |
262 Private slot to handle the activation of an item. |
261 Private slot to handle the activation of an item. |
263 </p> |
262 </p> |
264 <dl> |
263 <dl> |
265 |
264 |
266 <dt><i>itm</i></dt> |
265 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
267 <dd> |
266 <dd> |
268 reference to the activated item (QTreeWidgetItem) |
267 reference to the activated item |
269 </dd> |
268 </dd> |
270 <dt><i>column</i></dt> |
269 <dt><i>column</i> (int)</dt> |
271 <dd> |
270 <dd> |
272 column of the activation (integer) |
271 column of the activation |
273 </dd> |
272 </dd> |
274 </dl> |
273 </dl> |
275 <a NAME="FeedsManager.__load" ID="FeedsManager.__load"></a> |
274 <a NAME="FeedsManager.__load" ID="FeedsManager.__load"></a> |
276 <h4>FeedsManager.__load</h4> |
275 <h4>FeedsManager.__load</h4> |
277 <b>__load</b>(<i></i>) |
276 <b>__load</b>(<i></i>) |
349 <p> |
348 <p> |
350 Private method to reload the given feed. |
349 Private method to reload the given feed. |
351 </p> |
350 </p> |
352 <dl> |
351 <dl> |
353 |
352 |
354 <dt><i>itm</i></dt> |
353 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
355 <dd> |
354 <dd> |
356 feed item to be reloaded (QTreeWidgetItem) |
355 feed item to be reloaded |
357 </dd> |
356 </dd> |
358 </dl> |
357 </dl> |
359 <a NAME="FeedsManager.__save" ID="FeedsManager.__save"></a> |
358 <a NAME="FeedsManager.__save" ID="FeedsManager.__save"></a> |
360 <h4>FeedsManager.__save</h4> |
359 <h4>FeedsManager.__save</h4> |
361 <b>__save</b>(<i></i>) |
360 <b>__save</b>(<i></i>) |
377 <p> |
376 <p> |
378 Public method to add a feed. |
377 Public method to add a feed. |
379 </p> |
378 </p> |
380 <dl> |
379 <dl> |
381 |
380 |
382 <dt><i>urlString</i></dt> |
381 <dt><i>urlString</i> (str)</dt> |
383 <dd> |
382 <dd> |
384 URL of the feed (string) |
383 URL of the feed |
385 </dd> |
384 </dd> |
386 <dt><i>title</i></dt> |
385 <dt><i>title</i> (str)</dt> |
387 <dd> |
386 <dd> |
388 title of the feed (string) |
387 title of the feed |
389 </dd> |
388 </dd> |
390 <dt><i>icon</i></dt> |
389 <dt><i>icon</i> (QIcon)</dt> |
391 <dd> |
390 <dd> |
392 icon for the feed (QIcon) |
391 icon for the feed |
393 </dd> |
392 </dd> |
394 </dl> |
393 </dl> |
395 <dl> |
394 <dl> |
396 <dt>Return:</dt> |
395 <dt>Return:</dt> |
397 <dd> |
396 <dd> |
398 flag indicating a successful addition of the feed (boolean) |
397 flag indicating a successful addition of the feed |
|
398 </dd> |
|
399 </dl> |
|
400 <dl> |
|
401 <dt>Return Type:</dt> |
|
402 <dd> |
|
403 bool |
399 </dd> |
404 </dd> |
400 </dl> |
405 </dl> |
401 <a NAME="FeedsManager.on_deleteButton_clicked" ID="FeedsManager.on_deleteButton_clicked"></a> |
406 <a NAME="FeedsManager.on_deleteButton_clicked" ID="FeedsManager.on_deleteButton_clicked"></a> |
402 <h4>FeedsManager.on_deleteButton_clicked</h4> |
407 <h4>FeedsManager.on_deleteButton_clicked</h4> |
403 <b>on_deleteButton_clicked</b>(<i></i>) |
408 <b>on_deleteButton_clicked</b>(<i></i>) |