equal
deleted
inserted
replaced
97 // |
97 // |
98 void CESMRViewerTimeField::ConstructL() |
98 void CESMRViewerTimeField::ConstructL() |
99 { |
99 { |
100 FUNC_LOG; |
100 FUNC_LOG; |
101 |
101 |
102 iLabel = CMRLabel::NewL(); |
102 iLabel = CMRLabel::NewL( this ); |
103 iLabel->SetParent( this ); |
|
104 CESMRField::ConstructL( iLabel ); // ownership transfered |
103 CESMRField::ConstructL( iLabel ); // ownership transfered |
105 |
104 |
106 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapClock ); |
105 iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapClock, this ); |
107 iIcon->SetParent( this ); |
|
108 } |
106 } |
109 |
107 |
110 // --------------------------------------------------------------------------- |
108 // --------------------------------------------------------------------------- |
111 // CESMRViewerTimeField::InternalizeL() |
109 // CESMRViewerTimeField::InternalizeL() |
112 // --------------------------------------------------------------------------- |
110 // --------------------------------------------------------------------------- |
301 |
299 |
302 CESMRField::LockL(); |
300 CESMRField::LockL(); |
303 |
301 |
304 delete iLockIcon; |
302 delete iLockIcon; |
305 iLockIcon = NULL; |
303 iLockIcon = NULL; |
306 iLockIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapLockField, ETrue ); |
304 iLockIcon = CMRImage::NewL( |
307 iLockIcon->SetParent( this ); |
305 NMRBitmapManager::EMRBitmapLockField, |
|
306 this, |
|
307 ETrue ); |
308 } |
308 } |
309 |
309 |
310 // --------------------------------------------------------------------------- |
310 // --------------------------------------------------------------------------- |
311 // CESMRViewerTimeField::FormatTimeFieldStringL() |
311 // CESMRViewerTimeField::FormatTimeFieldStringL() |
312 // --------------------------------------------------------------------------- |
312 // --------------------------------------------------------------------------- |