calendarui/views/inc/calenmissedeventcontainer.h
branchRCL_3
changeset 36 9c5b1510919f
parent 0 f979ecb2b13e
child 67 1539a383d7b6
equal deleted inserted replaced
30:d68a4b5d5885 36:9c5b1510919f
   188     /**
   188     /**
   189      * Restore a todo entry
   189      * Restore a todo entry
   190      */
   190      */
   191     void OnCmdRestoreTaskL();
   191     void OnCmdRestoreTaskL();
   192     /**
   192     /**
   193      * Get item finder
       
   194      */
       
   195     CItemFinder* GetItemFinder();
       
   196     /**
       
   197      * Get find item menu
   193      * Get find item menu
   198      */
   194      */
   199     CFindItemMenu* GetFindItemMenu();
   195     CFindItemMenu* GetFindItemMenu();
   200     
   196     
   201     /**
   197     /**
   205     
   201     
   206     /**
   202     /**
   207      * Returns ETrue if event has location text else EFalse
   203      * Returns ETrue if event has location text else EFalse
   208      */
   204      */
   209     TBool IsEventHasNoLocationTextL();
   205     TBool IsEventHasNoLocationTextL();
   210   
   206     
       
   207     /**
       
   208      * Find a phone number in the form
       
   209      */
       
   210     void OnCmdFindPhoneNumL();
       
   211     
       
   212     /**
       
   213      * Find an email address in the form
       
   214      */
       
   215     void OnCmdFindEmailL();
       
   216     
       
   217     /**
       
   218      * Find a URL in the form
       
   219      */
       
   220     void OnCmdFindUrlL();
       
   221     
   211     
   222     
   212  private:
   223  private:
   213  	
   224  	
   214  	/**
   225  	/**
   215  	 * Set the layout data for LAF
   226  	 * Set the layout data for LAF
   404      * viewer/editor.
   415      * viewer/editor.
   405      */
   416      */
   406     RPointerArray<CCalEntry>& AllInstancesL();
   417     RPointerArray<CCalEntry>& AllInstancesL();
   407 private: //Auto highlight methods
   418 private: //Auto highlight methods
   408 
   419 
   409     /**
   420    
   410     * Reads the shared data value used to initialize automatic highlighting
       
   411     * @return TBool, ETrue if automatic highlighting is to be used
       
   412     */
       
   413     void ReadAutoHlCenRepValueAndSetNotifyL();
       
   414     
       
   415     /**
       
   416     * From MCenRepNotifyHandlerCallback
       
   417     * Handles the incoming notifications of key changes
       
   418     * @since Series60 3.0
       
   419     * @param aId, Key that has changed
       
   420     * @param aNewValue, New value of the key    
       
   421     */
       
   422     void HandleNotifyInt( TUint32 aId, TInt aNewValue );
       
   423 
   421 
   424     /**
   422     /**
   425     * From MCenRepNotifyHandlerCallback
   423     * From MCenRepNotifyHandlerCallback
   426     * Handles the notifier errors
   424     * Handles the notifier errors
   427     * @since Series60 3.0
   425     * @since Series60 3.0
   428     * @param aId, Key that has changed
   426     * @param aId, Key that has changed
   429     * @param aNewValue, New value of the key    
   427     * @param aNewValue, New value of the key    
   430     */
   428     */
   431     void HandleNotifyError( TUint32 aId,TInt aError,CCenRepNotifyHandler* aHandler );
   429     void HandleNotifyError( TUint32 aId,TInt aError,CCenRepNotifyHandler* aHandler );
   432     
   430     
   433 	/**
       
   434 	* Set the state of automatic highlighting
       
   435 	* @param aSwitchON, ETrue if automatic highlighting is to used, otherwise EFalse
       
   436 	*/
       
   437     void SetAutomaticHighlightL( const TBool aSwitchON );
       
   438     
       
   439     /**
       
   440 	* This method is used when phone number is 
       
   441 	* found and pressing phone key would make call
       
   442 	*/
       
   443     void HandleNumberCallL();
       
   444 
   431 
   445 public:
   432 public:
   446     
   433     
   447     /**
   434     /**
   448      * From MEikScrollBarObserver: to Handle scrollbar events
   435      * From MEikScrollBarObserver: to Handle scrollbar events
   488      
   475      
   489 private:
   476 private:
   490      CRepository* iCenRepSession; // Central Repository session
   477      CRepository* iCenRepSession; // Central Repository session
   491      // Notifier to listen changes of offline state
   478      // Notifier to listen changes of offline state
   492      CCenRepNotifyHandler* iNotifier;
   479      CCenRepNotifyHandler* iNotifier;
   493      TBool iAutomaticHlValue;
       
   494      TBool iAutomaticHlInitialized;   
       
   495      CItemFinder*  iAutoFinder; // text finder 
       
   496      CFindItemMenu* iFindMenu;  
   480      CFindItemMenu* iFindMenu;  
   497     
   481     
   498 	};
   482 	};
   499 
   483 
   500 #endif // CALENMISSEDEVENTCONTAINER_H
   484 #endif // CALENMISSEDEVENTCONTAINER_H