author | hgs |
Fri, 09 Jul 2010 15:40:55 +0300 | |
changeset 50 | 377c906a8701 |
parent 45 | 6b911d05207e |
child 51 | f39ed5e045e0 |
permissions | -rw-r--r-- |
37 | 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: !!!!!!!!! STUB !!!! |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#include "phoneuiqtviewadapter.h" |
|
19 |
#include "phoneuiqtviewif.h" |
|
20 |
||
21 |
//CONSTANTS |
|
22 |
bool phoneAppStart; |
|
23 |
bool inCallDialerStart; |
|
24 |
static const int PHONE_CALL_NOT_FOUND = -1; |
|
25 |
||
26 |
PhoneUIQtViewAdapter::PhoneUIQtViewAdapter (PhoneUIQtViewIF &view, QObject *parent) : |
|
27 |
QObject (parent), m_view (view), m_idleUid(-1) |
|
28 |
{} |
|
29 |
||
30 |
PhoneUIQtViewAdapter::~PhoneUIQtViewAdapter () |
|
31 |
{} |
|
32 |
||
33 |
void PhoneUIQtViewAdapter::ExecuteCommandL (TPhoneViewCommandId aCmdId) |
|
34 |
{ |
|
35 |
switch (aCmdId) { |
|
36 |
case EPhoneViewOpenDialer: |
|
37 |
inCallDialerStart = true; |
|
38 |
break; |
|
39 |
default: |
|
40 |
break; |
|
41 |
} |
|
42 |
} |
|
43 |
||
44 |
void PhoneUIQtViewAdapter::ExecuteCommandL (TPhoneViewCommandId aCmdId, TPhoneCommandParam* aCommandParam) |
|
45 |
{ |
|
46 |
switch (aCmdId) { |
|
47 |
case EPhoneViewBringAppToForeground: |
|
48 |
phoneAppStart = true; |
|
49 |
break; |
|
50 |
default: |
|
51 |
break; |
|
52 |
} |
|
53 |
} |
|
54 |
||
55 |
int PhoneUIQtViewAdapter::idleAppUid () |
|
56 |
{ |
|
57 |
// <-- QT HS START -->); |
|
58 |
m_idleUid=0x20022F35; |
|
59 |
// <-- QT HS END --> |
|
60 |
return m_idleUid; |
|
61 |
} |
|
62 |
||
63 |
void PhoneUIQtViewAdapter::ExecuteCommandL (TPhoneViewCommandId aCmdId, TInt aCallId) |
|
64 |
{} |
|
65 |
void PhoneUIQtViewAdapter::ExecuteCommandL (TPhoneViewCommandId aCmdId, TInt aCallId, |
|
66 |
TPhoneCommandParam *aCommandParam) |
|
67 |
{} |
|
68 |
void PhoneUIQtViewAdapter::ExecuteCommandL (TPhoneViewCommandId aCmdId, TInt aCallId, |
|
69 |
TDesC &aMessage) |
|
70 |
{} |
|
71 |
TPhoneViewResponseId PhoneUIQtViewAdapter::HandleCommandL (TPhoneViewCommandId aCmdId) |
|
72 |
{} |
|
73 |
TPhoneViewResponseId PhoneUIQtViewAdapter::HandleCommandL (TPhoneViewCommandId aCmdId, |
|
74 |
TPhoneCommandParam *aCommandParam) |
|
75 |
{} |
|
76 |
void PhoneUIQtViewAdapter::ExecuteCommand (TPhoneViewCommandId aCmdId) |
|
77 |
{ Q_UNUSED (aCmdId); } |
|
78 |
void PhoneUIQtViewAdapter::ExecuteCommand (TPhoneViewCommandId aCmdId, TPhoneCommandParam *aCommandParam) |
|
79 |
{} |
|
80 |
const TDesC& PhoneUIQtViewAdapter::FetchContent () |
|
81 |
{ return KNullDesC;} |
|
82 |
void PhoneUIQtViewAdapter::setTopApplication (TPhoneCommandParam *commandParam) |
|
83 |
{} |
|
84 |
void PhoneUIQtViewAdapter::createCallHeader( |
|
85 |
int callId, |
|
86 |
TPhoneCommandParam *commandParam ) |
|
87 |
{} |
|
88 |
void PhoneUIQtViewAdapter::createEmergencyCallHeader( |
|
89 |
int callId, |
|
90 |
TPhoneCommandParam *commandParam) |
|
91 |
{} |
|
92 |
void PhoneUIQtViewAdapter::updateCallHeaderState ( |
|
93 |
int callId, |
|
94 |
TPhoneCommandParam *commandParam) |
|
95 |
{} |
|
96 |
void PhoneUIQtViewAdapter::updateCallHeaderRemoteInfo (int callId, TPhoneCommandParam *commandParam) |
|
97 |
{} |
|
98 |
void PhoneUIQtViewAdapter::updateCallHeaderRemoteInfoAndLabel (int callId, TPhoneCommandParam *commandParam) |
|
99 |
{} |
|
100 |
TPhoneViewResponseId PhoneUIQtViewAdapter::callIdByState (TPhoneCommandParam *commandParam) |
|
101 |
{} |
|
102 |
void PhoneUIQtViewAdapter::setTouchButtons (TPhoneCommandParam *commandParam) |
|
103 |
{} |
|
104 |
void PhoneUIQtViewAdapter::setToolbarButtons (TPhoneCommandParam *commandParam) |
|
105 |
{} |
|
106 |
void PhoneUIQtViewAdapter::callHoldFlag (TPhoneCommandParam *commandParam) |
|
107 |
{} |
|
108 |
void PhoneUIQtViewAdapter::writeAudioVolumeLevel (TPhoneCommandParam *commandParam) |
|
109 |
{} |
|
110 |
void PhoneUIQtViewAdapter::setAudioVolumeSliderValue (TPhoneCommandParam *commandParam) |
|
111 |
{} |
|
112 |
void PhoneUIQtViewAdapter::setMuteIndication (TPhoneCommandParam *commandParam) |
|
113 |
{} |
|
114 |
void PhoneUIQtViewAdapter::activeCallCount (TPhoneCommandParam *commandParam) |
|
115 |
{} |
|
116 |
void PhoneUIQtViewAdapter::setAudioPath (TPhoneCommandParam *commandParam) |
|
117 |
{ } |
|
118 |
void PhoneUIQtViewAdapter::expandedBubbleCallId(TPhoneCommandParam *commandParam) |
|
119 |
{ } |
|
120 |
void PhoneUIQtViewAdapter::openDialpad() |
|
121 |
{ } |
|
122 |
void PhoneUIQtViewAdapter::createConferenceBubble(int callId, TPhoneCommandParam *commandParam) |
|
123 |
{} |
|
124 |
void PhoneUIQtViewAdapter::conferenceCallId(int callId, TPhoneCommandParam *commandParam) |
|
125 |
{} |
|
126 |
void PhoneUIQtViewAdapter::removeConferenceBubble() |
|
127 |
{} |
|
128 |
void PhoneUIQtViewAdapter::isConference(TPhoneCommandParam *commandParam) |
|
129 |
{} |
|
130 |
void PhoneUIQtViewAdapter::removeCallFromConference(int callId) |
|
131 |
{} |
|
132 |
TPhoneViewResponseId PhoneUIQtViewAdapter::getSelectedConferenceMember( |
|
133 |
TPhoneCommandParam *commandParam) |
|
134 |
{} |
|
135 |
void PhoneUIQtViewAdapter::setPrivateFromConference(int callId) |
|
136 |
{} |
|
137 |
void PhoneUIQtViewAdapter::setExpandActions() |
|
138 |
{} |
|
139 |
bool PhoneUIQtViewAdapter::callsExists(int call1State, int call2State) |
|
140 |
{} |
|
141 |
void PhoneUIQtViewAdapter::setParticipantListActions() |
|
142 |
{} |
|
143 |
void PhoneUIQtViewAdapter::setExpandedConferenceCallHeader() |
|
144 |
{} |
|
145 |
void PhoneUIQtViewAdapter::bringToForeground() |
|
146 |
{} |
|
147 |
void PhoneUIQtViewAdapter::showGlobalNote( |
|
148 |
TPhoneCommandParam *commandParam) |
|
149 |
{} |
|
150 |
void PhoneUIQtViewAdapter::setDialpadVisibility( |
|
151 |
TPhoneCommandParam *commandParam) |
|
152 |
{} |
|
153 |
void PhoneUIQtViewAdapter::removeAllCallHeaders() |
|
154 |
{} |
|
155 |
void PhoneUIQtViewAdapter::getNumberFromDialpad( |
|
156 |
TPhoneCommandParam *commandParam) |
|
157 |
{} |
|
158 |
void PhoneUIQtViewAdapter::getDialpadStringLength( |
|
159 |
TPhoneCommandParam *commandParam) |
|
160 |
{} |
|
161 |
void PhoneUIQtViewAdapter::removeDialpad() |
|
162 |
{} |
|
163 |
||
164 |
void PhoneUIQtViewAdapter::dialpadClosed() |
|
165 |
{} |
|
166 |
||
167 |
void PhoneUIQtViewAdapter::keyReleased(QKeyEvent */*event*/) |
|
168 |
{} |
|
169 |
||
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
170 |
void PhoneUIQtViewAdapter::handleWindowActivated() |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
171 |
{} |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
172 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
173 |
void PhoneUIQtViewAdapter::handleWindowDeactivated() |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
174 |
{} |