Changeset 58252 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
- Timestamp:
- Oct 14, 2015 3:51:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
r58249 r58252 406 406 switch (m_type) 407 407 { 408 case UINetworkRequestType_HEAD _Our:408 case UINetworkRequestType_HEAD: 409 409 { 410 410 /* Perform blocking HTTP HEAD request: */ … … 433 433 break; 434 434 } 435 case UINetworkRequestType_GET _Our:435 case UINetworkRequestType_GET: 436 436 { 437 437 /* Perform blocking HTTP GET request: */ … … 881 881 void abort() { m_pThread->abort(); } 882 882 883 /** Returns URL of the reply. */ 884 QUrl url() const { return m_pThread->url(); } 885 883 886 /* API: Error-code getter: */ 884 887 QNetworkReply::NetworkError error() const { return m_error; } … … 909 912 /** Returns value for the cached reply header of the passed @a type. */ 910 913 QString header(QNetworkRequest::KnownHeaders type) const { return m_pThread->header(type); } 911 912 /** Returns URL of the reply. */913 QUrl url() const { return m_pThread->url(); }914 914 915 915 /** Returns value for the cached reply attribute of the passed @a code. */ … … 973 973 } 974 974 975 void UINetworkReply::abort() 976 { 977 return m_pReply->abort(); 978 } 979 980 QUrl UINetworkReply::url() const 981 { 982 return m_pReply->url(); 983 } 984 985 QNetworkReply::NetworkError UINetworkReply::error() const 986 { 987 return m_pReply->error(); 988 } 989 990 QString UINetworkReply::errorString() const 991 { 992 return m_pReply->errorString(); 993 } 994 995 QByteArray UINetworkReply::readAll() const 996 { 997 return m_pReply->readAll(); 998 } 999 975 1000 QVariant UINetworkReply::header(QNetworkRequest::KnownHeaders header) const 976 1001 { … … 983 1008 } 984 1009 985 void UINetworkReply::abort()986 {987 return m_pReply->abort();988 }989 990 QNetworkReply::NetworkError UINetworkReply::error() const991 {992 return m_pReply->error();993 }994 995 QString UINetworkReply::errorString() const996 {997 return m_pReply->errorString();998 }999 1000 QByteArray UINetworkReply::readAll() const1001 {1002 return m_pReply->readAll();1003 }1004 1005 QUrl UINetworkReply::url() const1006 {1007 return m_pReply->url();1008 }1009 1010 1010 #include "UINetworkReply.moc" 1011 1011
Note:
See TracChangeset
for help on using the changeset viewer.