37 #include <OpenMS/config.h> 39 #include <QtCore/QObject> 40 #include <QtCore/QString> 41 #include <QtCore/QUrl> 42 #include <QtNetwork/QNetworkReply> 65 OPENMS_DLLAPI
void setUrl(
const QUrl& url);
83 OPENMS_DLLAPI
void run();
93 OPENMS_DLLAPI
void done();
Definition: NetworkGetRequest.h:47
QByteArray response_bytes_
Definition: NetworkGetRequest.h:101
QString getErrorString() const
returns the error message, if hasError can be used to check whether an error has occurred ...
bool hasError() const
returns true if an error occurred during the query
QUrl url_
Definition: NetworkGetRequest.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
NetworkGetRequest & operator=(const NetworkGetRequest &rhs)
assignment operator
const QByteArray & getResponseBinary() const
returns the response
QString getResponse() const
returns the response
QNetworkReply::NetworkError error_
Definition: NetworkGetRequest.h:105
void setUrl(const QUrl &url)
QString error_string_
Definition: NetworkGetRequest.h:106
NetworkGetRequest(QObject *parent=nullptr)
default constructor
void replyFinished(QNetworkReply *)
QNetworkAccessManager * manager_
Definition: NetworkGetRequest.h:103
~NetworkGetRequest() override
destructor
QNetworkReply * reply_
Definition: NetworkGetRequest.h:104