121 * Handle bluetooth message |
124 * Handle bluetooth message |
122 * @param msgId message id |
125 * @param msgId message id |
123 */ |
126 */ |
124 void handleBTMessage(int msgId); |
127 void handleBTMessage(int msgId); |
125 |
128 |
|
129 /** |
|
130 * Start a custom effect animation |
|
131 * e.g. editor's send effect |
|
132 * @param effectEvent, effect type for animation |
|
133 */ |
|
134 void startAnimation(QString effectEvent); |
|
135 |
|
136 /** |
|
137 * Reset a custom effect animation |
|
138 * e.g. editor's send effect |
|
139 * @param effectEvent, animation effect type which needs to be reset |
|
140 * @param item, QGraphicsItem on which the effect was run |
|
141 */ |
|
142 void resetAnimation(QString effectEvent, QGraphicsItem* item); |
|
143 |
|
144 /** |
|
145 * Grab screenshot for animation purpose |
|
146 * e.g. editor's send effect animation |
|
147 * @return QGraphicsPixmapItem, item on which animation will run |
|
148 */ |
|
149 QGraphicsPixmapItem *screenShot(); |
|
150 |
|
151 /** |
|
152 * find and return animation file for an effect |
|
153 * @param effectEvent, effect for which file definition needs to be found |
|
154 * @return QString, animation definition file path |
|
155 */ |
|
156 QString getAnimationFile(QString effectEvent); |
|
157 |
126 private slots: |
158 private slots: |
127 /** |
159 /** |
128 * This slot is called on mainwindows back action. |
160 * This slot is called on mainwindows back action. |
129 */ |
161 */ |
130 void onBackAction(); |
162 void onBackAction(); |
144 /** |
176 /** |
145 * This slot is called save tone dialog launched. |
177 * This slot is called save tone dialog launched. |
146 * @param action selected action (yes or no) |
178 * @param action selected action (yes or no) |
147 */ |
179 */ |
148 void onDialogSaveTone(HbAction* action); |
180 void onDialogSaveTone(HbAction* action); |
149 |
181 |
|
182 /** |
|
183 * Handle a custom effect animation complete signal |
|
184 * e.g. editor's send effect complete |
|
185 * @param status, status information of the effect that has finished |
|
186 */ |
|
187 void onAnimationComplete(const HbEffect::EffectStatus &status); |
|
188 |
150 private: |
189 private: |
151 /** |
190 /** |
152 * Main window pointer. |
191 * Main window pointer. |
153 * Not owned. |
192 * Not owned. |
154 */ |
193 */ |