inc/mpnowplayingwidget.h
changeset 29 8192e5b5c935
parent 20 82baf59ce8dd
child 32 c163ef0b758d
--- a/inc/mpnowplayingwidget.h	Fri May 14 15:49:53 2010 +0300
+++ b/inc/mpnowplayingwidget.h	Thu May 27 12:49:57 2010 +0300
@@ -31,6 +31,8 @@
 //forward declartions
 class QGraphicsSceneMouseEvent;
 class MpNowPlayingWidgetPrivate;
+class HbFrameItem;
+
 
 class MPNOWPLAYINGBANNER_EXPORT MpNowPlayingWidget : public HbWidget
 {
@@ -41,8 +43,7 @@
     explicit MpNowPlayingWidget(long int playerId, QGraphicsItem *parent=0 );
     virtual ~MpNowPlayingWidget();
     void setEnabled( bool enabled );
-    void paint( QPainter *painter, const QStyleOptionGraphicsItem *option,
-                QWidget *widget = 0 );
+    void resizeEvent(QGraphicsSceneResizeEvent *event);
 
 signals:
     void clicked();
@@ -51,12 +52,12 @@
 private:
     void mousePressEvent( QGraphicsSceneMouseEvent *event );
     void mouseReleaseEvent( QGraphicsSceneMouseEvent *event );
-    void changeEvent(QEvent *event);
+    void mouseMoveEvent( QGraphicsSceneMouseEvent *event );
 
 private:
     Q_DISABLE_COPY(MpNowPlayingWidget)
     MpNowPlayingWidgetPrivate * const d_ptr; //owned
-
+    HbFrameItem     *mFrameItem;
 };
 
 #endif    // MPNOWPLAYINGWIDGET_H