knode
KNode::ArticleWidget Class Reference
#include <articlewidget.h>

Detailed Description
Widget to display a news article.Definition at line 53 of file articlewidget.h.
Public Slots | |
| void | scrollDown () |
| void | scrollNext () |
| void | scrollPrior () |
| void | scrollUp () |
Public Member Functions | |
| KNArticle * | article () const |
| ArticleWidget (QWidget *parent, KXMLGUIClient *guiClient, KActionCollection *actionCollection) | |
| bool | atBottom () const |
| void | readConfig () |
| void | setArticle (KNArticle *article) |
| void | writeConfig () |
| ~ArticleWidget () | |
Static Public Member Functions | |
| static void | articleChanged (KNArticle *article) |
| static void | articleLoadError (KNArticle *article, const QString &error) |
| static void | articleRemoved (KNArticle *article) |
| static bool | articleVisible (KNArticle *article) |
| static void | cleanup () |
| static void | collectionRemoved (KNArticleCollection *coll) |
| static void | configChanged () |
Protected Member Functions | |
| void | processJob (KNJobData *j) |
Constructor & Destructor Documentation
| ArticleWidget::ArticleWidget | ( | QWidget * | parent, | |
| KXMLGUIClient * | guiClient, | |||
| KActionCollection * | actionCollection | |||
| ) |
| ArticleWidget::~ArticleWidget | ( | ) |
Member Function Documentation
| KNArticle* KNode::ArticleWidget::article | ( | ) | const [inline] |
| void ArticleWidget::articleChanged | ( | KNArticle * | article | ) | [static] |
notify all instances that the given article has changed
- Parameters:
-
article The changed article.
Definition at line 1101 of file articlewidget.cpp.
notify all instances about an error during loading the given article
- Parameters:
-
article The article that couldn't be loaded. error The error message.
Definition at line 1109 of file articlewidget.cpp.
| void ArticleWidget::articleRemoved | ( | KNArticle * | article | ) | [static] |
notify all instances that the given article has been removed
- Parameters:
-
article The removed article.
Definition at line 1093 of file articlewidget.cpp.
| bool ArticleWidget::articleVisible | ( | KNArticle * | article | ) | [static] |
check wether the given article is displayed in any instance
- Parameters:
-
article The article to check.
Definition at line 1084 of file articlewidget.cpp.
| bool ArticleWidget::atBottom | ( | ) | const |
checks wether the readers is scrolled down to the bottom
Definition at line 1133 of file articlewidget.cpp.
| void ArticleWidget::cleanup | ( | ) | [static] |
| void ArticleWidget::collectionRemoved | ( | KNArticleCollection * | coll | ) | [static] |
notify all instances that the given collection has been removed
- Parameters:
-
coll The removed article collection (a group or a folder).
Definition at line 1117 of file articlewidget.cpp.
| void ArticleWidget::configChanged | ( | ) | [static] |
| void ArticleWidget::processJob | ( | KNJobData * | j | ) | [protected, virtual] |
process download jobs for view source action
Reimplemented from KNJobConsumer.
Definition at line 1053 of file articlewidget.cpp.
| void ArticleWidget::readConfig | ( | ) |
| void ArticleWidget::scrollDown | ( | ) | [slot] |
| void ArticleWidget::scrollNext | ( | ) | [slot] |
| void ArticleWidget::scrollPrior | ( | ) | [slot] |
| void ArticleWidget::scrollUp | ( | ) | [slot] |
| void ArticleWidget::setArticle | ( | KNArticle * | article | ) |
display the given article
- Parameters:
-
article The article to display.
Definition at line 371 of file articlewidget.cpp.
| void ArticleWidget::writeConfig | ( | ) |
write config settings (call only for the main viewer)
Definition at line 355 of file articlewidget.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference