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