~ubuntu-branches/ubuntu/precise/gwenview/precise-proposed

« back to all changes in this revision

Viewing changes to lib/document/svgdocumentloadedimpl.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20111215141754-z043hyx69dulbggf
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
 
1
// vim: set tabstop=4 shiftwidth=4 expandtab:
2
2
/*
3
3
Gwenview: an image viewer
4
4
Copyright 2008 Aurélien Gâteau <agateau@kde.org>
28
28
// Local
29
29
#include <lib/document/abstractdocumentimpl.h>
30
30
 
31
 
namespace Gwenview {
32
 
 
 
31
namespace Gwenview
 
32
{
33
33
 
34
34
struct SvgDocumentLoadedImplPrivate;
35
 
class SvgDocumentLoadedImpl : public AbstractDocumentImpl {
36
 
        Q_OBJECT
 
35
class SvgDocumentLoadedImpl : public AbstractDocumentImpl
 
36
{
 
37
    Q_OBJECT
37
38
public:
38
 
        SvgDocumentLoadedImpl(Document*, const QByteArray&);
39
 
        ~SvgDocumentLoadedImpl();
40
 
 
41
 
        virtual void init();
42
 
 
43
 
        virtual Document::LoadingState loadingState() const;
44
 
 
45
 
        virtual void setImage(const QImage&);
46
 
 
47
 
        QByteArray rawData() const;
 
39
    SvgDocumentLoadedImpl(Document*, const QByteArray&);
 
40
    ~SvgDocumentLoadedImpl();
 
41
 
 
42
    virtual void init();
 
43
 
 
44
    virtual Document::LoadingState loadingState() const;
 
45
 
 
46
    virtual void setImage(const QImage&);
 
47
 
 
48
    QByteArray rawData() const;
 
49
 
 
50
    QSvgRenderer* svgRenderer() const;
48
51
 
49
52
private:
50
 
        SvgDocumentLoadedImplPrivate* const d;
 
53
    SvgDocumentLoadedImplPrivate* const d;
51
54
};
52
55
 
53
 
 
54
56
} // namespace
55
57
 
56
58
#endif /* SVGDOCUMENTLOADEDIMPL_H */