• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

knode

KNode::ArticleWindow

KNode::ArticleWindow Class Reference

#include <knarticlewindow.h>

Inheritance diagram for KNode::ArticleWindow:

Inheritance graph
[legend]

List of all members.


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

typedef QList<KNode::ArticleWindow*> KNode::ArticleWindow::List

List of article windows.

Definition at line 46 of file knarticlewindow.h.


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 (  ) 

Destroy this article viewer window.

Definition at line 128 of file knarticlewindow.cpp.


Member Function Documentation

ArticleWidget* KNode::ArticleWindow::articleWidget (  )  const [inline]

Returns the article widget of this window.

Definition at line 43 of file knarticlewindow.h.

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]

The article widget of this window.

Definition at line 73 of file knarticlewindow.h.

QList< KNode::ArticleWindow * > ArticleWindow::mInstances [static, protected]

List of all article windows.

Definition at line 75 of file knarticlewindow.h.


The documentation for this class was generated from the following files:
  • knarticlewindow.h
  • knarticlewindow.cpp

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal