calendarui/views/inc/calendayviewwidget.h
changeset 49 5de72ea7a065
parent 26 a949c2543c15
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
    19 #define CALENDAYVIEWWIDGET_H
    19 #define CALENDAYVIEWWIDGET_H
    20 
    20 
    21 // System includes
    21 // System includes
    22 #include <QGraphicsLinearLayout>
    22 #include <QGraphicsLinearLayout>
    23 #include <QDateTime>
    23 #include <QDateTime>
       
    24 #include <QPointer>
    24 #include <hbwidget.h>
    25 #include <hbwidget.h>
    25 
    26 
    26 // User includes
    27 // User includes
    27  
    28  
    28 // Forward declarations
    29 // Forward declarations
    29 class QStandardItemModel;
    30 class QStandardItemModel;
    30 class QGraphicsSceneMouseEvent; // TODO: Remove this after gestures are supported
    31 class QGraphicsSceneMouseEvent; // TODO: Remove this after gestures are supported
    31 class HbAbstractViewItem;
    32 class HbAbstractViewItem;
    32 class HbGroupBox;
    33 class HbGroupBox;
    33 class HbListView;
    34 class HbListView;
       
    35 class QPluginLoader;
    34 class HbLabel;
    36 class HbLabel;
    35 class HbAction;
    37 class HbAction;
    36 class HbDateTimePicker;
    38 class HbDateTimePicker;
    37 class XQSettingsManager;
    39 class XQSettingsManager;
    38 class MCalenServices;
    40 class MCalenServices;
   307 	 * index of the item on which user is performing some action
   309 	 * index of the item on which user is performing some action
   308 	 */
   310 	 */
   309 	int mSelectedIndex;
   311 	int mSelectedIndex;
   310 	
   312 	
   311 	/**
   313 	/**
   312 	 * @var NotesEditor
   314 	 * @var NotesEditorPluginLoader
   313 	 * @brief Pointer to the notes editor
   315 	 * @brief Pointer to the notes editor plugin loader
   314 	 */
   316 	 */
   315 	NotesEditor *mNotesEditor;
   317 	QPointer<QPluginLoader> mNotesEditorPluginLoader;
   316 	
   318 
   317 	/**
   319 	/**
   318 	 * @var mDatePicker
   320 	 * @var mDatePicker
   319 	 * @brief The date picker component
   321 	 * @brief The date picker component
   320 	 */
   322 	 */
   321 	HbDateTimePicker *mDatePicker;
   323 	HbDateTimePicker *mDatePicker;
   342 	/**
   344 	/**
   343 	 * @var mLongTapeventFlag
   345 	 * @var mLongTapeventFlag
   344 	 * @brief Set flag true if contextmenu is opened
   346 	 * @brief Set flag true if contextmenu is opened
   345 	 */
   347 	 */
   346 	bool mLongTapEventFlag;
   348 	bool mLongTapEventFlag;
   347 	
   349 
       
   350 	/**
       
   351 	 * @var mNotesPluginLoaded
       
   352 	 * @brief Holds notes editor plugin load info.
       
   353 	 */
       
   354 	bool mNotesPluginLoaded;
       
   355 
   348 };
   356 };
   349 
   357 
   350 #endif //CALENDAYVIEWWIDGET_H
   358 #endif //CALENDAYVIEWWIDGET_H
   351 
   359 
   352 // End of file	--Don't remove this.
   360 // End of file	--Don't remove this.