|
Nokia N97 SDK Example Applications Guide |
#include <ListboxSettingList.h>
Inheritance diagram for CListboxSettingList:

Definition at line 30 of file ListboxSettingList.h.
Public Member Functions |
|
| CListboxSettingList () | |
| ~CListboxSettingList () | |
| CAknSettingItem * | CreateSettingItemL (TInt aSettingId) |
| void | EditItemL (TInt aIndex, TBool aCalledFromMenu) |
Static Public Member Functions |
|
| static CListboxSettingList * | NewL () |
Private Member Functions |
|
| void | ConstructL () |
Private Attributes |
|
| TBuf< 70 > | iText |
| TInt | iSelected |
| CNaviScrollTimer * | iTimer |
|
|
C++ default constructor. Definition at line 30 of file ListboxSettingList.cpp.
|
|
|
Destructor. Definition at line 39 of file ListboxSettingList.cpp. References iTimer.
|
|
|
Two-phased constructor. Definition at line 49 of file ListboxSettingList.cpp. References ConstructL(). Referenced by CListboxSettingView::DoActivateL(). 00050 { 00051 CListboxSettingList* self = new ( ELeave ) CListboxSettingList; 00052 CleanupStack::PushL( self ); 00053 self->ConstructL(); 00054 CleanupStack::Pop( self ); 00055 return self; 00056 }
|
|
|
From CAknSettingItemList. Creates setting item.
Definition at line 74 of file ListboxSettingList.cpp. References iSelected, and iText. 00075 { 00076 CAknSettingItem* settingItem = NULL; 00077 00078 switch( aSettingId ) 00079 { 00080 case EListboxSettingUsername: 00081 settingItem = new ( ELeave ) 00082 CAknTextSettingItem( aSettingId, iText ); 00083 break; 00084 case EListboxSettingConnectMode: 00085 settingItem = new ( ELeave ) 00086 CAknEnumeratedTextPopupSettingItem( aSettingId, iSelected ); 00087 break; 00088 default: 00089 break; 00090 } 00091 00092 return settingItem; 00093 }
|
|
||||||||||||
|
From CAknSettingItemList. Edits setting item data.
Definition at line 100 of file ListboxSettingList.cpp. Referenced by CListboxSettingView::HandleCommandL(). 00101 { 00102 TInt currentItem = ((CAknSettingItemList*)this)->ListBox()->View()->CurrentItemIndex(); 00103 CAknSettingItemList::EditItemL( currentItem, aCalledFromMenu ); 00104 ( *SettingItemArray() )[aIndex]->UpdateListBoxTextL(); 00105 ( *SettingItemArray() )[aIndex]->StoreL(); 00106 00107 }
|
|
|
By default Symbian 2nd phase constructor is private. Definition at line 63 of file ListboxSettingList.cpp. References iTimer, CNaviScrollTimer::NewL(), and CNaviScrollTimer::StartScroll(). Referenced by NewL(). 00064 { 00065 iTimer = CNaviScrollTimer::NewL( KNaviPaneText ); 00066 iTimer->StartScroll(); 00067 }
|
|
|
Descriptor for user name. Definition at line 81 of file ListboxSettingList.h. Referenced by CreateSettingItemL(). |
|
|
Integer representing the selected index from "Connection mode" setting page. Definition at line 87 of file ListboxSettingList.h. Referenced by CreateSettingItemL(). |
|
|
Timer for scrolling listbox class name on the navigation pane. Owned Definition at line 94 of file ListboxSettingList.h. Referenced by ConstructL(), and ~CListboxSettingList(). |
|
© Nokia 2009 |