--- a/phonebookui/pbkcommonui/src/cntmainwindow.cpp Fri Jun 11 13:29:23 2010 +0300
+++ b/phonebookui/pbkcommonui/src/cntmainwindow.cpp Wed Jun 23 18:02:44 2010 +0300
@@ -15,18 +15,18 @@
*
*/
-
-
-
#include "cntmainwindow.h"
#include "cntdefaultviewmanager.h"
#include "cntviewnavigator.h"
#include <QCoreApplication>
+#include <cntdebug.h>
CntMainWindow::CntMainWindow(QWidget *parent, int defaultView)
: HbMainWindow(parent),
mViewManager(NULL)
{
+ CNT_ENTRY
+
if (defaultView != noView)
{
CntViewNavigator* navigator = new CntViewNavigator(this);
@@ -45,12 +45,18 @@
viewParameters.insert(EViewId, defaultView);
mViewManager->changeView( viewParameters );
}
+
+ CNT_EXIT
}
CntMainWindow::~CntMainWindow()
{
+ CNT_ENTRY
+
delete mViewManager;
- mViewManager=0;
+ mViewManager = NULL;
+
+ CNT_EXIT
}
/*
@@ -61,7 +67,7 @@
{
if (event->key() == Qt::Key_Yes || event->key() == Qt::Key_No)
{
- emit keyPressed(event);
+ emit keyPressed(event);
}
else
{
@@ -69,7 +75,4 @@
}
}
-
-//
-
// end of file