equal
deleted
inserted
replaced
78 // --------------------------------------------------------------------------- |
78 // --------------------------------------------------------------------------- |
79 // |
79 // |
80 void CESMRViewerAlarmDateField::ConstructL() |
80 void CESMRViewerAlarmDateField::ConstructL() |
81 { |
81 { |
82 FUNC_LOG; |
82 FUNC_LOG; |
83 iLabel = CMRLabel::NewL(); |
83 iLabel = CMRLabel::NewL( this ); |
84 iLabel->SetParent( this ); |
|
85 CESMRField::ConstructL( iLabel ); // ownership transfered |
84 CESMRField::ConstructL( iLabel ); // ownership transfered |
86 |
85 |
87 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapDateStart ); |
86 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapDateStart, this ); |
88 iIcon->SetParent( this ); |
|
89 } |
87 } |
90 |
88 |
91 // --------------------------------------------------------------------------- |
89 // --------------------------------------------------------------------------- |
92 // CESMRViewerAlarmDateField::InternalizeL() |
90 // CESMRViewerAlarmDateField::InternalizeL() |
93 // --------------------------------------------------------------------------- |
91 // --------------------------------------------------------------------------- |
256 |
254 |
257 CESMRField::LockL(); |
255 CESMRField::LockL(); |
258 |
256 |
259 delete iLockIcon; |
257 delete iLockIcon; |
260 iLockIcon = NULL; |
258 iLockIcon = NULL; |
261 iLockIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapLockField, ETrue ); |
259 iLockIcon = CMRImage::NewL( |
262 iLockIcon->SetParent( this ); |
260 NMRBitmapManager::EMRBitmapLockField, |
|
261 this, |
|
262 ETrue ); |
263 } |
263 } |
264 |
264 |
265 // --------------------------------------------------------------------------- |
265 // --------------------------------------------------------------------------- |
266 // CESMRViewerAlarmDateField::FormatAlarmTimeL() |
266 // CESMRViewerAlarmDateField::FormatAlarmTimeL() |
267 // --------------------------------------------------------------------------- |
267 // --------------------------------------------------------------------------- |