66 void setDialpadMenuActions(); |
66 void setDialpadMenuActions(); |
67 |
67 |
68 /*! |
68 /*! |
69 \fn void pushButtonActionsForCall () |
69 \fn void pushButtonActionsForCall () |
70 |
70 |
71 Returns push button actions actions for call. |
71 Returns push button actions for call. |
72 |
72 |
73 */ |
73 */ |
74 QMap<PhoneAction::ActionType, PhoneAction *> pushButtonActionsForCall( |
74 QMap<PhoneAction::ActionType, PhoneAction *> pushButtonActionsForCall( |
75 int callState, |
75 int callState, |
76 bool emergencyCall, |
76 bool emergencyCall, |
77 QMap<int,int> callStates, |
77 QMap<int,int> callStates, |
78 QMap<int,int> serviceIds, |
78 QMap<int,int> serviceIds, |
79 int serviceId, |
79 int serviceId, |
80 int callId); |
80 int callId); |
81 |
81 |
|
82 /*! |
|
83 \fn void toolBarActions () |
|
84 |
|
85 Returns tool bar actions for call. |
|
86 |
|
87 */ |
|
88 QList<PhoneAction *> toolBarActions( |
|
89 int resourceId, |
|
90 QMap<int,int> callStates, |
|
91 QMap<int,int> serviceIds, |
|
92 int serviceId, |
|
93 int callId); |
|
94 |
82 private: |
95 private: |
83 |
96 |
84 /*! |
97 /*! |
85 \fn QList<int> menuCommands() |
98 \fn QList<int> menuCommands() |
86 |
99 |
87 Returns list of current menu commands. |
100 Returns list of current menu commands. |
88 |
101 |
89 */ |
102 */ |
90 QList<int> menuCommands( |
103 QList<int> menuCommands( |
91 QMap<int,int> callStates, QMap<int,int> serviceIds ); |
104 QMap<int,int> callStates, QMap<int,int> serviceIds) const; |
92 |
105 |
93 /*! |
106 /*! |
94 \fn void addMenuItems() |
107 \fn void addMenuItems() |
95 |
108 |
96 Adds menu commands to menu. |
109 Adds menu commands to menu. |
117 \fn void ResolveImplementationUidL() |
130 \fn void ResolveImplementationUidL() |
118 |
131 |
119 Returns service's plugin uid by service id. |
132 Returns service's plugin uid by service id. |
120 */ |
133 */ |
121 TUid ResolveImplementationUidL( |
134 TUid ResolveImplementationUidL( |
122 TUint32 aServiceId, TServicePropertyName aPropertyName ); |
135 TUint32 aServiceId, TServicePropertyName aPropertyName ) const; |
123 |
136 |
124 /*! |
137 /*! |
125 \fn void MenuExtensionL() |
138 \fn void MenuExtensionL() |
126 |
139 |
127 Returns command extension by service id (null if |
140 Returns command extension by service id (null if |
140 \fn void areServicesSame() |
153 \fn void areServicesSame() |
141 |
154 |
142 Checks are all calls made by same service (id). |
155 Checks are all calls made by same service (id). |
143 Returns true when same service used. |
156 Returns true when same service used. |
144 */ |
157 */ |
145 bool areServicesSame(QMap<int,int> callStates, QMap<int,int> serviceIds); |
158 bool areServicesSame(QMap<int,int> callStates, QMap<int,int> serviceIds) const; |
|
159 |
|
160 /*! |
|
161 \fn void setJoinFlag() |
|
162 |
|
163 Sets conference join button flag. |
|
164 */ |
|
165 void setJoinFlag(QMap<int,int> callStates, QMap<int,int> serviceIds) const; |
|
166 |
|
167 /*! |
|
168 \fn void setHoldFlag() |
|
169 |
|
170 Sets hold button flag. |
|
171 */ |
|
172 void setHoldFlag(int callState) const; |
|
173 |
|
174 /*! |
|
175 \fn void setOutgoingFlag() |
|
176 |
|
177 Sets outgoing call button flag. |
|
178 */ |
|
179 void setOutgoingFlag(QList<int> callStates) const; |
|
180 |
|
181 /*! |
|
182 \fn void setConferenceFlag() |
|
183 |
|
184 Sets conference call button flag. (Flag will be true when call |
|
185 state list contains held/active conference). |
|
186 */ |
|
187 void setConferenceFlag(QList<int> callStates) const; |
|
188 |
|
189 /*! |
|
190 \fn void setMulticallFlag() |
|
191 |
|
192 Sets multi call button flag. (Flag will be set as true when active |
|
193 and held calls exists). |
|
194 */ |
|
195 void setMultiCallFlag(QList<int> callStates) const; |
|
196 |
|
197 /*! |
|
198 \fn void mapToExtensionToolBarItems() |
|
199 |
|
200 Maps phone action tool bar item list to ui command extension |
|
201 tool bar item list. |
|
202 */ |
|
203 void mapToExtensionToolBarItems( |
|
204 const QList<PhoneAction::ToolBarItem> &sourceList, |
|
205 QList<XQTelUiCommandExtension::ToolBarCommand> &toolBarCmdList) const; |
|
206 |
|
207 /*! |
|
208 \fn void mapToPhoneActionToolBarItems() |
|
209 |
|
210 Maps ui command extension tool bar item list to phone action |
|
211 tool bar item list. |
|
212 */ |
|
213 void mapToPhoneActionToolBarItems( |
|
214 const QList<XQTelUiCommandExtension::ToolBarCommand> &sourceList, |
|
215 QList<PhoneAction::ToolBarItem> &commandList) const; |
146 |
216 |
147 /*! |
217 /*! |
148 \fn void buttonCommandList() |
218 \fn void buttonCommandList() |
149 |
219 |
150 Returns push button command list. |
220 Returns push button command list. |
151 */ |
221 */ |
152 QList<int> buttonCommandList(int callState, |
222 QList<int> buttonCommandList(int callState, |
153 bool emergencyCall, |
223 bool emergencyCall, |
154 bool sameServices, |
224 QList<int> callStates) const; |
155 QList<int> callStates); |
|
156 |
225 |
157 /*! |
226 /*! |
158 \fn void buttonCommandList() |
227 \fn void buttonCommandList() |
159 |
228 |
160 Maps push button command to phone action. |
229 Maps push button command to phone action. |
161 */ |
230 */ |
162 PhoneAction *mapCommandToAction(int callState); |
231 PhoneAction *mapCommandToAction(int command, |
|
232 bool disabled=false) const; |
163 |
233 |
164 |
234 |
165 |
235 |
166 private: |
236 private: |
167 |
237 |