emailuis/nmailui/inc/nmviewerviewnetmanager.h
changeset 18 578830873419
child 30 759dc5235cdb
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NMVIEWERVIEWNETMANAGER_H_
       
    20 #define NMVIEWERVIEWNETMANAGER_H_
       
    21 
       
    22 #include <QNetworkAccessManager>
       
    23 
       
    24 class QNetworkRequest;
       
    25 class NmViewerView;
       
    26 
       
    27 class NmViewerViewNetManager : public QNetworkAccessManager
       
    28 {
       
    29     Q_OBJECT
       
    30 public:
       
    31     NmViewerViewNetManager();
       
    32     ~NmViewerViewNetManager();
       
    33     void setView(NmViewerView *viewerView);
       
    34     QNetworkReply *createRequest(Operation op, const QNetworkRequest &request,
       
    35                                  QIODevice *outgoingData);
       
    36 
       
    37 private:
       
    38 	NmViewerView *mMessageView;    // Not owned
       
    39 
       
    40 };
       
    41 
       
    42 #endif /* NMVIEWERVIEWNETMANAGER_H_ */