summaryrefslogtreecommitdiff
path: root/src/previewimage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:02:30 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:02:30 +0200
commit01e5c03236fa589b719544f478ea036b8b1e2ee7 (patch)
treef13f954c326113b2aa92f172f97cfd4c05f7fac2 /src/previewimage.h
parentSetting session and request metadata about ssl navigation (diff)
downloadrekonq-01e5c03236fa589b719544f478ea036b8b1e2ee7.tar.xz
Code fixes in the homepage
also changed history && bookmarks layout (we need just icons there)
Diffstat (limited to 'src/previewimage.h')
-rw-r--r--src/previewimage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/previewimage.h b/src/previewimage.h
index 11dee271..96a11c20 100644
--- a/src/previewimage.h
+++ b/src/previewimage.h
@@ -32,17 +32,17 @@
#include <QLabel>
#include <QImage>
-#include <QString>
+#include <QUrl>
class PreviewImage : public QLabel
{
Q_OBJECT
public:
- PreviewImage(const QString &url);
+ PreviewImage(const QUrl &url);
~PreviewImage();
- QString guessNameFromUrl(QString url);
+ QString guessNameFromUrl(QUrl url);
public slots:
void setSiteImage();
@@ -54,7 +54,7 @@ private:
QPixmap m_pixmap;
WebSnap *ws;
- QString m_url;
+ QUrl m_url;
QString m_savePath;
};