From c2a2cbd073f47bf79efbfc7f4d04a300a2e4357a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 24 Feb 2011 18:49:42 +0000 Subject: removed unused code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2072 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Transports/http/streamreader.h | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'src/plugins/Transports/http/streamreader.h') diff --git a/src/plugins/Transports/http/streamreader.h b/src/plugins/Transports/http/streamreader.h index 3aa02c0e9..afaa1ad78 100644 --- a/src/plugins/Transports/http/streamreader.h +++ b/src/plugins/Transports/http/streamreader.h @@ -39,39 +39,31 @@ public: ~StreamReader(); - /** + /** * QIODevice API */ bool atEnd () const; qint64 bytesAvailable () const; qint64 bytesToWrite () const; - bool canReadLine () const; void close (); bool isSequential () const; - bool open ( OpenMode mode ); - //qint64 pos () const; - bool reset (); - bool seek ( qint64 pos ); - qint64 size () const; - bool waitForBytesWritten ( int msecs ); - bool waitForReadyRead ( int msecs ); - + bool open (OpenMode mode); + bool seek (qint64 pos); /** - * returns content type of a stream + * helper functions */ QString contentType(); void downloadFile(); signals: - void readyRead(); + void ready(); + void error(); protected: qint64 readData(char*, qint64); qint64 writeData(const char*, qint64); private: - //void downloadFile(); - void fillBuffer(); QUrl m_url; QString m_contentType; Downloader *m_downloader; -- cgit v1.2.3-13-gbd6f