diff -r 924385140d98 -r c2c61fdca848 coreapplicationuis/powersaveutilities/cppsmplugin/src/cppsmview.h --- a/coreapplicationuis/powersaveutilities/cppsmplugin/src/cppsmview.h Tue Aug 31 15:24:25 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -/* - * 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 CPPSMVIEW_H -#define CPPSMVIEW_H - -#include -#include -#include -#include -#include // CPsmClient -#include - -class HbDataFormModel; -class HbDataFormModelItem; -class CpSettingFormItemData; -class CPsmClient; - - -class CpPsmView : public CpBaseSettingView,public MPsmClientObserver -{ - Q_OBJECT -public: - explicit CpPsmView(QGraphicsItem *parent = 0); - virtual ~CpPsmView(); - - void PowerSaveModeChanged( const TPsmsrvMode aMode ); - - /** - * @see MPsmClientObserver - */ - void PowerSaveModeChangeError( const TInt aError ); - -private slots: - //need handling your member's value change - void checkBoxStateChanged(int state); - void toggleChange(); -private: - HbDataForm *iForm; - HbDataFormModel *iModel ; - HbDataFormModelItem *iCheckBoxItem; - CPsmClient* iPsmClient; - HbDataFormModelItem *iPowerSaveMode; - HbTranslator *iTrans; - -}; -#endif// CPPSMVIEW_H