equal
deleted
inserted
replaced
85 // ----------------------------------------------------------------------------- |
85 // ----------------------------------------------------------------------------- |
86 // |
86 // |
87 void CESMRViewerRecurrenceField::ConstructL() |
87 void CESMRViewerRecurrenceField::ConstructL() |
88 { |
88 { |
89 FUNC_LOG; |
89 FUNC_LOG; |
90 iLabel = CMRLabel::NewL(); |
90 iLabel = CMRLabel::NewL( this ); |
91 iLabel->SetParent( this ); |
|
92 CESMRField::ConstructL( iLabel ); // ownership transfered |
91 CESMRField::ConstructL( iLabel ); // ownership transfered |
93 |
92 |
94 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapRecurrence ); |
93 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapRecurrence, this ); |
95 iIcon->SetParent( this ); |
|
96 } |
94 } |
97 |
95 |
98 // ----------------------------------------------------------------------------- |
96 // ----------------------------------------------------------------------------- |
99 // CESMRViewerRecurrenceField::InitializeL() |
97 // CESMRViewerRecurrenceField::InitializeL() |
100 // ----------------------------------------------------------------------------- |
98 // ----------------------------------------------------------------------------- |
289 |
287 |
290 CESMRField::LockL(); |
288 CESMRField::LockL(); |
291 |
289 |
292 delete iLockIcon; |
290 delete iLockIcon; |
293 iLockIcon = NULL; |
291 iLockIcon = NULL; |
294 iLockIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapLockField, ETrue ); |
292 iLockIcon = CMRImage::NewL( |
295 iLockIcon->SetParent( this ); |
293 NMRBitmapManager::EMRBitmapLockField, |
|
294 this, |
|
295 ETrue ); |
296 } |
296 } |
297 |
297 |
298 // --------------------------------------------------------------------------- |
298 // --------------------------------------------------------------------------- |
299 // CESMRViewerRecurrenceField::ExecuteGenericCommandL() |
299 // CESMRViewerRecurrenceField::ExecuteGenericCommandL() |
300 // --------------------------------------------------------------------------- |
300 // --------------------------------------------------------------------------- |