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/previewimage.h | |
parent | LAST BRANCH (promised!!) (diff) | |
download | rekonq-d201abbd56715f53b48b27ccc0f1bf0b346f449e.tar.xz |
It finally works!
Need some fixes to be merged..
Diffstat (limited to 'src/previewimage.h')
-rw-r--r-- | src/previewimage.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/previewimage.h b/src/previewimage.h index e0ee3aec..7cb6c00b 100644 --- a/src/previewimage.h +++ b/src/previewimage.h @@ -28,9 +28,10 @@ #define PREVIEW_IMAGE_H +#include "websnap.h" + #include <QLabel> #include <QImage> -#include <KUrl> class PreviewImage : public QLabel @@ -38,20 +39,17 @@ class PreviewImage : public QLabel Q_OBJECT public: - explicit PreviewImage(const KUrl &url, const QString &fileName); + PreviewImage(const QString &url); - PreviewImage(const PreviewImage &); // Q_DECLARE_METATYPE requires a copy-constructor - ~PreviewImage(); public slots: - void doItYourself(); + void setSiteImage(); private: QPixmap m_pixmap; - KUrl m_url; - QString m_fileName; + + WebSnap *ws; }; -// Q_DECLARE_METATYPE(PreviewImage) #endif // PREVIEW_IMAGE_H |