summaryrefslogtreecommitdiff
path: root/src/previewimage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-29 02:08:54 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-29 02:08:54 +0200
commita9cb1f67553dbd45deafddde9625eb228e447f45 (patch)
tree74454f59e2a4d3bd8e7fbc5ffe32561680f50848 /src/previewimage.h
parentNew rekonq home page layout (diff)
downloadrekonq-a9cb1f67553dbd45deafddde9625eb228e447f45.tar.xz
Load on click (links on previews)
Diffstat (limited to 'src/previewimage.h')
-rw-r--r--src/previewimage.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/previewimage.h b/src/previewimage.h
index 612d98c6..52698019 100644
--- a/src/previewimage.h
+++ b/src/previewimage.h
@@ -32,7 +32,7 @@
#include <QLabel>
#include <QImage>
-
+#include <QString>
class PreviewImage : public QLabel
{
@@ -45,11 +45,15 @@ public:
public slots:
void setSiteImage();
-
+
+protected:
+ void mousePressEvent(QMouseEvent *event);
+
private:
QPixmap m_pixmap;
-
WebSnap *ws;
+
+ QString m_url;
};
#endif // PREVIEW_IMAGE_H