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