11 #include <OpenMS/config.h>
13 #include <QtCore/QObject>
14 #include <QtCore/QString>
15 #include <QtCore/QUrl>
16 #include <QtNetwork/QNetworkReply>
39 OPENMS_DLLAPI
void setUrl(
const QUrl& url);
57 OPENMS_DLLAPI
void run();
Definition: NetworkGetRequest.h:23
QNetworkAccessManager * manager_
Definition: NetworkGetRequest.h:77
QString getErrorString() const
returns the error message, if hasError can be used to check whether an error has occurred
QNetworkReply * reply_
Definition: NetworkGetRequest.h:78
QByteArray response_bytes_
Definition: NetworkGetRequest.h:75
NetworkGetRequest(const NetworkGetRequest &rhs)
copy constructor
bool hasError() const
returns true if an error occurred during the query
NetworkGetRequest(QObject *parent=nullptr)
default constructor
QNetworkReply::NetworkError error_
Definition: NetworkGetRequest.h:79
void setUrl(const QUrl &url)
const QByteArray & getResponseBinary() const
returns the response
QUrl url_
Definition: NetworkGetRequest.h:76
NetworkGetRequest & operator=(const NetworkGetRequest &rhs)
assignment operator
QString getResponse() const
returns the response
void replyFinished(QNetworkReply *)
~NetworkGetRequest() override
destructor
QString error_string_
Definition: NetworkGetRequest.h:80
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19