mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallview/stub/inc/mpalbumcoverwidget.h
changeset 47 4cc1412daed0
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: MpAlbumCoverWidget stub for testing mpmediawallview
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPALBUMCOVERWIDGET_H
       
    19 #define MPALBUMCOVERWIDGET_H
       
    20 
       
    21 //includes
       
    22 #include <QObject>
       
    23 #include <HbWidget>
       
    24 #include <QGraphicsItem>
       
    25 
       
    26 class HbIcon;
       
    27 
       
    28 class MpAlbumCoverWidget : public HbWidget
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33 
       
    34     explicit MpAlbumCoverWidget( QGraphicsItem *parent = 0 );
       
    35     virtual ~MpAlbumCoverWidget();
       
    36     void setIcon(const HbIcon &icon );
       
    37     void setDefaultIcon( const HbIcon &icon );
       
    38 };
       
    39 
       
    40 #endif    // MPALBUMCOVERWIDGET_H