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