65 frequencyStrip, SLOT(setFrequency(uint,int)) ); |
65 frequencyStrip, SLOT(setFrequency(uint,int)) ); |
66 connectAndTest( engine, SIGNAL(tunedToFrequency(uint,int)), |
66 connectAndTest( engine, SIGNAL(tunedToFrequency(uint,int)), |
67 frequencyStrip, SLOT(setFrequency(uint,int)) ); |
67 frequencyStrip, SLOT(setFrequency(uint,int)) ); |
68 connectAndTest( stationModel, SIGNAL(favoriteChanged(RadioStation)), |
68 connectAndTest( stationModel, SIGNAL(favoriteChanged(RadioStation)), |
69 frequencyStrip, SLOT(favoriteChanged(RadioStation)) ); |
69 frequencyStrip, SLOT(favoriteChanged(RadioStation)) ); |
|
70 connectAndTest( stationModel, SIGNAL(stationAdded(RadioStation)), |
|
71 frequencyStrip, SLOT(stationAdded(RadioStation)) ); |
|
72 connectAndTest( stationModel, SIGNAL(stationRemoved(RadioStation)), |
|
73 frequencyStrip, SLOT(stationRemoved(RadioStation)) ); |
70 connectAndTest( frequencyStrip, SIGNAL(swipedLeft()), |
74 connectAndTest( frequencyStrip, SIGNAL(swipedLeft()), |
71 engine, SLOT(skipNext()) ); |
75 engine, SLOT(skipNext()) ); |
72 connectAndTest( frequencyStrip, SIGNAL(swipedRight()), |
76 connectAndTest( frequencyStrip, SIGNAL(swipedRight()), |
73 engine, SLOT(skipPrevious()) ); |
77 engine, SLOT(skipPrevious()) ); |
74 connectAndTest( engine, SIGNAL(seekingStarted(int)), |
78 connectAndTest( engine, SIGNAL(seekingStarted(int)), |
77 carousel, SLOT(updateHeadsetStatus(bool)) ); |
81 carousel, SLOT(updateHeadsetStatus(bool)) ); |
78 |
82 |
79 frequencyStrip->connectLeftButton( SIGNAL(clicked()), engine, SLOT(skipPrevious()) ); |
83 frequencyStrip->connectLeftButton( SIGNAL(clicked()), engine, SLOT(skipPrevious()) ); |
80 frequencyStrip->connectRightButton( SIGNAL(clicked()), engine, SLOT(skipNext()) ); |
84 frequencyStrip->connectRightButton( SIGNAL(clicked()), engine, SLOT(skipNext()) ); |
81 |
85 |
82 frequencyStrip->connectLeftButton( SIGNAL(longPress(QPointF)), engine, SLOT(seekUp()) ); |
86 frequencyStrip->connectLeftButton( SIGNAL(longPress(QPointF)), engine, SLOT(seekDown()) ); |
83 frequencyStrip->connectRightButton( SIGNAL(longPress(QPointF)), engine, SLOT(seekDown()) ); |
87 frequencyStrip->connectRightButton( SIGNAL(longPress(QPointF)), engine, SLOT(seekUp()) ); |
84 |
88 |
85 // "Play log" menu item |
89 // "Play log" menu item |
86 connectViewChangeMenuItem( DOCML_NAME_PLAYLOGVIEWACTION, SLOT(activatePlayLogView()) ); |
90 connectViewChangeMenuItem( DOCML_NAME_PLAYLOGVIEWACTION, SLOT(activatePlayLogView()) ); |
87 |
91 |
88 // "StationsView" menu item |
|
89 connectViewChangeMenuItem( DOCML_NAME_STATIONSVIEWACTION, SLOT(activateStationsView()) ); |
|
90 |
|
91 connectCommonMenuItem( MenuItem::UseLoudspeaker ); |
92 connectCommonMenuItem( MenuItem::UseLoudspeaker ); |
92 } |
|
93 |
|
94 /*! |
|
95 * From RadioViewBase |
|
96 * |
|
97 */ |
|
98 void RadioTuningView::initSecondarySoftkey() |
|
99 { |
|
100 // Intentionally empty so that the tuning view won't have the back button |
|
101 } |
93 } |
102 |
94 |
103 /*! |
95 /*! |
104 * From RadioViewBase |
96 * From RadioViewBase |
105 * |
97 * |