equal
deleted
inserted
replaced
14 * Description: Videolist content widget implementation |
14 * Description: Videolist content widget implementation |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "videohintwidget.h" |
18 #include "videohintwidget.h" |
|
19 #include "videohintwidgetdata.h" |
|
20 |
|
21 int VideoHintWidgetData::mSettedHintLevel = -1; |
|
22 bool VideoHintWidgetData::mSettedButtonShowLevel = false; |
19 |
23 |
20 VideoHintWidget::VideoHintWidget(VideoCollectionUiLoader *uiLoader, |
24 VideoHintWidget::VideoHintWidget(VideoCollectionUiLoader *uiLoader, |
21 QGraphicsItem *parent): |
25 QGraphicsItem *parent): |
22 HbWidget(parent), |
26 HbWidget(parent), |
23 mUiLoader(uiLoader), |
27 mUiLoader(uiLoader), |
39 return 0; |
43 return 0; |
40 } |
44 } |
41 |
45 |
42 void VideoHintWidget::setLevel(HintLevel level) |
46 void VideoHintWidget::setLevel(HintLevel level) |
43 { |
47 { |
44 Q_UNUSED(level); |
48 VideoHintWidgetData::mSettedHintLevel = (int)level; |
45 // not stubbed |
|
46 } |
49 } |
47 |
50 |
48 void VideoHintWidget::setButtonShown(bool shown) |
51 void VideoHintWidget::setButtonShown(bool shown) |
49 { |
52 { |
50 Q_UNUSED(shown); |
53 VideoHintWidgetData::mSettedButtonShowLevel = shown; |
51 // not stubbed |
|
52 } |
54 } |
53 |
55 |
54 void VideoHintWidget::orientationChangedSlot(Qt::Orientation targetOrientation) |
56 void VideoHintWidget::orientationChangedSlot(Qt::Orientation targetOrientation) |
55 { |
57 { |
56 Q_UNUSED(targetOrientation); |
58 Q_UNUSED(targetOrientation); |
57 // not stubbed |
59 // not stubbed |
58 } |
60 } |
59 |
61 |
60 void VideoHintWidget::activate() |
62 void VideoHintWidget::activate() |
61 { |
63 { |
62 // not stubbed |
64 setVisible(true); |
63 } |
65 } |
64 |
66 |
65 void VideoHintWidget::deactivate() |
67 void VideoHintWidget::deactivate() |
66 { |
68 { |
67 // not stubbed |
69 setVisible(false); |
68 } |
70 } |
69 |
71 |
70 void VideoHintWidget::updateUiComponents() |
72 void VideoHintWidget::updateUiComponents() |
71 { |
73 { |
72 // not stubbed |
74 // not stubbed |