diff options
author | matgic78 <matgic78@gmail.com> | 2010-02-06 11:19:18 +0100 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-02-06 11:22:47 +0100 |
commit | 6f3b61c0462b08d3c2a34ac1923470a3690233ee (patch) | |
tree | 51fd464c3713fc60a927742742b7d2b2a488cfef /src/websnap.h | |
parent | Do not try to load homepage if url is not valid (diff) | |
download | rekonq-6f3b61c0462b08d3c2a34ac1923470a3690233ee.tar.xz |
Fix loading previews : when load finished, result wasn't shown
Diffstat (limited to 'src/websnap.h')
-rw-r--r-- | src/websnap.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/websnap.h b/src/websnap.h index b8ada30f..e15c2dcf 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -51,7 +51,7 @@ class WebSnap : public QObject Q_OBJECT public: - WebSnap(const QUrl &url); + WebSnap(const QUrl &url, QWebPage *originatingPage, int previewIndex); ~WebSnap(); QPixmap previewImage(); // TODO : remove @@ -66,12 +66,6 @@ public: QString snapTitle(); QUrl snapUrl(); - - void SetData(QVariant data); - QVariant& data(); - -signals: - void finished(); private slots: void load(); @@ -84,7 +78,8 @@ private: QUrl m_url; QString m_snapTitle; - QVariant m_data; + QWebPage *m_originatingPage; + int m_previewIndex; }; #endif // WEB_SNAP_H |