mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpplaybackwidget/stub/inc/mpalbumcoverwidget.h
changeset 47 4cc1412daed0
equal deleted inserted replaced
45:612c4815aebe 47:4cc1412daed0
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Album Cover Widget for Music Player Media Wall.
       
    15 *
       
    16 */
       
    17 #ifndef MPALBUMCOVERWIDGET_H
       
    18 #define MPALBUMCOVERWIDGET_H
       
    19 
       
    20 #include <QPixmap>
       
    21 #include <QGesture>
       
    22 
       
    23 #include <hbwidget.h>
       
    24 #include <hbicon.h>
       
    25 
       
    26 class MpAlbumCoverWidget : public HbWidget
       
    27 
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31 public:
       
    32 
       
    33     MpAlbumCoverWidget( QGraphicsItem *parent = 0 );
       
    34     virtual ~MpAlbumCoverWidget();
       
    35     void setIcon(const HbIcon &icon );
       
    36     void setDefaultIcon( const HbIcon &icon );
       
    37      
       
    38 public:
       
    39     
       
    40     HbIcon    mIcon;
       
    41     HbIcon    mDefaultIcon;
       
    42     QPixmap   mPixmap;
       
    43 };
       
    44 
       
    45 
       
    46 #endif //MPALBUMCOVERWIDGET_H
       
    47 
       
    48 // EOF