classicui_pub/buttons_api/inc/eikcba.h
branchRCL_3
changeset 23 3d340a0166ff
parent 0 2f259fa3e83a
child 25 941195f2d488
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
     1 /*
     1 /*
     2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 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".
   948      * @param aVisibleCollection ETrue if state should be updated according
   948      * @param aVisibleCollection ETrue if state should be updated according
   949      * to visible collection.
   949      * to visible collection.
   950      */
   950      */
   951     void UpdateItemSpecificSoftkey( TBool aVisibleCollection = ETrue );
   951     void UpdateItemSpecificSoftkey( TBool aVisibleCollection = ETrue );
   952 
   952 
       
   953     /**
       
   954      * Updates RSK when multiple marking is activated or deactivated.
       
   955      */
       
   956     void UpdateMultipleMarkingSoftkey();
       
   957     
       
   958     /**
       
   959      * Checks wheter softkey command change is allowed.
       
   960      * 
       
   961      * @return ETrue if softkey command change is allowed.
       
   962      */    
       
   963     TBool CommandChangeAllowed();
   953 
   964 
   954 private: // new methods
   965 private: // new methods
   955 
   966 
   956     CEikCba(
   967     CEikCba(
   957         const CEikCba* aPrevious, 
   968         const CEikCba* aPrevious, 
  1005     /**
  1016     /**
  1006      * Broadcasts transparency information
  1017      * Broadcasts transparency information
  1007      * to CEikCbaButtons.
  1018      * to CEikCbaButtons.
  1008      */
  1019      */
  1009     void BroadcastPostingTransparency( TBool aEnable );
  1020     void BroadcastPostingTransparency( TBool aEnable );
  1010 
       
  1011     /**
       
  1012     * Sets the CBA fading according to button content.
       
  1013     */
       
  1014     void SetFadeState();
       
  1015     
  1021     
  1016     /**
  1022     /**
  1017      * A better version of AddCommandToStackL
  1023      * A better version of AddCommandToStackL
  1018      * Pushes a command button with text and a command ID onto a position's button stack.
  1024      * Pushes a command button with text and a command ID onto a position's button stack.
  1019      * SizeChanged() is not called, so it need to be done after that.
  1025      * SizeChanged() is not called, so it need to be done after that.