equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 #include <QObject> |
22 #include <QObject> |
23 |
23 |
24 #include <hbwidget.h> |
24 #include <hbwidget.h> |
25 #include <hbeffect.h> |
|
26 |
25 |
27 #include "mpcollectioncontainer.h" |
26 #include "mpcollectioncontainer.h" |
28 #include "mpmpxcollectionviewdefs.h" |
27 #include "mpmpxcollectionviewdefs.h" |
29 |
28 |
30 class HbListView; |
29 class HbListView; |
31 class HbAbstractViewItem; |
30 class HbAbstractViewItem; |
|
31 class HbLabel; |
|
32 class HbIndexFeedback; |
32 |
33 |
33 class MpCollectionListContainer : public MpCollectionContainer |
34 class MpCollectionListContainer : public MpCollectionContainer |
34 { |
35 { |
35 Q_OBJECT |
36 Q_OBJECT |
36 |
37 |
44 |
45 |
45 public slots: |
46 public slots: |
46 |
47 |
47 virtual void itemActivated( const QModelIndex &index ); |
48 virtual void itemActivated( const QModelIndex &index ); |
48 virtual void onLongPressed(HbAbstractViewItem *listViewItem, const QPointF &coords); |
49 virtual void onLongPressed(HbAbstractViewItem *listViewItem, const QPointF &coords); |
49 void itemChosenFxComplete1( const HbEffect::EffectStatus &status ); |
|
50 void itemChosenFxComplete2( const HbEffect::EffectStatus &status ); |
|
51 |
50 |
52 |
51 |
53 protected: |
52 protected: |
54 |
53 |
55 explicit MpCollectionListContainer( HbDocumentLoader *loader, QGraphicsItem *parent=0 ); |
54 explicit MpCollectionListContainer( HbDocumentLoader *loader, QGraphicsItem *parent=0 ); |
56 virtual void initializeList(); |
55 virtual void initializeList(); |
|
56 void setupEmptyListContainer(); |
57 |
57 |
58 protected: |
58 protected: |
59 |
59 |
60 HbListView *mList; |
60 HbListView *mList; |
61 QModelIndex mChosenIndex; |
61 HbLabel *mNoMusic; |
62 bool mEffectOnGoing; |
62 HbIndexFeedback *mIndexFeedback; |
63 |
63 |
64 }; |
64 }; |
65 |
65 |
66 #endif // MPCOLLECTIONLISTCONTAINER_H |
66 #endif // MPCOLLECTIONLISTCONTAINER_H |
67 |
67 |