memspyui/ui/hb/inc/memspysettingsview.h
changeset 51 b048e15729d6
parent 44 5db69f4c3d06
child 52 36d60d12b4af
equal deleted inserted replaced
44:5db69f4c3d06 51:b048e15729d6
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *  
       
    16  */
       
    17 
       
    18 #ifndef MEMSPYSETTINGSVIEW_H_
       
    19 #define MEMSPYSETTINGSVIEW_H_
       
    20 
       
    21 #include <HbView>
       
    22 
       
    23 class HbDataForm;
       
    24 class HbDataFormModel;
       
    25 class HbDataFormModelItem;
       
    26 class EngineWrapper;
       
    27 
       
    28 class MemSpySettingsView : public HbView
       
    29 {
       
    30 	Q_OBJECT
       
    31 	
       
    32 public:
       
    33 	MemSpySettingsView(EngineWrapper &engine);
       
    34 	virtual ~MemSpySettingsView();
       
    35 	
       
    36 	void initialize(const QVariantMap& params);
       
    37 	
       
    38 private slots:
       
    39 	void updateModel();
       
    40 	void accept();
       
    41 	void reject();
       
    42 	
       
    43 signals:
       
    44 	void finished(bool ok);
       
    45 
       
    46 private:
       
    47 	HbDataForm* mForm;
       
    48 	HbDataFormModel* mModel;
       
    49 	HbDataFormModelItem* mModeItem;
       
    50 	HbDataFormModelItem* mPathItem;
       
    51 	HbDataFormModelItem* mCustomPathItem;
       
    52 	
       
    53 	EngineWrapper& mEngine;
       
    54 };
       
    55 
       
    56 #endif /* MEMSPYSETTINGSVIEW_H_ */