2
|
1 |
<!-- START_USECASES: CU13 END_USECASES -->
|
|
2 |
|
|
3 |
<!-- BEGIN EVENT listBoxEventItemTapped -->
|
|
4 |
<templateGroup id="GenerateListBoxItemTappedEvent" ifEvents="listBoxEventItemTapped">
|
|
5 |
<template id="ItemTappedEventCase" phase="InitializeControlHandlers">
|
|
6 |
<![CDATA[
|
|
7 |
AddListBoxEventHandlerL(
|
|
8 |
${this.getInstanceMemberName(instance)},
|
|
9 |
EEventItemTapped,
|
|
10 |
&${className}::${event.handlerName} );]]>
|
|
11 |
</template>
|
|
12 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
13 |
FunctionLocationId="ListBoxItemTappedEventHandler"
|
|
14 |
DeclPhase="UserHandlers"
|
|
15 |
DefnLocation="SOURCE_FILE"
|
|
16 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
17 |
</templateGroup>
|
|
18 |
<!-- END EVENT listBoxEventItemTapped -->
|
|
19 |
|
|
20 |
<!-- BEGIN EVENT listBoxEventItemHighlighted -->
|
|
21 |
<templateGroup id="GenerateListBoxItemHighlightedEvent" ifEvents="listBoxEventItemHighlighted">
|
|
22 |
<template id="ItemHighlightedEventCase" phase="InitializeControlHandlers">
|
|
23 |
<![CDATA[
|
|
24 |
AddListBoxEventHandlerL(
|
|
25 |
${this.getInstanceMemberName(instance)},
|
|
26 |
EEventItemHighlighted,
|
|
27 |
&${className}::${event.handlerName} );]]>
|
|
28 |
</template>
|
|
29 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
30 |
FunctionLocationId="ListBoxItemHighlightedEventHandler"
|
|
31 |
DeclPhase="UserHandlers"
|
|
32 |
DefnLocation="SOURCE_FILE"
|
|
33 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
34 |
</templateGroup>
|
|
35 |
<!-- END EVENT listBoxEventItemHighlighted -->
|
|
36 |
|
|
37 |
<!-- BEGIN EVENT listBoxEventItemConfirmed -->
|
|
38 |
<templateGroup id="GenerateListBoxItemConfirmedEvent" ifEvents="listBoxEventItemConfirmed">
|
|
39 |
<template id="ItemConfirmedEventCase" phase="InitializeControlHandlers">
|
|
40 |
<![CDATA[
|
|
41 |
AddListBoxEventHandlerL(
|
|
42 |
${this.getInstanceMemberName(instance)},
|
|
43 |
EEventItemConfirmed,
|
|
44 |
&${className}::${event.handlerName} );]]>
|
|
45 |
</template>
|
|
46 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
47 |
FunctionLocationId="ListBoxItemConfirmedEventHandler"
|
|
48 |
DeclPhase="UserHandlers"
|
|
49 |
DefnLocation="SOURCE_FILE"
|
|
50 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
51 |
</templateGroup>
|
|
52 |
<!-- END EVENT listBoxEventItemConfirmed -->
|
|
53 |
|
|
54 |
<!-- BEGIN EVENT listBoxEventSelectionChanged -->
|
|
55 |
<templateGroup id="GenerateListBoxSelectionChangedEvent" ifEvents="listBoxEventSelectionChanged">
|
|
56 |
<template id="SelectionChangedEventCase" phase="InitializeControlHandlers">
|
|
57 |
<![CDATA[
|
|
58 |
AddListBoxEventHandlerL(
|
|
59 |
${this.getInstanceMemberName(instance)},
|
|
60 |
EEventSelectionChanged,
|
|
61 |
&${className}::${event.handlerName} );]]>
|
|
62 |
</template>
|
|
63 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
64 |
FunctionLocationId="ListBoxSelectionChangedEventHandler"
|
|
65 |
DeclPhase="UserHandlers"
|
|
66 |
DefnLocation="SOURCE_FILE"
|
|
67 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
68 |
</templateGroup>
|
|
69 |
<!-- END EVENT listBoxEventSelectionChanged -->
|
|
70 |
|
|
71 |
<!-- BEGIN EVENT listBoxEventMatchBufferChanged -->
|
|
72 |
<templateGroup id="GenerateListBoxMatchBufferChangedEvent" ifEvents="listBoxEventMatchBufferChanged">
|
|
73 |
<template id="MatchBufferChangedEventCase" phase="InitializeControlHandlers">
|
|
74 |
<![CDATA[
|
|
75 |
AddListBoxEventHandlerL(
|
|
76 |
${this.getInstanceMemberName(instance)},
|
|
77 |
EEventMatchBufferChanged,
|
|
78 |
&${className}::${event.handlerName} );]]>
|
|
79 |
</template>
|
|
80 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
81 |
FunctionLocationId="ListBoxMatchBufferChangedEventHandler"
|
|
82 |
DeclPhase="UserHandlers"
|
|
83 |
DefnLocation="SOURCE_FILE"
|
|
84 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
85 |
</templateGroup>
|
|
86 |
<!-- END EVENT listBoxEventMatchBufferChanged -->
|
|
87 |
|
|
88 |
<!-- BEGIN EVENT listBoxEventTopReached -->
|
|
89 |
<templateGroup id="GenerateListBoxTopReachedEvent" ifEvents="listBoxEventTopReached">
|
|
90 |
<template id="TopReachedEventCase" phase="InitializeControlHandlers">
|
|
91 |
<![CDATA[
|
|
92 |
AddListBoxEventHandlerL(
|
|
93 |
${this.getInstanceMemberName(instance)},
|
|
94 |
EEventTopReached,
|
|
95 |
&${className}::${event.handlerName} );]]>
|
|
96 |
</template>
|
|
97 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
98 |
FunctionLocationId="ListBoxTopReachedEventHandler"
|
|
99 |
DeclPhase="UserHandlers"
|
|
100 |
DefnLocation="SOURCE_FILE"
|
|
101 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
102 |
</templateGroup>
|
|
103 |
<!-- END EVENT listBoxEventTopReached -->
|
|
104 |
|
|
105 |
<!-- BEGIN EVENT listBoxEventBottomReached -->
|
|
106 |
<templateGroup id="GenerateListBoxBottomReachedEvent" ifEvents="listBoxEventBottomReached">
|
|
107 |
<template id="BottomReachedEventCase" phase="InitializeControlHandlers">
|
|
108 |
<![CDATA[
|
|
109 |
AddListBoxEventHandlerL(
|
|
110 |
${this.getInstanceMemberName(instance)},
|
|
111 |
EEventBottomReached,
|
|
112 |
&${className}::${event.handlerName} );]]>
|
|
113 |
</template>
|
|
114 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
115 |
FunctionLocationId="ListBoxBottomReachedEventHandler"
|
|
116 |
DeclPhase="UserHandlers"
|
|
117 |
DefnLocation="SOURCE_FILE"
|
|
118 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
119 |
</templateGroup>
|
|
120 |
<!-- END EVENT listBoxEventBottomReached -->
|
|
121 |
|
|
122 |
<!-- BEGIN EVENT listBoxEventEmptyListBoxActioned -->
|
|
123 |
<templateGroup id="GenerateListBoxEmptyListBoxActionedEvent" ifEvents="listBoxEventEmptyListBoxActioned">
|
|
124 |
<template id="EmptyListBoxActionedEventCase" phase="InitializeControlHandlers">
|
|
125 |
<![CDATA[
|
|
126 |
AddListBoxEventHandlerL(
|
|
127 |
${this.getInstanceMemberName(instance)},
|
|
128 |
EEventEmptyListBoxActioned,
|
|
129 |
&${className}::${event.handlerName} );]]>
|
|
130 |
</template>
|
|
131 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
132 |
FunctionLocationId="ListBoxEmptyListBoxActionedEventHandler"
|
|
133 |
DeclPhase="UserHandlers"
|
|
134 |
DefnLocation="SOURCE_FILE"
|
|
135 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
136 |
</templateGroup>
|
|
137 |
<!-- END EVENT listBoxEventEmptyListBoxActioned -->
|
|
138 |
|
|
139 |
<!-- BEGIN EVENT listBoxEventHighlightMoved -->
|
|
140 |
<templateGroup id="GenerateListBoxHighlightMovedEvent" ifEvents="listBoxEventHighlightMoved">
|
|
141 |
<template id="HighlightMovedEventCase" phase="InitializeControlHandlers">
|
|
142 |
<![CDATA[
|
|
143 |
AddListBoxEventHandlerL(
|
|
144 |
${this.getInstanceMemberName(instance)},
|
|
145 |
EEventHighlightMoved,
|
|
146 |
&${className}::${event.handlerName} );]]>
|
|
147 |
</template>
|
|
148 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
149 |
FunctionLocationId="ListBoxHighlightMovedEventHandler"
|
|
150 |
DeclPhase="UserHandlers"
|
|
151 |
DefnLocation="SOURCE_FILE"
|
|
152 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
153 |
</templateGroup>
|
|
154 |
<!-- END EVENT listBoxEventHighlightMoved -->
|
|
155 |
|
|
156 |
<!-- BEGIN EVENT listBoxEventSlotIndexChanged -->
|
|
157 |
<templateGroup id="GenerateListBoxSlotIndexChangedEvent" ifEvents="listBoxEventSlotIndexChanged">
|
|
158 |
<template id="SlotIndexChangedEventCase" phase="InitializeControlHandlers">
|
|
159 |
<![CDATA[
|
|
160 |
AddListBoxEventHandlerL(
|
|
161 |
${this.getInstanceMemberName(instance)},
|
|
162 |
EEventSlotIndexChanged,
|
|
163 |
&${className}::${event.handlerName} );]]>
|
|
164 |
</template>
|
|
165 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
166 |
FunctionLocationId="ListBoxSlotIndexChangedEventHandler"
|
|
167 |
DeclPhase="UserHandlers"
|
|
168 |
DefnLocation="SOURCE_FILE"
|
|
169 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
170 |
</templateGroup>
|
|
171 |
<!-- END EVENT listBoxEventSlotIndexChanged -->
|
|
172 |
|
|
173 |
<!-- BEGIN EVENT listBoxEventDimmedItemConfirmedAttempt -->
|
|
174 |
<templateGroup id="GenerateListBoxDimmedItemConfirmedAttemptEvent" ifEvents="listBoxEventDimmedItemConfirmedAttempt">
|
|
175 |
<template id="DimmedItemConfirmedAttemptEventCase" phase="InitializeControlHandlers">
|
|
176 |
<![CDATA[
|
|
177 |
AddListBoxEventHandlerL(
|
|
178 |
${this.getInstanceMemberName(instance)},
|
|
179 |
EEventDimmedItemConfirmedAttempt,
|
|
180 |
&${className}::${event.handlerName} );]]>
|
|
181 |
</template>
|
|
182 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
183 |
FunctionLocationId="ListBoxDimmedItemConfirmedAttemptEventHandler"
|
|
184 |
DeclPhase="UserHandlers"
|
|
185 |
DefnLocation="SOURCE_FILE"
|
|
186 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
187 |
</templateGroup>
|
|
188 |
<!-- END EVENT listBoxEventDimmedItemConfirmedAttempt -->
|
|
189 |
|
|
190 |
<!-- BEGIN EVENT listBoxEventMatchBufferFull -->
|
|
191 |
<templateGroup id="GenerateListBoxMatchBufferFullEvent" ifEvents="listBoxEventMatchBufferFull">
|
|
192 |
<template id="MatchBufferFullEventCase" phase="InitializeControlHandlers">
|
|
193 |
<![CDATA[
|
|
194 |
AddListBoxEventHandlerL(
|
|
195 |
${this.getInstanceMemberName(instance)},
|
|
196 |
EEventMatchBufferFull,
|
|
197 |
&${className}::${event.handlerName} );]]>
|
|
198 |
</template>
|
|
199 |
<expandMacro name="GenerateUserEventHandlerFunction"
|
|
200 |
FunctionLocationId="ListBoxMatchBufferFullEventHandler"
|
|
201 |
DeclPhase="UserHandlers"
|
|
202 |
DefnLocation="SOURCE_FILE"
|
|
203 |
FunctionArgs="CQikListBox* /*aListBox*/, TQikListBoxEvent /*aEventType*/, TInt /*aItemIndex*/, TInt /*aSlotId*/"/>
|
|
204 |
</templateGroup>
|
|
205 |
<!-- END EVENT listBoxEventMatchBufferFull -->
|