meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrvieweralarmtimefield.cpp
branchRCL_3
changeset 22 d620048b4810
parent 18 6b8f3b30d0ec
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
    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 // ---------------------------------------------------------------------------