Changeset 41142 in vbox
- Timestamp:
- May 3, 2012 3:52:52 PM (13 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkCustomer.cpp
r39932 r41142 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UINetworkCustomer class implementation. 3 * 4 * VBox frontends: Qt GUI ("VirtualBox"): 5 * UINetworkCustomer class implementation 4 6 */ 5 7 … … 23 25 #include "UINetworkManager.h" 24 26 25 /* Constructor: */ 26 UINetworkCustomer::UINetworkCustomer(QObject *pParent) 27 UINetworkCustomer::UINetworkCustomer(QObject *pParent /* = 0 */) 27 28 : QObject(pParent) 28 29 { 29 30 } 30 31 31 /* Network request wrapper: */32 32 void UINetworkCustomer::createNetworkRequest(const QNetworkRequest &request, UINetworkRequestType type, const QString &strDescription) 33 33 { … … 35 35 } 36 36 37 /* Network request wrapper (set): */38 37 void UINetworkCustomer::createNetworkRequest(const QList<QNetworkRequest> &requests, UINetworkRequestType type, const QString &strDescription) 39 38 { … … 41 40 } 42 41 43 #if 044 /* Downloader creation notification wrapper: */45 void UINetworkCustomer::notifyDownloaderCreated(UIDownloadType downloaderType)46 {47 gNetworkManager->notifyDownloaderCreated(downloaderType);48 }49 #endif50 -
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkCustomer.h
r39932 r41142 30 30 class QNetworkRequest; 31 31 32 /* In heritable interface allowing to access UINetworkManager hiddenfunctionality: */32 /* Interface to access UINetworkManager protected functionality: */ 33 33 class UINetworkCustomer : public QObject 34 34 { … … 40 40 UINetworkCustomer(QObject *pParent = 0); 41 41 42 /* Network 42 /* Network-reply progress handler: */ 43 43 virtual void processNetworkReplyProgress(qint64 iReceived, qint64 iTotal) = 0; 44 /* Network 44 /* Network-reply cancel handler: */ 45 45 virtual void processNetworkReplyCanceled(QNetworkReply *pReply) = 0; 46 /* Network 46 /* Network-reply finish handler: */ 47 47 virtual void processNetworkReplyFinished(QNetworkReply *pReply) = 0; 48 48 49 49 protected: 50 50 51 /* Network 51 /* Network-request wrapper: */ 52 52 void createNetworkRequest(const QNetworkRequest &request, UINetworkRequestType type, const QString &strDescription); 53 /* Network 53 /* Network-request wrapper (set): */ 54 54 void createNetworkRequest(const QList<QNetworkRequest> &requests, UINetworkRequestType type, const QString &strDescription); 55 56 #if 057 /* Downloader creation notification wrapper: */58 void notifyDownloaderCreated(UIDownloadType downloaderType);59 #endif60 55 }; 61 56 62 57 #endif // __UINetworkCustomer_h__ 58
Note:
See TracChangeset
for help on using the changeset viewer.