calendarui/views/inc/calennativeview.h
changeset 50 579cc610882e
parent 49 5de72ea7a065
child 58 ef813d54df51
equal deleted inserted replaced
49:5de72ea7a065 50:579cc610882e
    53 		TBool pluginEnabled();
    53 		TBool pluginEnabled();
    54 		virtual void refreshViewOnGoToDate();
    54 		virtual void refreshViewOnGoToDate();
    55 		QString *pluginText();
    55 		QString *pluginText();
    56 	    /**
    56 	    /**
    57 	     * captureScreenshot captures the current screenshot
    57 	     * captureScreenshot captures the current screenshot
    58 	     * \param viewId of the view for which screenshot is to be taken
       
    59 	     */
    58 	     */
    60 		CALENNATIVEVIEW_EXPORT void captureScreenshot(bool captureScreenShot = false);
    59 		CALENNATIVEVIEW_EXPORT void captureScreenshot(bool captureScreenShot = false);
    61 		
    60 		
    62 	protected:  // New functions
    61 	protected:  // New functions
    63 	    CalenNativeView( MCalenServices& services );
    62 	    CalenNativeView( MCalenServices& services );
    74         void deleteAllEntries();
    73         void deleteAllEntries();
    75         void launchSettingsView();
    74         void launchSettingsView();
    76 	    virtual void changeOrientation(Qt::Orientation orientation);
    75 	    virtual void changeOrientation(Qt::Orientation orientation);
    77 	    /**
    76 	    /**
    78 	     * saveActivity saves the current view as an activity
    77 	     * saveActivity saves the current view as an activity
    79 	     * \params viewId view Id to be saved as an activity
       
    80 	     * 
    78 	     * 
    81 	     */
    79 	     */
    82 	    void saveActivity();
    80 	    void saveActivity();
    83 	    
    81 	    
    84     protected:
    82     protected:
    85     
    83     
    86         MCalenServices	&mServices; // not owned.
    84         MCalenServices	&mServices; // not owned.
    87         int             mActivityId; // Recent Activity ID, currently it holdes wither of ECalenMonthView or ECalenDayView
    85         int             mActivityId; // Recent Activity ID, currently it holdes wither of ECalenMonthView or ECalenAgendaView
    88         QVariantHash    mScreenShotMetadata; // Screenshot
    86         QVariantHash    mScreenShotMetadata; // Screenshot
    89     private:
    87     private:
    90         HbDateTimePicker	*mDatePicker;
    88         HbDateTimePicker	*mDatePicker;
    91         bool                mIsCapturedScreenShotValid; // to check if the captured screenshot is valid
    89         bool                mIsCapturedScreenShotValid; // to check if the captured screenshot is valid
    92 	};
    90 	};