appinstaller/AppinstUi/sifuidevicedialogplugin/inc/sifuidialoggrantcapabilities.h
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: Grant capabilities dialog in SifUi |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SIFUIDIALOGGRANTCAPABILITIES_H |
|
19 #define SIFUIDIALOGGRANTCAPABILITIES_H |
|
20 |
|
21 #include <HbDialog> |
|
22 |
|
23 |
|
24 /** |
|
25 * SifUi dialog requesting the user to grant capabilities |
|
26 * for the application being installed. |
|
27 */ |
|
28 class SifUiDialogGrantCapabilities : public HbDialog |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: // constructor and destructor |
|
33 SifUiDialogGrantCapabilities(const QString &applicationName, |
|
34 const QVariant &capabilities, QGraphicsItem *parent = 0); |
|
35 virtual ~SifUiDialogGrantCapabilities(); |
|
36 |
|
37 signals: |
|
38 void accepted(); |
|
39 void rejected(); |
|
40 |
|
41 private slots: |
|
42 void handleAccepted(); |
|
43 void handleRejected(); |
|
44 }; |
|
45 |
|
46 #endif // SIFUIDIALOGGRANTCAPABILITIES_H |
|