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