equal
deleted
inserted
replaced
|
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: Base class for controlpane plugin views. |
|
15 * |
|
16 */ |
|
17 #ifndef CPBASESETTINGVIEW_H |
|
18 #define CPBASESETTINGVIEW_H |
|
19 |
|
20 #include "cpglobal.h" |
|
21 #include <hbview.h> |
|
22 |
|
23 class QVariant; |
|
24 class QModelIndex; |
|
25 class HbDataForm; |
|
26 class CpBaseSettingViewPrivate; |
|
27 class CpItemDataHelper; |
|
28 |
|
29 class CP_EXPORT CpBaseSettingView : public HbView |
|
30 { |
|
31 Q_OBJECT |
|
32 public: |
|
33 explicit CpBaseSettingView(QGraphicsWidget *widget = 0, QGraphicsItem *parent = 0); |
|
34 virtual ~CpBaseSettingView(); |
|
35 signals: |
|
36 void returnValueDelivered(const QVariant &returnValue); |
|
37 void aboutToClose(); |
|
38 protected: |
|
39 virtual void close(); |
|
40 private: |
|
41 Q_DISABLE_COPY(CpBaseSettingView) |
|
42 Q_DECLARE_PRIVATE_D(d_ptr, CpBaseSettingView) |
|
43 Q_PRIVATE_SLOT(d_func(), void _q_softkeyClicked()) |
|
44 private: |
|
45 CpBaseSettingViewPrivate *d_ptr; |
|
46 friend class CpBaseSettingViewPrivate; |
|
47 }; |
|
48 |
|
49 #endif /* CPBASESETTINGVIEW_H */ |