bluetoothengine/btui/btcpplugin/btcpuibaseview.h
changeset 42 b72428996822
parent 31 a0ea99b6fa53
child 57 5ebadcda06cb
--- a/bluetoothengine/btui/btcpplugin/btcpuibaseview.h	Fri May 28 17:03:06 2010 +0300
+++ b/bluetoothengine/btui/btcpplugin/btcpuibaseview.h	Mon Jul 12 18:51:05 2010 +0300
@@ -1,24 +1,19 @@
 /*
-* ============================================================================
-*  Name        : btcpuibaseview.h
-*  Part of     : BluetoothUI / btapplication       *** Info from the SWAD
-*  Description : Declaration of the baseclass for all views in btapplication.
-*
-*  Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies).
-*  All rights reserved.
-*  This component and the accompanying materials are made available
-*  under the terms of "Eclipse Public License v1.0"
-*  which accompanies this distribution, and is available
-*  at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-*  Initial Contributors:
-*  Nokia Corporation - initial contribution.
-*
-*  Contributors:
-*  Nokia Corporation
-* ============================================================================
-* Template version: 4.2
-*/
+ * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0""
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:  
+ *
+ */
 
 #ifndef BTCPUIBASEVIEW_H
 #define BTCPUIBASEVIEW_H
@@ -41,13 +36,15 @@
 public:
     
     virtual ~BtCpUiBaseView();
-    virtual void activateView( const QVariant& value, int cmdId ) = 0;
+    virtual void activateView( const QVariant& value, bool fromBackButton ) = 0;
     virtual void deactivateView() = 0;    
     virtual void switchToPreviousView() = 0;
     
 signals:
 
 protected:
+    explicit BtCpUiBaseView(QGraphicsItem *parent = 0);
+    
     explicit BtCpUiBaseView( 
             BtSettingModel &settingModel, 
             BtDeviceModel &deviceModel, 
@@ -60,10 +57,10 @@
     
 protected:
     
-    // do not owned
+    // owned
     BtSettingModel *mSettingModel;
     
-    //do not owned
+    // owned
     BtDeviceModel *mDeviceModel;
     
     QGraphicsItem *mParent;