equal
deleted
inserted
replaced
94 void RadioWindow::activateMainView() |
94 void RadioWindow::activateMainView() |
95 { |
95 { |
96 if ( !mMainView ) { |
96 if ( !mMainView ) { |
97 mMainView = ViewPtr( new RadioMainView() ); |
97 mMainView = ViewPtr( new RadioMainView() ); |
98 } |
98 } |
99 activateView( mMainView, DOCML::FILE_MAINVIEW, Hb::ViewSwitchUseBackAnim ); |
99 activateView( mMainView.data(), DOCML::FILE_MAINVIEW, Hb::ViewSwitchUseBackAnim ); |
100 } |
100 } |
101 |
101 |
102 /*! |
102 /*! |
103 * |
103 * |
104 */ |
104 */ |
105 void RadioWindow::activateStationsView() |
105 void RadioWindow::activateStationsView() |
106 { |
106 { |
107 if ( !mStationsView ) { |
107 if ( !mStationsView ) { |
108 mStationsView = ViewPtr( new RadioStationsView() ); |
108 mStationsView = ViewPtr( new RadioStationsView() ); |
109 } |
109 } |
110 activateView( mStationsView, DOCML::FILE_STATIONSVIEW ); |
110 activateView( mStationsView.data(), DOCML::FILE_STATIONSVIEW ); |
111 } |
111 } |
112 |
112 |
113 /*! |
113 /*! |
114 * |
114 * |
115 */ |
115 */ |
116 void RadioWindow::activateHistoryView() |
116 void RadioWindow::activateHistoryView() |
117 { |
117 { |
118 if ( !mHistoryView ) { |
118 if ( !mHistoryView ) { |
119 mHistoryView = ViewPtr( new RadioHistoryView() ); |
119 mHistoryView = ViewPtr( new RadioHistoryView() ); |
120 } |
120 } |
121 activateView( mHistoryView, DOCML::FILE_HISTORYVIEW ); |
121 activateView( mHistoryView.data(), DOCML::FILE_HISTORYVIEW ); |
122 } |
122 } |
123 |
123 |
124 /*! |
124 /*! |
125 * Private slot |
125 * Private slot |
126 * |
126 * |