|
1 /* |
|
2 * Copyright (c) 2007 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: Text query dialog for editing commands |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "vctextquerydialog.h" |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // CVCTextQueryDialog::NewL |
|
24 // Two-phased constructor. |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 CVCTextQueryDialog* CVCTextQueryDialog::NewL( TDes& aDataText, const TTone& aTone ) |
|
28 { |
|
29 CVCTextQueryDialog* self = new (ELeave) CVCTextQueryDialog( aDataText, aTone ); |
|
30 return self; |
|
31 } |
|
32 |
|
33 // Destructor |
|
34 CVCTextQueryDialog::~CVCTextQueryDialog() |
|
35 { |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------- |
|
39 // CVCTextQueryDialog::CheckIfEntryTextOk |
|
40 // --------------------------------------------------------- |
|
41 // |
|
42 TBool CVCTextQueryDialog::CheckIfEntryTextOk() const |
|
43 { |
|
44 return ETrue; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------- |
|
48 // CVCTextQueryDialog::UpdateLeftSoftKeyL |
|
49 // --------------------------------------------------------- |
|
50 // |
|
51 void CVCTextQueryDialog::UpdateLeftSoftKeyL() |
|
52 { |
|
53 CAknTextQueryDialog::UpdateLeftSoftKeyL(); |
|
54 |
|
55 MakeLeftSoftkeyVisible(CheckIfEntryTextOk()); |
|
56 } |
|
57 |
|
58 // --------------------------------------------------------- |
|
59 // CVCTextQueryDialog::CVCTextQueryDialog |
|
60 // --------------------------------------------------------- |
|
61 // |
|
62 CVCTextQueryDialog::CVCTextQueryDialog( TDes& aDataText, const TTone& aTone ) |
|
63 : CAknTextQueryDialog( aDataText, aTone ) |
|
64 { |
|
65 } |
|
66 |
|
67 // End of File |
|
68 |