|
1 /* |
|
2 * Copyright (c) 2006 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: Multiline dataquery |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CCAMULTILINEDATAQUERYDIALOG_H |
|
20 #define CCAMULTILINEDATAQUERYDIALOG_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknquerydialog.h> |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Query Dialog with data input on more than one line (2 lines at the moment) |
|
30 * Updates left softkey if first or second line has data |
|
31 * |
|
32 * @lib chatng.app |
|
33 */ |
|
34 class CCAMultiLineDataQueryDialog : public CAknMultiLineDataQueryDialog |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 * @param aText1 First line text |
|
41 * @param aText2 Second line |
|
42 * @param aTone Tone |
|
43 * @return An instance of this class |
|
44 */ |
|
45 static CCAMultiLineDataQueryDialog* NewL( TDes& aText1, |
|
46 TDes& aText2/*, |
|
47 TTone aTone = ENoTone*/ ); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 |
|
53 virtual ~CCAMultiLineDataQueryDialog(); |
|
54 |
|
55 |
|
56 protected: // Functions from base classes |
|
57 |
|
58 /** |
|
59 * From CAknMultiLineDataqueryDialog |
|
60 * If the query text is ok (retrieved form query controls) |
|
61 * then display the left soft key, otherwise hide it. |
|
62 * @see CAknMultiLineDataqueryDialog |
|
63 */ |
|
64 void UpdateLeftSoftKeyL(); |
|
65 |
|
66 |
|
67 private: |
|
68 |
|
69 /** |
|
70 * C++ default constructor. |
|
71 */ |
|
72 CCAMultiLineDataQueryDialog(); |
|
73 |
|
74 /** |
|
75 * By default Symbian 2nd phase constructor is private. |
|
76 */ |
|
77 void ConstructL(); |
|
78 |
|
79 }; |
|
80 |
|
81 #endif // CCAMULTILINEDATAQUERY_H |
|
82 |
|
83 // End of File |