meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrviewerstopdatefield.cpp
branchRCL_3
changeset 22 d620048b4810
parent 18 6b8f3b30d0ec
equal deleted inserted replaced
20:efd4f1afd43e 22:d620048b4810
    90 // CESMRViewerStopDateField::ConstructL()
    90 // CESMRViewerStopDateField::ConstructL()
    91 // -----------------------------------------------------------------------------
    91 // -----------------------------------------------------------------------------
    92 //
    92 //
    93 void CESMRViewerStopDateField::ConstructL()
    93 void CESMRViewerStopDateField::ConstructL()
    94     {
    94     {
    95     iLabel = CMRLabel::NewL();
    95     iLabel = CMRLabel::NewL( this );
    96     iLabel->SetParent( this );
       
    97     CESMRField::ConstructL( iLabel ); // ownership transfered
    96     CESMRField::ConstructL( iLabel ); // ownership transfered
    98 
    97 
    99     iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapDateEnd );
    98     iIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapDateEnd, this );
   100     iIcon->SetParent( this );
       
   101     }
    99     }
   102 
   100 
   103 // ---------------------------------------------------------------------------
   101 // ---------------------------------------------------------------------------
   104 // CESMRViewerStartDateField::InitializeL()
   102 // CESMRViewerStartDateField::InitializeL()
   105 // ---------------------------------------------------------------------------
   103 // ---------------------------------------------------------------------------
   289 
   287 
   290 	CESMRField::LockL();
   288 	CESMRField::LockL();
   291 
   289 
   292 	delete iLockIcon;
   290 	delete iLockIcon;
   293 	iLockIcon = NULL;
   291 	iLockIcon = NULL;
   294 	iLockIcon = CMRImage::NewL( NMRBitmapManager::EMRBitmapLockField, ETrue );
   292 	iLockIcon = CMRImage::NewL(
   295 	iLockIcon->SetParent( this );
   293 	        NMRBitmapManager::EMRBitmapLockField,
       
   294 	        this,
       
   295 	        ETrue );
   296 	}
   296 	}
   297 
   297 
   298 // ---------------------------------------------------------------------------
   298 // ---------------------------------------------------------------------------
   299 // CESMRViewerStopDateField::FormatDateStringL()
   299 // CESMRViewerStopDateField::FormatDateStringL()
   300 // ---------------------------------------------------------------------------
   300 // ---------------------------------------------------------------------------