aboutsummaryrefslogtreecommitdiff
path: root/lib/streamreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/streamreader.h')
-rw-r--r--lib/streamreader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/streamreader.h b/lib/streamreader.h
index 906ddd2ac..c8182153a 100644
--- a/lib/streamreader.h
+++ b/lib/streamreader.h
@@ -24,8 +24,6 @@
#include <QIODevice>
#include <QUrl>
-#define BUFFER_SIZE 524288
-
class QFileInfo;
class Downloader;
@@ -62,9 +60,11 @@ public:
* returns content type of a stream
*/
const QString &contentType();
+ void downloadFile();
signals:
void titleChanged(const QString&);
+ void readyRead();
protected:
qint64 readData(char*, qint64);
@@ -75,7 +75,7 @@ private slots:
void updateTitle();
private:
- void downloadFile();
+ //void downloadFile();
void fillBuffer();
QUrl m_url;
QString m_contentType;