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

« back to all changes in this revision

Viewing changes to lib/document/animateddocumentloadedimpl.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 AnimatedDocumentLoadedImplPrivate;
35
 
class AnimatedDocumentLoadedImpl : public AbstractDocumentImpl {
36
 
        Q_OBJECT
 
35
class AnimatedDocumentLoadedImpl : public AbstractDocumentImpl
 
36
{
 
37
    Q_OBJECT
37
38
public:
38
 
        AnimatedDocumentLoadedImpl(Document*, const QByteArray&);
39
 
        ~AnimatedDocumentLoadedImpl();
 
39
    AnimatedDocumentLoadedImpl(Document*, const QByteArray&);
 
40
    ~AnimatedDocumentLoadedImpl();
40
41
 
41
 
        virtual void init();
42
 
        virtual Document::LoadingState loadingState() const;
43
 
        virtual QByteArray rawData() const;
44
 
        virtual bool isAnimated() const;
45
 
        virtual void startAnimation();
46
 
        virtual void stopAnimation();
 
42
    virtual void init();
 
43
    virtual Document::LoadingState loadingState() const;
 
44
    virtual QByteArray rawData() const;
 
45
    virtual bool isAnimated() const;
 
46
    virtual void startAnimation();
 
47
    virtual void stopAnimation();
47
48
 
48
49
private Q_SLOTS:
49
 
        void slotFrameChanged(int frameNumber);
 
50
    void slotFrameChanged(int frameNumber);
50
51
 
51
52
private:
52
 
        AnimatedDocumentLoadedImplPrivate* const d;
 
53
    AnimatedDocumentLoadedImplPrivate* const d;
53
54
};
54
55
 
55
 
 
56
56
} // namespace
57
57
 
58
58
#endif /* ANIMATEDDOCUMENTLOADEDIMPL_H */