summaryrefslogtreecommitdiff
path: root/src/previewimage.h
diff options
context:
space:
mode:
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