knode
KNode::ArticleWindow Class Reference
#include <knarticlewindow.h>
Inheritance diagram for KNode::ArticleWindow:

Detailed Description
A stand-alone article viewer window.
Definition at line 31 of file knarticlewindow.h.
Public Types | |
| typedef QList < KNode::ArticleWindow * > | List |
Public Member Functions | |
| ArticleWidget * | articleWidget () const |
| ArticleWindow (KNArticle *art) | |
| ~ArticleWindow () | |
Static Public Member Functions | |
| static bool | closeAllWindowsForArticle (KNArticle *art, bool force=true) |
| static bool | closeAllWindowsForCollection (KNArticleCollection *col, bool force=true) |
| static bool | raiseWindowForArticle (const QByteArray &mid) |
| static bool | raiseWindowForArticle (KNArticle *art) |
Protected Attributes | |
| ArticleWidget * | mArticleWidget |
Static Protected Attributes | |
| static List | mInstances |
Member Typedef Documentation
Constructor & Destructor Documentation
| ArticleWindow::ArticleWindow | ( | KNArticle * | art | ) |
Create a new article window.
- Parameters:
-
art The article to show in this window.
Definition at line 94 of file knarticlewindow.cpp.
| ArticleWindow::~ArticleWindow | ( | ) |
Member Function Documentation
| ArticleWidget* KNode::ArticleWindow::articleWidget | ( | ) | const [inline] |
| bool ArticleWindow::closeAllWindowsForArticle | ( | KNArticle * | art, | |
| bool | force = true | |||
| ) | [static] |
Clise all windows showing the given article.
- Parameters:
-
art Close all windows showing this article. force Really close the windows.
- Returns:
- true if all windows have been closed.
Definition at line 50 of file knarticlewindow.cpp.
| bool ArticleWindow::closeAllWindowsForCollection | ( | KNArticleCollection * | col, | |
| bool | force = true | |||
| ) | [static] |
Close all article windows showing articles from the given collection.
- Parameters:
-
col The article collection (folder/group). force Really close the windows.
- Returns:
- true if all windows have been closed.
Definition at line 36 of file knarticlewindow.cpp.
| bool ArticleWindow::raiseWindowForArticle | ( | const QByteArray & | mid | ) | [static] |
Raise the article window showing a specific article.
- Parameters:
-
mid Message-ID of the article.
- Returns:
- false if no article was found.
Definition at line 77 of file knarticlewindow.cpp.
| bool ArticleWindow::raiseWindowForArticle | ( | KNArticle * | art | ) | [static] |
Raise the article window for the given article.
- Parameters:
-
art The article.
- Returns:
- false if no article window was found.
Definition at line 64 of file knarticlewindow.cpp.
Member Data Documentation
ArticleWidget* KNode::ArticleWindow::mArticleWidget [protected] |
QList< KNode::ArticleWindow * > ArticleWindow::mInstances [static, protected] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference