notes/notesui/notesviews/src/notesfavoriteview.cpp
changeset 70 a5ed90760192
parent 55 2c54b51f39c4
child 83 5aadd1120515
equal deleted inserted replaced
64:1881ad52dc45 70:a5ed90760192
   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(