From d80498e562ae70cfe5f0d2400046e6e4db6af260 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 18 Sep 2007 17:43:25 +0000 Subject: improved stream support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@157 90c681e8-e032-0410-971d-27865f9a5e38 --- lib/streamreader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/streamreader.h') 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 #include -#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; -- cgit v1.2.3-13-gbd6f