OpenMS
2.4.0
|
#include <OpenMS/SYSTEM/NetworkGetRequest.h>
Public Slots | |
void | run () |
void | timeOut () |
Signals | |
void | done () |
Public Member Functions | |
void | setUrl (const QUrl &url) |
QString | getResponse () const |
returns the response More... | |
bool | hasError () const |
returns true if an error occurred during the query More... | |
QString | getErrorString () const |
returns the error message, if hasError can be used to check whether an error has occurred More... | |
Constructors and destructors | |
NetworkGetRequest (QObject *parent=nullptr) | |
default constructor More... | |
~NetworkGetRequest () override | |
destructor More... | |
Private Slots | |
void | replyFinished (QNetworkReply *) |
Private Member Functions | |
NetworkGetRequest & | operator= (const NetworkGetRequest &rhs) |
assignment operator More... | |
NetworkGetRequest (const NetworkGetRequest &rhs) | |
copy constructor More... | |
Private Attributes | |
QByteArray | response_bytes_ |
QUrl | url_ |
QNetworkAccessManager * | manager_ |
QNetworkReply * | reply_ |
QNetworkReply::NetworkError | error_ |
QString | error_string_ |
NetworkGetRequest | ( | QObject * | parent = nullptr | ) |
default constructor
|
override |
destructor
|
private |
copy constructor
|
signal |
QString getErrorString | ( | ) | const |
returns the error message, if hasError can be used to check whether an error has occurred
QString getResponse | ( | ) | const |
returns the response
bool hasError | ( | ) | const |
returns true if an error occurred during the query
|
private |
assignment operator
|
privateslot |
|
slot |
void setUrl | ( | const QUrl & | url | ) |
|
slot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |