VirtualBox

Changeset 41142 in vbox


Ignore:
Timestamp:
May 3, 2012 3:52:52 PM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: Network Manager stuff: Network Customer interface: Cleanup.

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  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - UINetworkCustomer class implementation.
     3 *
     4 * VBox frontends: Qt GUI ("VirtualBox"):
     5 * UINetworkCustomer class implementation
    46 */
    57
     
    2325#include "UINetworkManager.h"
    2426
    25 /* Constructor: */
    26 UINetworkCustomer::UINetworkCustomer(QObject *pParent)
     27UINetworkCustomer::UINetworkCustomer(QObject *pParent /* = 0 */)
    2728    : QObject(pParent)
    2829{
    2930}
    3031
    31 /* Network request wrapper: */
    3232void UINetworkCustomer::createNetworkRequest(const QNetworkRequest &request, UINetworkRequestType type, const QString &strDescription)
    3333{
     
    3535}
    3636
    37 /* Network request wrapper (set): */
    3837void UINetworkCustomer::createNetworkRequest(const QList<QNetworkRequest> &requests, UINetworkRequestType type, const QString &strDescription)
    3938{
     
    4140}
    4241
    43 #if 0
    44 /* Downloader creation notification wrapper: */
    45 void UINetworkCustomer::notifyDownloaderCreated(UIDownloadType downloaderType)
    46 {
    47     gNetworkManager->notifyDownloaderCreated(downloaderType);
    48 }
    49 #endif
    50 
  • trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkCustomer.h

    r39932 r41142  
    3030class QNetworkRequest;
    3131
    32 /* Inheritable interface allowing to access UINetworkManager hidden functionality: */
     32/* Interface to access UINetworkManager protected functionality: */
    3333class UINetworkCustomer : public QObject
    3434{
     
    4040    UINetworkCustomer(QObject *pParent = 0);
    4141
    42     /* Network reply progress handler: */
     42    /* Network-reply progress handler: */
    4343    virtual void processNetworkReplyProgress(qint64 iReceived, qint64 iTotal) = 0;
    44     /* Network reply cancel handler: */
     44    /* Network-reply cancel handler: */
    4545    virtual void processNetworkReplyCanceled(QNetworkReply *pReply) = 0;
    46     /* Network reply finish handler: */
     46    /* Network-reply finish handler: */
    4747    virtual void processNetworkReplyFinished(QNetworkReply *pReply) = 0;
    4848
    4949protected:
    5050
    51     /* Network request wrapper: */
     51    /* Network-request wrapper: */
    5252    void createNetworkRequest(const QNetworkRequest &request, UINetworkRequestType type, const QString &strDescription);
    53     /* Network request wrapper (set): */
     53    /* Network-request wrapper (set): */
    5454    void createNetworkRequest(const QList<QNetworkRequest> &requests, UINetworkRequestType type, const QString &strDescription);
    55 
    56 #if 0
    57     /* Downloader creation notification wrapper: */
    58     void notifyDownloaderCreated(UIDownloadType downloaderType);
    59 #endif
    6055};
    6156
    6257#endif // __UINetworkCustomer_h__
     58
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette