diff -r 6465d5bb863a -r 13e71d907dc3 controlpanel/src/cpframework/src/cpbasesettingview.cpp --- a/controlpanel/src/cpframework/src/cpbasesettingview.cpp Fri Jun 25 17:09:30 2010 +0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ -/* -* Copyright (c) 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: -* -* Description: -* -*/ - -#include "cpbasesettingview.h" -#include "cpbasesettingview_p.h" -#include -#include "cpitemdatahelper.h" - - -/*! - \class CpBaseSettingView - \brief The CpBaseSettingView is base class for all setting views in control panel application. - This class is responsible for processing some common properties, such as setting view's title, content widget and back key action. - */ - -/*! - Constructor of CpBaseSettingView. - */ -CpBaseSettingView::CpBaseSettingView(QGraphicsWidget *widget /*= 0*/,QGraphicsItem *parent /*= 0*/) : - HbView(parent),d_ptr(new CpBaseSettingViewPrivate()) -{ - d_ptr->init(widget,this); -} - -/*! - Destructor of CpBaseSettingView. - */ -CpBaseSettingView::~CpBaseSettingView() -{ - delete d_ptr; -} - - -/*! - Give derived class a chance to do some cleaning work before exiting view. - Return : true: ok to exit - */ -void CpBaseSettingView::close() -{ - emit aboutToClose(); -} - -// End of File