homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/hspage_mock.cpp
equal
deleted
inserted
replaced
190 { |
190 { |
191 if (mNewWidgets.isEmpty()) { |
191 if (mNewWidgets.isEmpty()) { |
192 return; |
192 return; |
193 } |
193 } |
194 |
194 |
195 updateZValues(); |
195 updateZValues(HsScene::instance()->activeWidget()); |
196 HsWidgetHost *widget = 0; |
196 HsWidgetHost *widget = 0; |
197 for (int i = 0; i < mNewWidgets.count(); ++i) { |
197 for (int i = 0; i < mNewWidgets.count(); ++i) { |
198 widget = mNewWidgets.at(i); |
198 widget = mNewWidgets.at(i); |
199 widget->setPage(this); |
199 widget->setPage(this); |
200 widget->showWidget(); |
200 widget->showWidget(); |
360 |
360 |
361 /*! |
361 /*! |
362 Update widgets z-values and persist those. Active widget has top most |
362 Update widgets z-values and persist those. Active widget has top most |
363 z-value. |
363 z-value. |
364 */ |
364 */ |
365 void HsPage::updateZValues() |
365 void HsPage::updateZValues(HsWidgetHost *activeWidget) |
366 { |
366 { |
367 |
367 Q_UNUSED(activeWidget) |
368 } |
368 } |
369 |
369 |
370 /*! |
370 /*! |
371 Return this page's index. |
371 Return this page's index. |
372 */ |
372 */ |