Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
NetworkGetRequest Class Reference

#include <OpenMS/SYSTEM/NetworkGetRequest.h>

Inheritance diagram for NetworkGetRequest:
QObject

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=0)
 default constructor More...
 
virtual ~NetworkGetRequest ()
 destructor More...
 

Private Slots

void replyFinished (QNetworkReply *)
 

Private Member Functions

NetworkGetRequestoperator= (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_
 

Constructor & Destructor Documentation

◆ NetworkGetRequest() [1/2]

NetworkGetRequest ( QObject parent = 0)

default constructor

◆ ~NetworkGetRequest()

virtual ~NetworkGetRequest ( )
virtual

destructor

◆ NetworkGetRequest() [2/2]

NetworkGetRequest ( const NetworkGetRequest rhs)
private

copy constructor

Member Function Documentation

◆ done

void done ( )
signal

◆ getErrorString()

QString getErrorString ( ) const

returns the error message, if hasError can be used to check whether an error has occurred

◆ getResponse()

QString getResponse ( ) const

returns the response

◆ hasError()

bool hasError ( ) const

returns true if an error occurred during the query

◆ operator=()

NetworkGetRequest& operator= ( const NetworkGetRequest rhs)
private

assignment operator

◆ replyFinished

void replyFinished ( QNetworkReply *  )
privateslot

◆ run

void run ( )
slot

◆ setUrl()

void setUrl ( const QUrl &  url)

◆ timeOut

void timeOut ( )
slot

Member Data Documentation

◆ error_

QNetworkReply::NetworkError error_
private

◆ error_string_

QString error_string_
private

◆ manager_

QNetworkAccessManager* manager_
private

◆ reply_

QNetworkReply* reply_
private

◆ response_bytes_

QByteArray response_bytes_
private

◆ url_

QUrl url_
private

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:11 using doxygen 1.8.13