diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-11-11 18:50:57 +0530 |
---|---|---|
committer | Roopesh Chander <roop@forwardbias.in> | 2009-11-11 19:00:25 +0530 |
commit | 8084be771d14e4262335c2eba906bea58fe04abd (patch) | |
tree | ab9dbd0e1058a36262771adaedf12bd19680b581 /webscrap.h | |
parent | e50e75b133901051da4c41d5ddcf597c0e463866 (diff) |
use another way to know whether it's loading or not, now that there's no progress()
Diffstat (limited to 'webscrap.h')
-rw-r--r-- | webscrap.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,7 +36,8 @@ public: QSize pageSize() const; public slots: - void onLoad(); + void onLoadFinished(); + void onLoadStarted(); void onRefresh(); void setScrapRect(QRect rect); void openUrlInExternalBrowser(QUrl url); @@ -55,6 +56,7 @@ private: bool m_isDimensionsFixed; QPixmap m_loadingPix, m_adjustablePix, m_arrowPix, m_scalePix; QSize m_pageSize; + bool m_isLoading; }; class WebScrapContainer : public QGraphicsWidget { |