qtinternetradio/ui/inc/irplayingbanner.h
changeset 14 896e9dbc5f19
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
       
     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 IRPLAYINGBANNER_H_
       
    19 #define IRPLAYINGBANNER_H_
       
    20 
       
    21 #include <HbWidget>
       
    22 
       
    23 class HbLabel;
       
    24 class HbMarqueeItem;
       
    25 
       
    26 /**
       
    27  * This class is to overload the gestureevent function.
       
    28  */
       
    29 class IRPlayingBanner : public HbWidget
       
    30 {
       
    31     Q_OBJECT
       
    32 public:
       
    33     IRPlayingBanner();
       
    34 
       
    35 signals:
       
    36     void playingBannerTapFinished();
       
    37 
       
    38 private:
       
    39     // from HbWidgetBase
       
    40     void gestureEvent(QGestureEvent *aEvent);
       
    41 
       
    42     // from HbWidget
       
    43     void changeEvent(QEvent *event);
       
    44 
       
    45     void setPlayingBannerTextColor(const QString &aColor);
       
    46 
       
    47     void init();
       
    48 
       
    49 private:
       
    50     HbLabel       *iStationName;
       
    51     HbMarqueeItem *iArtistSongName;
       
    52 };
       
    53 
       
    54 #endif /* IRPLAYINGBANNER_H_ */