equal
deleted
inserted
replaced
114 // Get the list object from the document and update the model. |
114 // Get the list object from the document and update the model. |
115 mListView = static_cast<HbListView *> |
115 mListView = static_cast<HbListView *> |
116 (mDocLoader->findWidget("todoListView")); |
116 (mDocLoader->findWidget("todoListView")); |
117 // Update the list view model. |
117 // Update the list view model. |
118 mListView->setModel(subModel); |
118 mListView->setModel(subModel); |
|
119 mListView->setItemPixmapCacheEnabled(true); |
119 // Setup the operations that can be done with a list view. |
120 // Setup the operations that can be done with a list view. |
120 connect( |
121 connect( |
121 mListView, SIGNAL(activated(const QModelIndex &)), |
122 mListView, SIGNAL(activated(const QModelIndex &)), |
122 this, SLOT(handleItemReleased(const QModelIndex &))); |
123 this, SLOT(handleItemReleased(const QModelIndex &))); |
123 connect( |
124 connect( |