160 |
160 |
161 #ifdef RD_SCALABLE_UI_V2 |
161 #ifdef RD_SCALABLE_UI_V2 |
162 protected: |
162 protected: |
163 // From MEikDialogPageObserver |
163 // From MEikDialogPageObserver |
164 void HandleDialogPageEventL(TInt aEventID); |
164 void HandleDialogPageEventL(TInt aEventID); |
165 void HandlePointerEventL(const TPointerEvent& aPointerEvent); |
|
166 |
|
167 #endif //RD_SCALABLE_UI_V2 |
165 #endif //RD_SCALABLE_UI_V2 |
|
166 |
168 //from MEikDialogPageObserver |
167 //from MEikDialogPageObserver |
169 void LineChangedL(TInt aControlId); |
168 void LineChangedL(TInt aControlId); |
170 |
169 |
171 protected: |
170 protected: |
172 // from CAknForm |
171 // from CAknForm |
204 /** |
203 /** |
205 * By default Symbian 2nd phase constructor is private. |
204 * By default Symbian 2nd phase constructor is private. |
206 * @param aLandmark, Null if create new |
205 * @param aLandmark, Null if create new |
207 * @param aAttributes |
206 * @param aAttributes |
208 */ |
207 */ |
209 void |
208 void ConstructL(CPosLandmark* aLandmark, |
210 ConstructL(CPosLandmark* aLandmark, |
209 TLmkEditorAttributes aAttributes); |
211 TLmkEditorAttributes aAttributes); |
|
212 |
210 |
213 /** |
211 /** |
214 * By default Symbian 2nd phase constructor is private. |
212 * By default Symbian 2nd phase constructor is private. |
215 * @param aLandmarkId, negative if create new |
213 * @param aLandmarkId, negative if create new |
216 * @param aAttiributes |
214 * @param aAttiributes |
290 CPosLandmark* aLandmark, MLmkFieldData* fieldData); |
292 CPosLandmark* aLandmark, MLmkFieldData* fieldData); |
291 void UpdateDesEditorControlL(MLmkEditorField* aEditorField, |
293 void UpdateDesEditorControlL(MLmkEditorField* aEditorField, |
292 CPosLandmark* aLandmark, MLmkFieldData* fieldData, |
294 CPosLandmark* aLandmark, MLmkFieldData* fieldData, |
293 TInt aPrevControlId, TInt aPos); |
295 TInt aPrevControlId, TInt aPos); |
294 |
296 |
295 //Pops up info popup after 1 sec. |
|
296 //void ShowMultipleCategoriesInfoPopupL(TBool aRefresh); |
|
297 |
|
298 TBool ShowQueryIfLocationFieldsAlreadyFilledL(); |
297 TBool ShowQueryIfLocationFieldsAlreadyFilledL(); |
299 |
298 |
300 TBool ValidateContentL(); |
299 TBool ValidateContentL(); |
301 |
300 |
302 void DoNotSaveDataL(const TUint16 aFieldType); |
301 void DoNotSaveDataL(const TUint16 aFieldType); |
392 TInt iResourceOffset; |
391 TInt iResourceOffset; |
393 |
392 |
394 /// Own: landmark UI utils |
393 /// Own: landmark UI utils |
395 CLmkUiUtils* iLmkUiUtils; |
394 CLmkUiUtils* iLmkUiUtils; |
396 |
395 |
397 ///Own: |
396 /// Own: |
398 CLmkFields* iLmkFields; |
397 CLmkFields* iLmkFields; |
399 |
398 |
400 ///Own: |
399 /// Own: |
401 RPointerArray<HBufC> iLabelArray; |
400 RPointerArray<HBufC> iLabelArray; |
402 |
401 |
403 ///Own: |
402 /// Own: |
404 CLmkEditorFieldArray* iEditorFieldArray; |
403 CLmkEditorFieldArray* iEditorFieldArray; |
405 |
404 |
406 TLmkEditorMode iEditorMode; |
405 TLmkEditorMode iEditorMode; |
407 |
406 |
408 ///Own: |
407 ///Own: |
428 TBool iMapNavFeature; |
427 TBool iMapNavFeature; |
429 // Current Input language. (Used for Japanese) |
428 // Current Input language. (Used for Japanese) |
430 TBool iJapaneseInputMode; |
429 TBool iJapaneseInputMode; |
431 CPosLandmark* iLandmark; |
430 CPosLandmark* iLandmark; |
432 |
431 |
433 //Own: Pointer to map and navigation interface |
432 // Own: Pointer to map and navigation interface |
434 CLmkMapNavigationInterface* iMapNavInterface; |
433 CLmkMapNavigationInterface* iMapNavInterface; |
435 // Flag which indicates receive state of landmark editor dialog |
434 // Flag which indicates receive state of landmark editor dialog |
436 // Set to true for receive mode |
435 // Set to true for receive mode |
437 TBool iIsLmkReceiveMode; |
436 TBool iIsLmkReceiveMode; |
438 TLmkAppCmdId iMskCmdId; |
437 TLmkAppCmdId iMskCmdId; |
439 TInt iCurrentResourceId; |
438 TInt iCurrentResourceId; |
440 |
439 |
441 //It will be ETrue when coordinates has to be hidden. |
440 // It will be ETrue when coordinates has to be hidden. |
442 TBool iIsHideCoordinate; |
441 TBool iIsHideCoordinate; |
443 |
442 |
444 //It will be ETrue when help has to be hidden. |
443 // It will be ETrue when help has to be hidden. |
445 TBool iIsHideHelp; |
444 TBool iIsHideHelp; |
446 |
445 |
447 // To Handle Drag Pointer Event |
|
448 TBool iIsDragging; |
|
449 |
|
450 private: |
446 private: |
451 //added data members |
447 // added data members |
452 //holds the field type of the current focussed item in the dialog |
448 // holds the field type of the current focussed item in the dialog |
453 TUint iFieldTypeToFocus; |
449 TUint iFieldTypeToFocus; |
454 //Set true when editor dialog is launched from view dialog. |
450 // Set true when editor dialog is launched from view dialog. |
455 TBool iIsEditing; |
451 TBool iIsEditing; |
456 |
452 |
457 TBool iBackspaceStartForWebAddressField; |
453 TBool iBackspaceStartForWebAddressField; |
458 |
454 |
459 TBool iResetWebAddrSize; |
455 TBool iResetWebAddrSize; |
|
456 |
460 CAknInfoPopupNoteController* iCatInfoPopupNote; |
457 CAknInfoPopupNoteController* iCatInfoPopupNote; |
461 |
458 // Own: |
|
459 CLmkListProviderBase* iListProvider; |
|
460 |
462 CLmkEditorImpl* iEditor; |
461 CLmkEditorImpl* iEditor; |
463 |
462 |
464 CLmkCentralRepository* iRepository; |
463 CLmkCentralRepository* iRepository; |
465 |
464 |
466 /** |
465 /** |
467 * Wait dialog launcher |
466 * Wait dialog launcher |
468 * Owns |
467 * Owns |
469 */ |
468 */ |
470 CLmkWaitDialogLauncher* iWaitDialogLauncher; |
469 CLmkWaitDialogLauncher* iWaitDialogLauncher; |
|
470 |
471 TBool iIsEndKey; |
471 TBool iIsEndKey; |
|
472 |
472 TBool iIsEditableField; |
473 TBool iIsEditableField; |
473 |
474 |
474 // To check the ownership of iLandmark |
475 // To check the ownership of iLandmark |
475 TBool iIsLmOwned; |
476 TBool iIsLmOwned; |
476 |
|
477 // To Check category selector launched or not |
477 // To Check category selector launched or not |
478 TBool iIsCategorySelctorOpen; |
478 TBool iIsCategorySelctorOpen; |
479 }; |
479 }; |
480 #endif // CLMKEDITORIMPL_H |
480 #endif // CLMKEDITORIMPL_H |
481 |
481 |