mpviewplugins/mpdetailsviewplugin/tsrc/unittest_mpdetailsview/stub/inc/mpdetailssharedialog.h
changeset 47 4cc1412daed0
parent 45 612c4815aebe
child 51 560ce2306a17
equal deleted inserted replaced
45:612c4815aebe 47:4cc1412daed0
     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 #ifndef MPDETAILSSHAREDIALOG_H
       
    19 #define MPDETAILSSHAREDIALOG_H
       
    20 
       
    21 #include <HbDialog>
       
    22 
       
    23 class QGraphicsWebView;
       
    24 class QNetworkAccessManager;
       
    25 class MpSongData;
       
    26 
       
    27 class MpDetailsShareDialog : public HbDialog
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31 public:
       
    32     MpDetailsShareDialog();
       
    33     void initialize( MpSongData* aSongData );
       
    34     virtual ~MpDetailsShareDialog();
       
    35     void reload();
       
    36 
       
    37 public slots:
       
    38     void updateSharedData();
       
    39     void onIndexLoad( bool ok );
       
    40 
       
    41 private:
       
    42     QObject*               mSharedData;     // NOT owned.
       
    43     QGraphicsWebView*      mShareWebView;   // Owned by HbDialog
       
    44     QNetworkAccessManager* mShareNetAccMan; // Owned
       
    45 };
       
    46 
       
    47 #endif // MPDETAILSSHAREDIALOG_H