--- a/inc/mpnowplayingwidget.h Fri Apr 30 19:33:32 2010 -0500
+++ b/inc/mpnowplayingwidget.h Fri May 14 18:54:37 2010 -0500
@@ -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