"Fossies" - the Fresh Open Source Software Archive

Member "MP3Diags-unstable-1.5.01/src/QHttp" (16 Feb 2019, 664 Bytes) of package /linux/privat/MP3Diags-unstable-1.5.01.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #ifndef QHTTP_H
    2 #define QHTTP_H
    3 
    4 #include <QString>
    5 //#include <QHttpRequestHeader>
    6 #include "QHttpRequestHeader"
    7 
    8 #include <QIODevice>
    9 
   10 class QHttp : public QObject {
   11 public:
   12 
   13     QHttp(QObject * parent = 0) {}
   14 
   15     bool hasPendingRequests() {
   16         return false;
   17     }
   18 
   19     int request(const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0) {
   20         return 0;
   21     }
   22 
   23     void setHost(const QString&) {
   24     }
   25 
   26     void 	clearPendingRequests() {}
   27 
   28     int 	get(const QString & path, QIODevice * to = 0) { return 0;}
   29 
   30     qint64 	bytesAvailable() const { return 0;}
   31 
   32     QByteArray 	readAll() { return QByteArray(); }
   33 };
   34 
   35 #endif // QHTTP_H