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". |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: ESMR viewer alarm field for CESMRListComponent |
14 * Description: ESMR viewer alarm field. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #ifndef __CESMRVIEWERALARMFIELD_H__ |
19 #ifndef __CESMRVIEWERALARMFIELD_H__ |
45 |
45 |
46 public: // From CESMRField |
46 public: // From CESMRField |
47 void InternalizeL( MESMRCalEntry& aEntry ); |
47 void InternalizeL( MESMRCalEntry& aEntry ); |
48 void InitializeL(); |
48 void InitializeL(); |
49 void SetOutlineFocusL( TBool aFocus ); |
49 void SetOutlineFocusL( TBool aFocus ); |
50 |
50 void LockL(); |
|
51 TBool ExecuteGenericCommandL( TInt aCommand ); |
|
52 |
51 public: // From CCoeControl |
53 public: // From CCoeControl |
52 void SizeChanged(); |
54 void SizeChanged(); |
53 TInt CountComponentControls() const; |
55 TInt CountComponentControls() const; |
54 CCoeControl* ComponentControl( TInt aIndex ) const; |
56 CCoeControl* ComponentControl( TInt aIndex ) const; |
55 |
57 |
56 private: // Implementation |
58 private: // Implementation |
57 CESMRViewerAlarmField(); |
59 CESMRViewerAlarmField(); |
58 void ConstructL(); |
60 void ConstructL(); |
59 |
61 |
60 private: // members |
62 private: // members |
61 // Owned: Field icon |
63 // Owned: Field icon |
62 CMRImage* iIcon; |
64 CMRImage* iIcon; |
63 // Owned: Field text label |
65 // Not own: Field text label |
64 CMRLabel* iLabel; |
66 CMRLabel* iLabel; |
65 |
67 // Own: lock icon |
|
68 CMRImage* iLockIcon; |
66 }; |
69 }; |
67 |
70 |
68 |
71 |
69 #endif // __CESMRVIEWERALARMFIELD_H__ |
72 #endif // __CESMRVIEWERALARMFIELD_H__ |