equal
deleted
inserted
replaced
159 docLoader->load(CLOCK_MAIN_VIEW_DOCML, &loadSuccess); |
159 docLoader->load(CLOCK_MAIN_VIEW_DOCML, &loadSuccess); |
160 |
160 |
161 // Find the main view. |
161 // Find the main view. |
162 mMainView = static_cast<ClockMainView *> ( |
162 mMainView = static_cast<ClockMainView *> ( |
163 docLoader->findWidget(CLOCK_MAIN_VIEW)); |
163 docLoader->findWidget(CLOCK_MAIN_VIEW)); |
|
164 mMainView->setParent(this); |
164 |
165 |
165 // Disable animation effect on toolbar. |
166 // Disable animation effect on toolbar. |
166 HbEffect::disable(mMainView->toolBar()->graphicsItem()); |
167 HbEffect::disable(mMainView->toolBar()->graphicsItem()); |
167 |
168 |
168 // Setup the view. |
169 // Setup the view. |
188 docLoader->load(CLOCK_WORLD_VIEW_DOCML, &loadSuccess); |
189 docLoader->load(CLOCK_WORLD_VIEW_DOCML, &loadSuccess); |
189 |
190 |
190 // Get the world list view. |
191 // Get the world list view. |
191 mWorldClockView = static_cast<ClockWorldView *> ( |
192 mWorldClockView = static_cast<ClockWorldView *> ( |
192 docLoader->findWidget(CLOCK_WORLD_VIEW)); |
193 docLoader->findWidget(CLOCK_WORLD_VIEW)); |
|
194 mWorldClockView->setParent(this); |
193 |
195 |
194 // Disable animation effect on toolbar. |
196 // Disable animation effect on toolbar. |
195 HbEffect::disable(mWorldClockView->toolBar()->graphicsItem()); |
197 HbEffect::disable(mWorldClockView->toolBar()->graphicsItem()); |
196 |
198 |
197 mWorldClockView->setupView(mAppControllerIf, docLoader); |
199 mWorldClockView->setupView(mAppControllerIf, docLoader); |