equal
deleted
inserted
replaced
263 /*! |
263 /*! |
264 \internal |
264 \internal |
265 */ |
265 */ |
266 HbViewPrivate::~HbViewPrivate() |
266 HbViewPrivate::~HbViewPrivate() |
267 { |
267 { |
|
268 delete menu; |
|
269 delete toolBar; |
|
270 delete dockWidget; |
268 } |
271 } |
269 |
272 |
270 /*! |
273 /*! |
271 Constructs a view with the given \a parent. |
274 Constructs a view with the given \a parent. |
272 */ |
275 */ |
290 /*! |
293 /*! |
291 Destructor. |
294 Destructor. |
292 */ |
295 */ |
293 HbView::~HbView() |
296 HbView::~HbView() |
294 { |
297 { |
295 Q_D(HbView); |
|
296 if (d->menu) { |
|
297 d->menu->deleteLater(); |
|
298 } |
|
299 if (d->toolBar) { |
|
300 d->toolBar->deleteLater(); |
|
301 } |
|
302 if (d->dockWidget) { |
|
303 d->dockWidget->deleteLater(); |
|
304 } |
|
305 } |
298 } |
306 |
299 |
307 /*! |
300 /*! |
308 Returns the title of the view. If no title has been defined, the return value is a null string. |
301 Returns the title of the view. If no title has been defined, the return value is a null string. |
309 |
302 |