QTfrontend/ui/page/pagedata.h
changeset 6932 005393616925
parent 6700 e04da46ee43c
child 6952 7f70f37bbf08
--- a/QTfrontend/ui/page/pagedata.h	Thu Apr 26 07:44:44 2012 +0200
+++ b/QTfrontend/ui/page/pagedata.h	Thu Apr 26 09:47:35 2012 +0200
@@ -46,6 +46,8 @@
         QHash<QNetworkReply*, QProgressBar *> progressBars;
         QVBoxLayout *progressBarsLayout;
 
+        bool m_contentDownloaded; ///< true if something was downloaded since last page leave
+
         bool extractDataPack(QByteArray * buf);
 
     private slots:
@@ -54,6 +56,8 @@
         void pageDownloaded();
         void fileDownloaded();
         void downloadProgress(qint64, qint64);
+
+        void onPageLeave();
 };
 
 #endif