MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / run

Method run

src/openms/source/SYSTEM/NetworkGetRequest.cpp:34–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 void NetworkGetRequest::run()
35 {
36 if (reply_ == nullptr)
37 {
38 error_ = QNetworkReply::NoError;
39 error_string_ = "";
40 QNetworkRequest request;
41 request.setUrl(url_);
42 request.setHeader(QNetworkRequest::ContentTypeHeader, "text/plain");
43 connect(manager_, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
44 reply_ = manager_->get(request);
45 }
46 }
47
48 void NetworkGetRequest::replyFinished(QNetworkReply* reply)
49 {

Callers

nothing calls this directly

Calls 2

setUrlMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected