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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CNTSERVICESUBEDITVIEW_H |
|
19 #define CNTSERVICESUBEDITVIEW_H |
|
20 |
|
21 #include <QObject> |
|
22 #include "cnteditview.h" |
|
23 #include "cntviewparameters.h" |
|
24 |
|
25 class CntServiceHandler; |
|
26 |
|
27 class CntServiceSubEditView : public CntEditView |
|
28 { |
|
29 |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 |
|
34 CntServiceSubEditView(CntServiceHandler *aServiceHandler, CntViewManager *aViewManager, QGraphicsItem *aParent = 0); |
|
35 ~CntServiceSubEditView(); |
|
36 |
|
37 CntViewParameters::ViewId viewId() const { return CntViewParameters::serviceSubEditView; } |
|
38 |
|
39 public slots: |
|
40 |
|
41 void aboutToCloseView(); |
|
42 int handleExecutedCommand(QString aCommand, const QContact &aContact); |
|
43 void discardAllChanges(); |
|
44 |
|
45 private: |
|
46 CntServiceHandler *mServiceHandler; |
|
47 |
|
48 }; |
|
49 |
|
50 #endif //CNTSERVICESUBEDITVIEW_H |
|
51 // EOF |