 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
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);
80 OPENMS_DLLAPI
void run();
90 OPENMS_DLLAPI
void done();
NetworkGetRequest(QObject *parent=nullptr)
default constructor
void replyFinished(QNetworkReply *)
QNetworkReply * reply_
Definition: NetworkGetRequest.h:101
QByteArray response_bytes_
Definition: NetworkGetRequest.h:98
QNetworkAccessManager * manager_
Definition: NetworkGetRequest.h:100
Definition: NetworkGetRequest.h:47
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
QString getResponse() const
returns the response
~NetworkGetRequest() override
destructor
QString error_string_
Definition: NetworkGetRequest.h:103
bool hasError() const
returns true if an error occurred during the query
NetworkGetRequest & operator=(const NetworkGetRequest &rhs)
assignment operator
QString getErrorString() const
returns the error message, if hasError can be used to check whether an error has occurred
void setUrl(const QUrl &url)
QNetworkReply::NetworkError error_
Definition: NetworkGetRequest.h:102
QUrl url_
Definition: NetworkGetRequest.h:99