~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to knode/knarticlewindow.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#ifndef KNODE_KNARTICLEWINDOW_H
16
16
#define KNODE_KNARTICLEWINDOW_H
17
17
 
 
18
#include "knarticle.h"
 
19
#include "knarticlecollection.h"
 
20
 
18
21
#include <kxmlguiwindow.h>
19
22
 
20
23
#include <QByteArray>
21
24
#include <QList>
22
25
 
23
 
class KNArticle;
24
 
class KNArticleCollection;
25
 
 
26
26
namespace KNode {
27
27
 
28
28
class ArticleWidget;
36
36
    /** Create a new article window.
37
37
     * @param art The article to show in this window.
38
38
     */
39
 
    ArticleWindow( KNArticle *art );
 
39
    ArticleWindow( KNArticle::Ptr art );
40
40
    /// Destroy this article viewer window.
41
41
    ~ArticleWindow();
42
42
    /** Returns the article widget of this window. */
50
50
     * @param force Really close the windows.
51
51
     * @return true if all windows have been closed.
52
52
     */
53
 
    static bool closeAllWindowsForCollection( KNArticleCollection *col, bool force = true );
 
53
    static bool closeAllWindowsForCollection( KNArticleCollection::Ptr col, bool force = true );
54
54
    /** Clise all windows showing the given article.
55
55
     * @param art Close all windows showing this article.
56
56
     * @param force Really close the windows.
57
57
     * @return true if all windows have been closed.
58
58
     */
59
 
    static bool closeAllWindowsForArticle( KNArticle *art, bool force = true );
 
59
    static bool closeAllWindowsForArticle( KNArticle::Ptr art, bool force = true );
60
60
    /** Raise the article window for the given article.
61
61
     * @param art The article.
62
62
     * @return false if no article window was found.
63
63
     */
64
 
    static bool raiseWindowForArticle( KNArticle *art );
 
64
    static bool raiseWindowForArticle( KNArticle::Ptr art );
65
65
    /** Raise the article window showing a specific article.
66
66
     * @param mid Message-ID of the article.
67
67
     * @return false if no article was found.