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:This is the first view for msgsettings plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MSGSETTINGSVIEW_H |
|
19 #define MSGSETTINGSVIEW_H |
|
20 |
|
21 #ifdef SETTINGSVIEW_DLL |
|
22 #define MSG_SETTING_VIEW_EXPORT Q_DECL_EXPORT |
|
23 #else |
|
24 #define MSG_SETTING_VIEW_EXPORT Q_DECL_IMPORT |
|
25 #endif |
|
26 |
|
27 #include "msgbaseview.h" |
|
28 |
|
29 class HbMainWindow; |
|
30 class HbAction; |
|
31 class MsgSMSCenterView; |
|
32 class MsgSettingsForm; |
|
33 |
|
34 class MSG_SETTING_VIEW_EXPORT MsgSettingsView: public MsgBaseView |
|
35 { |
|
36 Q_OBJECT |
|
37 public: |
|
38 enum SettingsView |
|
39 { |
|
40 DefaultView = 0, |
|
41 SMSView, |
|
42 MMSView |
|
43 }; |
|
44 |
|
45 public: |
|
46 MsgSettingsView( |
|
47 SettingsView settingsView = MsgSettingsView::DefaultView, |
|
48 QGraphicsItem *parent = 0); |
|
49 |
|
50 ~MsgSettingsView(); |
|
51 |
|
52 public slots: |
|
53 void onNewSMSCCenterClicked(int index); |
|
54 void onSmsCenterEditViewClosed(); |
|
55 |
|
56 private: |
|
57 //Settings Form |
|
58 MsgSettingsForm* mSettingsForm; |
|
59 |
|
60 //Sms Center View |
|
61 MsgSMSCenterView* mSMSCenterView; |
|
62 HbMainWindow* mMainWindow; |
|
63 }; |
|
64 #endif // MSGSETTINGSVIEW_H |