equal
deleted
inserted
replaced
77 // --------------------------------------------------------------------------- |
77 // --------------------------------------------------------------------------- |
78 // |
78 // |
79 void CESMRViewerAllDayEventField::ConstructL() |
79 void CESMRViewerAllDayEventField::ConstructL() |
80 { |
80 { |
81 FUNC_LOG; |
81 FUNC_LOG; |
82 iLabel = CMRLabel::NewL(); |
82 iLabel = CMRLabel::NewL( this ); |
83 iLabel->SetParent( this ); |
|
84 CESMRField::ConstructL( iLabel ); // ownership transfered |
83 CESMRField::ConstructL( iLabel ); // ownership transfered |
85 |
84 |
86 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapCheckBoxOn ); |
85 iIcon = CMRImage::NewL( |
87 iIcon->SetParent( this ); |
86 NMRBitmapManager::EMRBitmapCheckBoxOn, |
|
87 this ); |
88 } |
88 } |
89 |
89 |
90 // --------------------------------------------------------------------------- |
90 // --------------------------------------------------------------------------- |
91 // CESMRViewerAllDayEventField::InternalizeL() |
91 // CESMRViewerAllDayEventField::InternalizeL() |
92 // --------------------------------------------------------------------------- |
92 // --------------------------------------------------------------------------- |
230 |
230 |
231 CESMRField::LockL(); |
231 CESMRField::LockL(); |
232 |
232 |
233 delete iLockIcon; |
233 delete iLockIcon; |
234 iLockIcon = NULL; |
234 iLockIcon = NULL; |
235 iLockIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapLockField, ETrue ); |
235 iLockIcon = CMRImage::NewL( |
236 iLockIcon->SetParent( this ); |
236 NMRBitmapManager::EMRBitmapLockField, |
|
237 this, |
|
238 ETrue ); |
237 } |
239 } |
238 |
240 |
239 // --------------------------------------------------------------------------- |
241 // --------------------------------------------------------------------------- |
240 // CESMRViewerStartDateField::ExecuteGenericCommandL() |
242 // CESMRViewerStartDateField::ExecuteGenericCommandL() |
241 // --------------------------------------------------------------------------- |
243 // --------------------------------------------------------------------------- |