calendarui/views/inc/calenpluginlabel.h
changeset 51 0b38fc5b94c6
parent 45 b6db4fd4947b
--- 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 <hblabel.h>
 
@@ -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);