mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpplaybackview/stub/src/mpplaybackwidget.cpp
changeset 48 af3740e3753f
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
       
     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: Playback widget stub for Music Player playback view.
       
    15 *
       
    16 */
       
    17 
       
    18 #include <QTime>
       
    19 
       
    20 #include <hbprogressslider.h>
       
    21 #include <hbinstance.h>
       
    22 #include <hblabel.h>
       
    23 #include <hbfontspec.h>
       
    24 #include <hbstackedlayout.h>
       
    25 
       
    26 #include "..\inc\mpplaybackwidget.h"
       
    27 #include "mpplaybackdata.h"
       
    28 #include "mpalbumcoverwidget.h"
       
    29 #include "mpplaybackdocumentloader.h"
       
    30 #include "mptrace.h"
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 /*!
       
    36  Constructs the collection view plugin.
       
    37  */
       
    38 MpPlaybackWidget::MpPlaybackWidget(MpPlaybackData *data, QGraphicsItem *parent )
       
    39     : HbWidget(parent),
       
    40       mPlaybackData(data),
       
    41       mDocumentLoader(0),
       
    42       mProgreesBarDragging(false),
       
    43       mDuration(0)
       
    44 {
       
    45 }
       
    46 
       
    47 /*!
       
    48  Constructs the collection view plugin.
       
    49  */
       
    50 MpPlaybackWidget::~MpPlaybackWidget()
       
    51 {
       
    52 
       
    53 }
       
    54 
       
    55 /*!
       
    56  Handle Repeat changed.
       
    57  */
       
    58 void MpPlaybackWidget::repeatChanged( bool )
       
    59 { 
       
    60 }