calendarui/agendaeventviewer/src/agendaeventvieweritem.cpp
changeset 55 2c54b51f39c4
parent 45 b6db4fd4947b
child 70 a5ed90760192
--- a/calendarui/agendaeventviewer/src/agendaeventvieweritem.cpp	Mon Jul 12 02:32:28 2010 +0530
+++ b/calendarui/agendaeventviewer/src/agendaeventvieweritem.cpp	Mon Jul 26 13:54:38 2010 +0530
@@ -26,6 +26,11 @@
 
 // User Includes.
 #include "agendaeventvieweritem.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "agendaeventvieweritemTraces.h"
+#endif
+
 
 /*!
  \class AgendaEventViewerItem
@@ -43,10 +48,12 @@
 	        mPrimaryIcon(NULL), mSecondaryIcon(NULL),mPrimaryRightIcon(NULL),
 	        mPrimaryLeftIcon(NULL)
 {
+    OstTraceFunctionEntry0( AGENDAEVENTVIEWERITEM_AGENDAEVENTVIEWERITEM_ENTRY );
 
 	// Path for widgetml and css files.
 	HbStyleLoader::registerFilePath(":/");
 
+	OstTraceFunctionExit0( AGENDAEVENTVIEWERITEM_AGENDAEVENTVIEWERITEM_EXIT );
 }
 
 /*!
@@ -54,8 +61,10 @@
  */
 AgendaEventViewerItem::~AgendaEventViewerItem()
 {
+	OstTraceFunctionEntry0( DUP1_AGENDAEVENTVIEWERITEM_AGENDAEVENTVIEWERITEM_ENTRY );
 	HbStyleLoader::unregisterFilePath(":/");
 
+	OstTraceFunctionExit0( DUP1_AGENDAEVENTVIEWERITEM_AGENDAEVENTVIEWERITEM_EXIT );
 }
 
 /*!
@@ -68,6 +77,7 @@
 void AgendaEventViewerItem::setEventViewerItemData(const QStringList &itemData,
                                                    int role)
 {
+	OstTraceFunctionEntry0( AGENDAEVENTVIEWERITEM_SETEVENTVIEWERITEMDATA_ENTRY );
 	if (!itemData.isEmpty()) {
 		QString firstItemData(QString::null);
 		QString secondItemData(QString::null);
@@ -163,6 +173,7 @@
 		}
 	}
 	repolish();
+	OstTraceFunctionExit0( AGENDAEVENTVIEWERITEM_SETEVENTVIEWERITEMDATA_EXIT );
 }
 
 // End of file	--Don't remove this.