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

« back to all changes in this revision

Viewing changes to app/documentinfoprovider.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 2010 Aurélien Gâteau <agateau@kde.org>
28
28
// Local
29
29
#include <lib/thumbnailview/abstractdocumentinfoprovider.h>
30
30
 
31
 
namespace Gwenview {
 
31
namespace Gwenview
 
32
{
32
33
 
33
34
class SortedDirModel;
34
35
 
35
36
class DocumentInfoProviderPrivate;
36
 
class DocumentInfoProvider : public AbstractDocumentInfoProvider {
37
 
        Q_OBJECT
 
37
class DocumentInfoProvider : public AbstractDocumentInfoProvider
 
38
{
 
39
    Q_OBJECT
38
40
public:
39
 
        DocumentInfoProvider(SortedDirModel* model);
40
 
        ~DocumentInfoProvider();
41
 
 
42
 
        virtual bool isBusy(const KUrl& url);
43
 
 
44
 
        virtual bool isModified(const KUrl& url);
45
 
 
46
 
        virtual void thumbnailForDocument(const KUrl& url, ThumbnailGroup::Enum group, QPixmap* outPix, QSize* outFullSize) const;
 
41
    DocumentInfoProvider(SortedDirModel* model);
 
42
    ~DocumentInfoProvider();
 
43
 
 
44
    virtual bool isBusy(const KUrl& url);
 
45
 
 
46
    virtual bool isModified(const KUrl& url);
 
47
 
 
48
    virtual void thumbnailForDocument(const KUrl& url, ThumbnailGroup::Enum group, QPixmap* outPix, QSize* outFullSize) const;
47
49
 
48
50
private Q_SLOTS:
49
 
        void emitBusyStateChanged(const KUrl&, bool);
50
 
        void emitDocumentChanged(const KUrl&);
 
51
    void emitBusyStateChanged(const KUrl&, bool);
 
52
    void emitDocumentChanged(const KUrl&);
51
53
 
52
54
private:
53
 
        DocumentInfoProviderPrivate* const d;
 
55
    DocumentInfoProviderPrivate* const d;
54
56
};
55
57
 
56
 
 
57
58
} // namespace
58
59
 
59
60
#endif /* DOCUMENTINFOPROVIDER_H */