equal
deleted
inserted
replaced
21 #include <AknIconArray.h> |
21 #include <AknIconArray.h> |
22 #include <aknnavide.h> |
22 #include <aknnavide.h> |
23 #include <akntabgrp.h> |
23 #include <akntabgrp.h> |
24 #include <AknsConstants.h> //For skinned icons |
24 #include <AknsConstants.h> //For skinned icons |
25 #include <csxhelp/log.hlp.hrh> |
25 #include <csxhelp/log.hlp.hrh> |
26 #include <Logs.rsg> |
26 #include <logs.rsg> |
27 #include <logs.mbg> //Index file for Logs icons. |
27 #include <logs.mbg> //Index file for Logs icons. |
28 |
28 |
29 #include "CLogsRecentListControlContainer.h" |
29 #include "CLogsRecentListControlContainer.h" |
30 #include "CLogsEngine.h" |
30 #include "CLogsEngine.h" |
31 #include "MLogsModel.h" |
31 #include "MLogsModel.h" |
117 AddControlContainerIconsL(); |
117 AddControlContainerIconsL(); |
118 iListBox->Model()->SetOwnershipType( ELbmOwnsItemArray );//Ownership of iAdapter transferred |
118 iListBox->Model()->SetOwnershipType( ELbmOwnsItemArray );//Ownership of iAdapter transferred |
119 |
119 |
120 iAdapter = CLogsRecentListAdapter::NewL( this, iLastOwnIconOffset ); |
120 iAdapter = CLogsRecentListAdapter::NewL( this, iLastOwnIconOffset ); |
121 |
121 |
|
122 // Shows "No missed calls" in this case |
|
123 MakeEmptyTextListBoxL( iListBox, EmptyListboxResourceL() ); |
122 iListBox->Model()->SetItemTextArray( iAdapter ); |
124 iListBox->Model()->SetItemTextArray( iAdapter ); |
123 |
125 |
124 //The below was a bad place for this as container is not deleted when we lose foreground |
|
125 //but we still reread events. Instead we handle this in CLogsRecentListView::StateChangedL |
|
126 //MakeEmptyTextListBoxL( iListBox, EmptyListboxResource() ); //Shows "no data" in this case |
|
127 MakeScrollArrowsL( iListBox ); |
126 MakeScrollArrowsL( iListBox ); |
128 |
127 |
129 //Create recent list view tab group (Logs.rss) |
128 //Create recent list view tab group (Logs.rss) |
130 CAknNavigationDecorator* naviTabGroup = NavigationTabGroupL( R_STM_NAVI_PANE_TAB_GROUP, |
129 CAknNavigationDecorator* naviTabGroup = NavigationTabGroupL( R_STM_NAVI_PANE_TAB_GROUP, |
131 CLogsNaviDecoratorWrapper::InstanceL() ); |
130 CLogsNaviDecoratorWrapper::InstanceL() ); |