|
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: Hanlder Ui which implement of qt. |
|
15 * Interface : Private, VmbxQtUiHandler |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef VMBXQTUIHANDLER_H |
|
21 #define VMBXQTUIHANDLER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <QObject> |
|
25 #include <voicemailboxdefs.h> |
|
26 |
|
27 // FORWARD DECLARATION |
|
28 |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * Dialog manager |
|
34 * |
|
35 * @lib vmbxengine.lib |
|
36 * @since S60 v5.2 |
|
37 */ |
|
38 NONSHARABLE_CLASS( VmbxQtUiHandler ): public QObject |
|
39 { |
|
40 |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * C++ default constructor. |
|
45 * |
|
46 * @since S60 v5.2 |
|
47 */ |
|
48 VmbxQtUiHandler(QObject* parent = 0 ); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 ~VmbxQtUiHandler(); |
|
54 |
|
55 /** |
|
56 * Show mailbox query dialog |
|
57 * |
|
58 * @since S60 v5.2 |
|
59 * @param aType in TVmbxType type |
|
60 * @param aMode Tin VmbxQueryMode mode |
|
61 * @param aNumber the voice mailbox number |
|
62 * @param aResult out the result of dialog |
|
63 */ |
|
64 void showVmbxQueryDialog(const TVmbxType& aType, |
|
65 const TVmbxQueryMode& aMode, |
|
66 QString& aNumber, int& aResult); |
|
67 |
|
68 /** |
|
69 * Show define number in selection dialog |
|
70 * Leaves if user cancel selected. |
|
71 * |
|
72 * @since S60 v5.2 |
|
73 * @param in aType vmbx type |
|
74 * @param out aResult the result of dialog |
|
75 */ |
|
76 void showDefineSelectionDialog(TVmbxType& aType, int& aResult); |
|
77 |
|
78 /** |
|
79 * Show voice mailbox information number |
|
80 * |
|
81 * @since S60 v5.2 |
|
82 * @param aNoteType in TVmbxType type |
|
83 */ |
|
84 void showInformationNote(int aNoteType); |
|
85 |
|
86 /** |
|
87 * Show save empty number note |
|
88 * |
|
89 * @since S60 v5.2 |
|
90 * @param aType in TVmbxType type |
|
91 */ |
|
92 void showSaveEmptyNote(const TVmbxType& aType); |
|
93 }; |
|
94 |
|
95 #endif // VMBXQTUIHANDLER_H |