equal
deleted
inserted
replaced
29 #include "peninputlistonerowrollwithiconwithbubble.h" |
29 #include "peninputlistonerowrollwithiconwithbubble.h" |
30 |
30 |
31 #include "peninputlistmultirowrollwithicon.h" |
31 #include "peninputlistmultirowrollwithicon.h" |
32 #include "peninputlistonerowrollwithicon.h" |
32 #include "peninputlistonerowrollwithicon.h" |
33 #include "peninputlistexpandablemultirowwithouticon.h" |
33 #include "peninputlistexpandablemultirowwithouticon.h" |
|
34 #include "peninputlistmultirowwithouticonwithbubble.h" |
|
35 |
34 #include <peninputdropdownlistcontext.h> |
36 #include <peninputdropdownlistcontext.h> |
35 |
37 |
36 // ======== MEMBER FUNCTIONS ======== |
38 // ======== MEMBER FUNCTIONS ======== |
37 |
39 |
38 // Implementation of Class CListManager |
40 // Implementation of Class CListManager |
70 delete iListMultiRowRollWithIcon; |
72 delete iListMultiRowRollWithIcon; |
71 delete iListOneRowRollWithIcon; |
73 delete iListOneRowRollWithIcon; |
72 delete iListExpandableMultiRowWithoutIcon; |
74 delete iListExpandableMultiRowWithoutIcon; |
73 delete iListMultiRowRollWithIconWithBubble; |
75 delete iListMultiRowRollWithIconWithBubble; |
74 delete iListOneRowRollWithIconWithBubble; |
76 delete iListOneRowRollWithIconWithBubble; |
|
77 delete iListMultiRowWithoutIconWithBubble; |
75 } |
78 } |
76 |
79 |
77 // ----------------------------------------------------------------------------- |
80 // ----------------------------------------------------------------------------- |
78 // CListManager::NewL |
81 // CListManager::NewL |
79 // 2nd construct function |
82 // 2nd construct function |
93 iListMultiRowRollWithIcon = CListMultiRowRollWithIcon::NewL(this, aContext); |
96 iListMultiRowRollWithIcon = CListMultiRowRollWithIcon::NewL(this, aContext); |
94 iListOneRowRollWithIcon = CListOneRowRollWithIcon::NewL(this, aContext); |
97 iListOneRowRollWithIcon = CListOneRowRollWithIcon::NewL(this, aContext); |
95 iListExpandableMultiRowWithoutIcon = CListExpandableMultiRowWithoutIcon::NewL(this, aContext); |
98 iListExpandableMultiRowWithoutIcon = CListExpandableMultiRowWithoutIcon::NewL(this, aContext); |
96 iListMultiRowRollWithIconWithBubble = CListMultiRowRollWithIconWithBubble::NewL(this, aContext); |
99 iListMultiRowRollWithIconWithBubble = CListMultiRowRollWithIconWithBubble::NewL(this, aContext); |
97 iListOneRowRollWithIconWithBubble = CListOneRowRollWithIconWithBubble::NewL(this, aContext); |
100 iListOneRowRollWithIconWithBubble = CListOneRowRollWithIconWithBubble::NewL(this, aContext); |
|
101 iListMultiRowWithoutIconWithBubble = CListMultiRowWithoutIconWithBubble::NewL(this, aContext); |
98 } |
102 } |
99 |
103 |
100 // ----------------------------------------------------------------------------- |
104 // ----------------------------------------------------------------------------- |
101 // CListManager::SizeChanged |
105 // CListManager::SizeChanged |
102 // size change |
106 // size change |
115 iListMultiRowRollWithIcon->SizeChanged(); |
119 iListMultiRowRollWithIcon->SizeChanged(); |
116 iListOneRowRollWithIcon->SizeChanged(); |
120 iListOneRowRollWithIcon->SizeChanged(); |
117 iListExpandableMultiRowWithoutIcon->SizeChanged(); |
121 iListExpandableMultiRowWithoutIcon->SizeChanged(); |
118 iListMultiRowRollWithIconWithBubble->SizeChanged(); |
122 iListMultiRowRollWithIconWithBubble->SizeChanged(); |
119 iListOneRowRollWithIconWithBubble->SizeChanged(); |
123 iListOneRowRollWithIconWithBubble->SizeChanged(); |
|
124 iListMultiRowWithoutIconWithBubble->SizeChanged(); |
120 } |
125 } |
121 |
126 |
122 // ----------------------------------------------------------------------------- |
127 // ----------------------------------------------------------------------------- |
123 // CListManager::Move |
128 // CListManager::Move |
124 // move the list |
129 // move the list |
137 iListMultiRowRollWithIcon->Move(aOffset); |
142 iListMultiRowRollWithIcon->Move(aOffset); |
138 iListOneRowRollWithIcon->Move(aOffset); |
143 iListOneRowRollWithIcon->Move(aOffset); |
139 iListExpandableMultiRowWithoutIcon->Move(aOffset); |
144 iListExpandableMultiRowWithoutIcon->Move(aOffset); |
140 iListMultiRowRollWithIconWithBubble->Move(aOffset); |
145 iListMultiRowRollWithIconWithBubble->Move(aOffset); |
141 iListOneRowRollWithIconWithBubble->Move(aOffset); |
146 iListOneRowRollWithIconWithBubble->Move(aOffset); |
|
147 iListMultiRowWithoutIconWithBubble->Move(aOffset); |
142 |
148 |
143 // Move all candidates |
149 // Move all candidates |
144 for ( TInt i=0; i<iContext->CandidateCount(); i++ ) |
150 for ( TInt i=0; i<iContext->CandidateCount(); i++ ) |
145 { |
151 { |
146 CCandidate* candidate = iContext->GetCandidate(i); |
152 CCandidate* candidate = iContext->GetCandidate(i); |
279 // |
285 // |
280 CList* CListManager::ListMultiRowRollWithIconWithBubble() const |
286 CList* CListManager::ListMultiRowRollWithIconWithBubble() const |
281 { |
287 { |
282 return iListMultiRowRollWithIconWithBubble; |
288 return iListMultiRowRollWithIconWithBubble; |
283 } |
289 } |
|
290 |
|
291 CList* CListManager::ListMultiRowWithoutIconWithBubble() const |
|
292 { |
|
293 return iListMultiRowWithoutIconWithBubble; |
|
294 } |
284 |
295 |
285 void CListManager::ResetStatus() |
296 void CListManager::ResetStatus() |
286 { |
297 { |
287 ListOneRowWithoutIcon()->ResetStatus(); |
298 ListOneRowWithoutIcon()->ResetStatus(); |
288 ListOneRowWithoutIconWithBubble()->ResetStatus(); |
299 ListOneRowWithoutIconWithBubble()->ResetStatus(); |