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

« back to all changes in this revision

Viewing changes to app/preloader.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>
32
32
 
33
33
class KUrl;
34
34
 
35
 
namespace Gwenview {
36
 
 
 
35
namespace Gwenview
 
36
{
37
37
 
38
38
class PreloaderPrivate;
39
39
 
40
40
/**
41
41
 * This class preloads a document to fit a specific size.
42
42
 */
43
 
class Preloader : public QObject {
44
 
        Q_OBJECT
 
43
class Preloader : public QObject
 
44
{
 
45
    Q_OBJECT
45
46
public:
46
 
        Preloader(QObject* parent);
47
 
        ~Preloader();
 
47
    Preloader(QObject* parent);
 
48
    ~Preloader();
48
49
 
49
 
        void preload(const KUrl&, const QSize&);
 
50
    void preload(const KUrl&, const QSize&);
50
51
 
51
52
private Q_SLOTS:
52
 
        void doPreload();
 
53
    void doPreload();
53
54
 
54
55
private:
55
 
        PreloaderPrivate* const d;
 
56
    PreloaderPrivate* const d;
56
57
};
57
58
 
58
 
 
59
59
} // namespace
60
60
 
61
61
#endif /* PRELOADER_H */