aboutsummaryrefslogtreecommitdiff
path: root/lib/streamreader.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2007-09-18 17:43:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2007-09-18 17:43:25 +0000
commitd80498e562ae70cfe5f0d2400046e6e4db6af260 (patch)
treef45e3480c94b6cf1c756b4f35a5c42eead8fabc4 /lib/streamreader.h
parent41c154d03342aa03cc3932ca032eba387c7a2bff (diff)
downloadqmmp-d80498e562ae70cfe5f0d2400046e6e4db6af260.tar.gz
qmmp-d80498e562ae70cfe5f0d2400046e6e4db6af260.tar.bz2
qmmp-d80498e562ae70cfe5f0d2400046e6e4db6af260.zip
improved stream support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@157 90c681e8-e032-0410-971d-27865f9a5e38
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;