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: Handles phone notes. |
|
15 */ |
|
16 |
|
17 #include "phonenotecontroller.h" |
|
18 #include "tphonecmdparamglobalnote.h" |
|
19 #include "phoneresourceadapter.h" |
|
20 #include <QtDebug> |
|
21 #include <hbdevicemessagebox.h> |
|
22 |
|
23 bool m_showGlobalNoteCalled; |
|
24 bool m_showQueryCalled; |
|
25 bool m_showNoteCalled; |
|
26 bool m_removeDtmfNoteCalled; |
|
27 bool m_removeNoteCalled; |
|
28 bool m_removeQueryCalled; |
|
29 bool m_removeGlobalWaitNoteCalled; |
|
30 |
|
31 PhoneNoteController::PhoneNoteController(QObject *parent) : QObject (parent) |
|
32 { |
|
33 m_showGlobalNoteCalled = false; |
|
34 } |
|
35 |
|
36 PhoneNoteController::~PhoneNoteController() |
|
37 { |
|
38 |
|
39 } |
|
40 |
|
41 void PhoneNoteController::showGlobalNote(TPhoneCommandParam */*commandParam*/) |
|
42 { |
|
43 m_showGlobalNoteCalled = true; |
|
44 } |
|
45 |
|
46 void PhoneNoteController::showNote(TPhoneCommandParam */*commandParam*/) |
|
47 { |
|
48 m_showNoteCalled = true; |
|
49 } |
|
50 |
|
51 void PhoneNoteController::showQuery(TPhoneCommandParam */*commandParam*/) |
|
52 { |
|
53 m_showQueryCalled = true; |
|
54 } |
|
55 |
|
56 void PhoneNoteController::removeDtmfNote() |
|
57 { |
|
58 m_removeDtmfNoteCalled = true; |
|
59 } |
|
60 |
|
61 void PhoneNoteController::removeNote() |
|
62 { |
|
63 m_removeNoteCalled = true; |
|
64 } |
|
65 |
|
66 void PhoneNoteController::removeQuery() |
|
67 { |
|
68 m_removeQueryCalled = true; |
|
69 } |
|
70 |
|
71 void PhoneNoteController::removeGlobalWaitNote() |
|
72 { |
|
73 m_removeGlobalWaitNoteCalled = true; |
|
74 } |
|
75 |
|
76 QString PhoneNoteController::globalNoteText( |
|
77 TPhoneCommandParam *commandParam) |
|
78 { |
|
79 QString ret; |
|
80 |
|
81 return ret; |
|
82 } |
|
83 |
|
84 void PhoneNoteController::destroyDialog() |
|
85 { |
|
86 } |
|
87 |
|
88 void PhoneNoteController::removeMappings() |
|
89 { |
|
90 } |
|
91 |
|
92 void PhoneNoteController::queryCancelled() |
|
93 { |
|
94 } |
|
95 |
|
96 void PhoneNoteController::queryTimeout() |
|
97 { |
|
98 } |
|
99 |
|