equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
42 |
42 |
43 /** |
43 /** |
44 * C++ destructor |
44 * C++ destructor |
45 */ |
45 */ |
46 ~CESMRViewerSyncField(); |
46 ~CESMRViewerSyncField(); |
47 |
47 |
48 public: // From CESMRField |
48 public: // From CESMRField |
49 void InternalizeL( MESMRCalEntry& aEntry ); |
49 void InternalizeL( MESMRCalEntry& aEntry ); |
50 void InitializeL(); |
50 void InitializeL(); |
51 void SetOutlineFocusL( TBool aFocus ); |
51 void SetOutlineFocusL( TBool aFocus ); |
52 |
52 void LockL(); |
|
53 TBool ExecuteGenericCommandL( TInt aCommand ); |
|
54 |
53 public: // From CCoeControl |
55 public: // From CCoeControl |
54 void SizeChanged(); |
56 void SizeChanged(); |
55 TInt CountComponentControls() const; |
57 TInt CountComponentControls() const; |
56 CCoeControl* ComponentControl( TInt aIndex ) const; |
58 CCoeControl* ComponentControl( TInt aIndex ) const; |
57 |
59 |
58 private: // Implementation |
60 private: // Implementation |
59 CESMRViewerSyncField(); |
61 CESMRViewerSyncField(); |
60 void ConstructL(); |
62 void ConstructL(); |
61 |
63 |
62 private: |
64 private: |
63 // Owned: Field icon |
65 // Owned: Field icon |
64 CMRImage* iIcon; |
66 CMRImage* iIcon; |
65 // Owned: Field text label |
67 /// Own: lock icon |
|
68 CMRImage* iLockIcon; |
|
69 // Not own: Field text label |
66 CMRLabel* iLabel; |
70 CMRLabel* iLabel; |
67 }; |
71 }; |
68 |
72 |
69 #endif //__CESMRVIEWERSYNCFIELD_H__ |
73 #endif //__CESMRVIEWERSYNCFIELD_H__ |