diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-18 17:21:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-18 17:21:37 +0200 |
commit | d201abbd56715f53b48b27ccc0f1bf0b346f449e (patch) | |
tree | 7abbd1bce311322ef7bdd2caf765ab41c0913def /src/websnap.h | |
parent | LAST BRANCH (promised!!) (diff) | |
download | rekonq-d201abbd56715f53b48b27ccc0f1bf0b346f449e.tar.xz |
It finally works!
Need some fixes to be merged..
Diffstat (limited to 'src/websnap.h')
-rw-r--r-- | src/websnap.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/websnap.h b/src/websnap.h index be2ad10b..7e77da49 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -31,7 +31,7 @@ #include <KUrl> #include <QtCore/QObject> -#include <QImage> +#include <QPixmap> #include <QWebPage> @@ -45,9 +45,9 @@ class WebSnap : public QObject Q_OBJECT public: - WebSnap(const KUrl &url, const QString &fileName); + WebSnap(const KUrl &url); - QImage *previewImage(); + QPixmap previewImage(); signals: void finished(); @@ -59,9 +59,8 @@ private slots: private: QWebPage m_page; KUrl m_url; - QImage *m_image; + QPixmap m_image; QString m_fileName; - QSize m_targetSize; }; #endif // WEB_SNAP_H |