31
|
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 |
#ifndef CPBASESETTINGVIEW_H
|
|
18 |
#define CPBASESETTINGVIEW_H
|
|
19 |
|
|
20 |
#include "cpglobal.h"
|
|
21 |
#include <hbview.h>
|
|
22 |
|
|
23 |
class QModelIndex;
|
|
24 |
class HbDataForm;
|
|
25 |
class CpBaseSettingViewPrivate;
|
|
26 |
class CpItemDataHelper;
|
|
27 |
|
|
28 |
class CP_EXPORT CpBaseSettingView : public HbView
|
|
29 |
{
|
|
30 |
Q_OBJECT
|
|
31 |
public:
|
32
|
32 |
explicit CpBaseSettingView(QGraphicsWidget *widget = 0, QGraphicsItem *parent = 0);
|
31
|
33 |
virtual ~CpBaseSettingView();
|
|
34 |
void setSettingForm(HbDataForm *settingForm);
|
|
35 |
HbDataForm *settingForm() const;
|
|
36 |
signals:
|
|
37 |
void aboutToClose();
|
|
38 |
private:
|
|
39 |
Q_DISABLE_COPY(CpBaseSettingView)
|
|
40 |
Q_DECLARE_PRIVATE_D(d_ptr, CpBaseSettingView)
|
|
41 |
Q_PRIVATE_SLOT(d_func(), void _q_softkeyClicked())
|
|
42 |
Q_PRIVATE_SLOT(d_func(), void _q_viewChanged(HbView *view))
|
|
43 |
private:
|
|
44 |
CpBaseSettingViewPrivate *d_ptr;
|
|
45 |
};
|
|
46 |
|
|
47 |
#endif /* CPBASESETTINGVIEW_H */
|