clock/clockui/clockviews/src/clockhomecityitem.cpp
changeset 58 ef813d54df51
parent 49 5de72ea7a065
--- a/clock/clockui/clockviews/src/clockhomecityitem.cpp	Tue Jul 06 14:14:56 2010 +0300
+++ b/clock/clockui/clockviews/src/clockhomecityitem.cpp	Wed Aug 18 09:47:38 2010 +0300
@@ -26,6 +26,11 @@
 
 // User Includes.
 #include "clockhomecityitem.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "clockhomecityitemTraces.h"
+#endif
+
 
 /*!
 	\class ClockHomeCityItem
@@ -41,6 +46,7 @@
 ClockHomeCityItem::ClockHomeCityItem(QGraphicsItem *parent) :
 HbWidget(parent)
 {
+	OstTraceFunctionEntry0( CLOCKHOMECITYITEM_CLOCKHOMECITYITEM_ENTRY );
 	// Path for widgetml and css files.
 	HbStyleLoader::registerFilePath(":/style/clockhomecityitem.css");
 	HbStyleLoader::registerFilePath(":/style/clockhomecityitem.widgetml");
@@ -49,9 +55,10 @@
 	// Set the frame to the homecity widget.
 	HbFrameItem *frame = new HbFrameItem(this);
 	frame->frameDrawer().setFrameType(HbFrameDrawer::NinePieces);
-	frame->frameDrawer().setFrameGraphicsName("qtg_fr_groupbox");
+	frame->frameDrawer().setFrameGraphicsName("qtg_fr_groupbox_normal");
 	setBackgroundItem(frame->graphicsItem(), -2);
 
+	OstTraceFunctionExit0( CLOCKHOMECITYITEM_CLOCKHOMECITYITEM_EXIT );
 }
 
 /*!
@@ -59,9 +66,11 @@
  */
 ClockHomeCityItem::~ClockHomeCityItem()
 {
+	OstTraceFunctionEntry0( DUP1_CLOCKHOMECITYITEM_CLOCKHOMECITYITEM_ENTRY );
 	HbStyleLoader::unregisterFilePath(":/style/clockhomecityitem.css");
 	HbStyleLoader::unregisterFilePath(":/style/clockhomecityitem.widgetml");
 	HbStyleLoader::unregisterFilePath(":/style/clockhomecityitem_color.css");
+	OstTraceFunctionExit0( DUP1_CLOCKHOMECITYITEM_CLOCKHOMECITYITEM_EXIT );
 }
 
 /*!
@@ -72,6 +81,7 @@
  */
 void ClockHomeCityItem::setHomeCityItemData(const QVariantMap &itemData)
 {
+	OstTraceFunctionEntry0( CLOCKHOMECITYITEM_SETHOMECITYITEMDATA_ENTRY );
 	if (!itemData.isEmpty()) {
 		QMapIterator<QString, QVariant> iter(itemData);
 		while (iter.hasNext()) {
@@ -121,6 +131,7 @@
 		}
 		repolish();
 	}
+	OstTraceFunctionExit0( CLOCKHOMECITYITEM_SETHOMECITYITEMDATA_EXIT );
 }
 
 // End of file	--Don't remove this.