calendarui/views/inc/calenpluginlabel.h
changeset 51 0b38fc5b94c6
parent 45 b6db4fd4947b
equal deleted inserted replaced
46:ecd7b9840282 51:0b38fc5b94c6
    16 */
    16 */
    17 
    17 
    18 #ifndef CALENPLUGINLABEL_H
    18 #ifndef CALENPLUGINLABEL_H
    19 #define CALENPLUGINLABEL_H
    19 #define CALENPLUGINLABEL_H
    20 
    20 
       
    21 #ifdef  CALENVIEWS_DLL
       
    22 #define CALENPLUGINLABEL_EXPORT Q_DECL_EXPORT
       
    23 #else
       
    24 #define CALENPLUGINLABEL_EXPORT Q_DECL_IMPORT
       
    25 #endif
       
    26 
    21 // System includes
    27 // System includes
    22 #include <hblabel.h>
    28 #include <hblabel.h>
    23 
    29 
    24 class MCalenServices;
    30 class MCalenServices;
    25 class CalenPluginLabel : public HbLabel
    31 class CalenPluginLabel : public HbLabel
    26 {
    32 {
    27 	Q_OBJECT
    33 	Q_OBJECT
    28 
    34 
    29 public:
    35 public:
    30 	IMPORT_C CalenPluginLabel(MCalenServices &services, QGraphicsItem *parent = 0);
    36 	CALENPLUGINLABEL_EXPORT CalenPluginLabel(MCalenServices &services, QGraphicsItem *parent = 0);
    31 	IMPORT_C ~CalenPluginLabel();
    37 	CALENPLUGINLABEL_EXPORT ~CalenPluginLabel();
    32 
    38 
    33 protected:
    39 protected:
    34 	void gestureEvent(QGestureEvent *event);
    40 	void gestureEvent(QGestureEvent *event);
    35 
    41 
    36 	
    42