diff -r ecd7b9840282 -r 0b38fc5b94c6 calendarui/views/inc/calenpluginlabel.h --- a/calendarui/views/inc/calenpluginlabel.h Fri Jul 02 19:56:46 2010 +0530 +++ b/calendarui/views/inc/calenpluginlabel.h Mon Jul 12 02:32:28 2010 +0530 @@ -18,6 +18,12 @@ #ifndef CALENPLUGINLABEL_H #define CALENPLUGINLABEL_H +#ifdef CALENVIEWS_DLL +#define CALENPLUGINLABEL_EXPORT Q_DECL_EXPORT +#else +#define CALENPLUGINLABEL_EXPORT Q_DECL_IMPORT +#endif + // System includes #include @@ -27,8 +33,8 @@ Q_OBJECT public: - IMPORT_C CalenPluginLabel(MCalenServices &services, QGraphicsItem *parent = 0); - IMPORT_C ~CalenPluginLabel(); + CALENPLUGINLABEL_EXPORT CalenPluginLabel(MCalenServices &services, QGraphicsItem *parent = 0); + CALENPLUGINLABEL_EXPORT ~CalenPluginLabel(); protected: void gestureEvent(QGestureEvent *event);