meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrvieweralldayeventfield.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    40 
    40 
    41     /**
    41     /**
    42      * C++ Destructor.
    42      * C++ Destructor.
    43      */
    43      */
    44     ~CESMRViewerAllDayEventField();
    44     ~CESMRViewerAllDayEventField();
    45     
    45 
    46 public: // From CESMRField
    46 public: // From CESMRField
    47     void InternalizeL( MESMRCalEntry& aEntry );
    47     void InternalizeL( MESMRCalEntry& aEntry );
    48     void InitializeL();
    48     void InitializeL();
    49     void SetOutlineFocusL( TBool aFocus );
    49     void SetOutlineFocusL( TBool aFocus );
       
    50     void LockL();
       
    51     TBool ExecuteGenericCommandL( TInt aCommand );
       
    52     
    50 
    53 
    51 public: // From CCoeControl
    54 public: // From CCoeControl
    52     void SizeChanged();
    55     void SizeChanged();
    53     TInt CountComponentControls() const;
    56     TInt CountComponentControls() const;
    54     CCoeControl* ComponentControl( TInt aIndex ) const;
    57     CCoeControl* ComponentControl( TInt aIndex ) const;
    55     
    58 
    56 private: // Implementation
    59 private: // Implementation
    57     CESMRViewerAllDayEventField();
    60     CESMRViewerAllDayEventField();
    58     void ConstructL();
    61     void ConstructL();
    59 
    62 
    60 private:
    63 private:
    61     // Owned: Field icon
    64     // Owned: Field icon
    62     CMRImage* iIcon;
    65     CMRImage* iIcon;
    63     // Owned: Field text label
    66     /// Owned: Lock icon
       
    67     CMRImage* iLockIcon;
       
    68     // Not own: Field text label
    64     CMRLabel* iLabel;
    69     CMRLabel* iLabel;
    65     };
    70     };
    66 
    71 
    67 #endif //__CESMRVIEWERALLDAYEVENTFIELD_H__
    72 #endif //__CESMRVIEWERALLDAYEVENTFIELD_H__