phonebookui/pbkcommonui/inc/cntmainwindow.h
changeset 59 a642906a277a
parent 40 b46a585f6909
child 71 7cc7d74059f9
--- a/phonebookui/pbkcommonui/inc/cntmainwindow.h	Tue Jul 06 14:05:47 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntmainwindow.h	Wed Aug 18 09:39:00 2010 +0300
@@ -19,7 +19,6 @@
 #define CNTMAINWINDOW_H
 
 #include <hbmainwindow.h>
-#include <QKeyEvent>
 
 #include "cntglobal.h"
 #include <cntviewparams.h>
@@ -29,27 +28,15 @@
 class QTPBK_EXPORT CntMainWindow : public HbMainWindow
 {
     Q_OBJECT
+    friend class TestCntMainWindow;
 
 public:
     CntMainWindow(QWidget *parent=0, int defaultView = namesView);
     virtual ~CntMainWindow();
 
-    void keyPressEvent(QKeyEvent *event);
-
-signals:
-
-    void keyPressed(QKeyEvent *event);
-
-public slots:
-
-private slots:
-
-#ifdef PBK_UNIT_TEST
-public:
-#else
-protected:
-#endif
+private:
     CntDefaultViewManager        *mViewManager;
+    int                           mDefaultView;
 
 };