meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrvieweralarmfield.cpp
branchRCL_3
changeset 22 d620048b4810
parent 18 6b8f3b30d0ec
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
    84 // ---------------------------------------------------------------------------
    84 // ---------------------------------------------------------------------------
    85 //
    85 //
    86 void CESMRViewerAlarmField::ConstructL()
    86 void CESMRViewerAlarmField::ConstructL()
    87     {
    87     {
    88     FUNC_LOG;
    88     FUNC_LOG;
    89     iLabel = CMRLabel::NewL();
    89     iLabel = CMRLabel::NewL( this );
    90     iLabel->SetParent( this );
       
    91     CESMRField::ConstructL( iLabel ); // ownership transfered
    90     CESMRField::ConstructL( iLabel ); // ownership transfered
    92 
    91 
    93     iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapAlarm );
    92     iIcon = CMRImage::NewL(
    94     iIcon->SetParent( this );
    93             NMRBitmapManager::EMRBitmapAlarm,
       
    94             this );
    95     }
    95     }
    96 
    96 
    97 // ---------------------------------------------------------------------------
    97 // ---------------------------------------------------------------------------
    98 // CESMRViewerAlarmField::InternalizeL()
    98 // CESMRViewerAlarmField::InternalizeL()
    99 // ---------------------------------------------------------------------------
    99 // ---------------------------------------------------------------------------
   300 
   300 
   301 	CESMRField::LockL();
   301 	CESMRField::LockL();
   302 
   302 
   303 	delete iLockIcon;
   303 	delete iLockIcon;
   304 	iLockIcon = NULL;
   304 	iLockIcon = NULL;
   305 	iLockIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapLockField, ETrue );
   305 	iLockIcon = CMRImage::NewL(
   306 	iLockIcon->SetParent( this );
   306 	        NMRBitmapManager::EMRBitmapLockField,
       
   307 	        this,
       
   308 	        ETrue );
   307 	}
   309 	}
   308 
   310 
   309 // ---------------------------------------------------------------------------
   311 // ---------------------------------------------------------------------------
   310 // CESMRViewerAlarmField::ExecuteGenericCommandL()
   312 // CESMRViewerAlarmField::ExecuteGenericCommandL()
   311 // ---------------------------------------------------------------------------
   313 // ---------------------------------------------------------------------------