notes/notesui/notesviews/src/notestodoview.cpp
changeset 70 a5ed90760192
parent 57 bb2d3e476f29
child 75 7ac58b2aae6f
equal deleted inserted replaced
64:1881ad52dc45 70:a5ed90760192
   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(