summaryrefslogtreecommitdiff
path: root/src/previewimage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-30 10:21:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-30 10:21:58 +0200
commitb4516b0bacb68179eb6f7cbff9c6474ec03cc9ab (patch)
treeac6ffe5c874627302ddbce6a7dd350e1b6efb0c6 /src/previewimage.h
parenta lot fo changes in the history/bookmarks page (restored initial method rewam... (diff)
downloadrekonq-b4516b0bacb68179eb6f7cbff9c6474ec03cc9ab.tar.xz
BIG BIG commit
removed: - last closed tabs feature - new tab page settings (unuseful, we need something better) implemented - new home page layout (needs love) - new about: protocol to load home page sections - preview images cache todo: - cleaning cache mechanism - bug fixing - add/remove to preferred actions
Diffstat (limited to 'src/previewimage.h')
-rw-r--r--src/previewimage.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/previewimage.h b/src/previewimage.h
index 52698019..11dee271 100644
--- a/src/previewimage.h
+++ b/src/previewimage.h
@@ -39,21 +39,23 @@ class PreviewImage : public QLabel
Q_OBJECT
public:
- PreviewImage(const QString &url, const QString &pos);
-
+ PreviewImage(const QString &url);
~PreviewImage();
+ QString guessNameFromUrl(QString url);
+
public slots:
void setSiteImage();
protected:
void mousePressEvent(QMouseEvent *event);
-
+
private:
QPixmap m_pixmap;
WebSnap *ws;
QString m_url;
+ QString m_savePath;
};
#endif // PREVIEW_IMAGE_H