equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Menu Application Library state. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef HSVIEWAPPDETAILSSTATE_H_ |
|
19 #define HSVIEWAPPDETAILSSTATE_H_ |
|
20 |
|
21 |
|
22 #include <QState> |
|
23 #include <QVariant> |
|
24 |
|
25 #include "hsmenustates_global.h" |
|
26 #include "casoftwareregistry.h" |
|
27 HS_STATES_TEST_CLASS(MenuStatesTest) |
|
28 |
|
29 class HbListWidget; |
|
30 class HsMenuItemModel; |
|
31 class HbDialog; |
|
32 class CaNotifier; |
|
33 class HbDocumentLoader; |
|
34 |
|
35 |
|
36 class HsViewAppDetailsState: public QState |
|
37 { |
|
38 Q_OBJECT |
|
39 |
|
40 HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest) |
|
41 |
|
42 public: |
|
43 |
|
44 HsViewAppDetailsState(QState *parent = 0); |
|
45 |
|
46 virtual ~HsViewAppDetailsState(); |
|
47 |
|
48 protected: |
|
49 |
|
50 void onEntry(QEvent *event); |
|
51 void onExit(QEvent *event); |
|
52 |
|
53 private slots: |
|
54 |
|
55 void stateExited(); |
|
56 |
|
57 signals: |
|
58 void exit(); |
|
59 |
|
60 private: |
|
61 |
|
62 void construct(); |
|
63 void setFieldPresentation(QString key, |
|
64 CaSoftwareRegistry::DetailMap &detailMap, |
|
65 HbDocumentLoader &loader); |
|
66 |
|
67 private: |
|
68 |
|
69 HbDialog *mDialog; |
|
70 }; |
|
71 |
|
72 #endif /* HSVIEWAPPDETAILSSTATE_H_ */ |