summaryrefslogtreecommitdiffstats
path: root/webscrap.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-11-11 18:50:57 +0530
committerRoopesh Chander <roop@forwardbias.in>2009-11-11 19:00:25 +0530
commit8084be771d14e4262335c2eba906bea58fe04abd (patch)
treeab9dbd0e1058a36262771adaedf12bd19680b581 /webscrap.h
parente50e75b133901051da4c41d5ddcf597c0e463866 (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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/webscrap.h b/webscrap.h
index 7dd78e4..0612198 100644
--- a/webscrap.h
+++ b/webscrap.h
@@ -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 {