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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "cpprofilemodel_p.h" |
|
20 #include <QString> |
|
21 |
|
22 CpProfileModelPrivate::CpProfileModelPrivate() |
|
23 { |
|
24 } |
|
25 |
|
26 CpProfileModelPrivate::~CpProfileModelPrivate() |
|
27 { |
|
28 } |
|
29 |
|
30 /* |
|
31 * Get the result of the initiation |
|
32 */ |
|
33 int CpProfileModelPrivate::initiationFlag() |
|
34 { |
|
35 return -1; |
|
36 } |
|
37 |
|
38 /* |
|
39 * Get path and file name of ring tone file |
|
40 */ |
|
41 QString CpProfileModelPrivate::ringTone() |
|
42 { |
|
43 return ""; |
|
44 } |
|
45 |
|
46 /* |
|
47 * Set path and file to ring tone |
|
48 */ |
|
49 void CpProfileModelPrivate::setRingTone(const QString& filePath) |
|
50 { |
|
51 Q_UNUSED(filePath); |
|
52 } |
|
53 |
|
54 /* |
|
55 * Get path and file name of message tone file |
|
56 */ |
|
57 QString CpProfileModelPrivate::messageTone() |
|
58 { |
|
59 return ""; |
|
60 } |
|
61 |
|
62 /* |
|
63 * Set path and file to message tone |
|
64 */ |
|
65 void CpProfileModelPrivate::setMessageTone(const QString& filePath) |
|
66 { |
|
67 Q_UNUSED(filePath); |
|
68 } |
|
69 |
|
70 /* |
|
71 * Get path and file name of email tone file |
|
72 */ |
|
73 QString CpProfileModelPrivate::emailTone() |
|
74 { |
|
75 return ""; |
|
76 } |
|
77 |
|
78 /* |
|
79 * Set path and file to email tone |
|
80 */ |
|
81 void CpProfileModelPrivate::setEmailTone(const QString& filePath) |
|
82 { |
|
83 Q_UNUSED(filePath); |
|
84 } |
|
85 |
|
86 /* |
|
87 * Get path and file name of calendar event tone file |
|
88 */ |
|
89 QString CpProfileModelPrivate::calendarTone() |
|
90 { |
|
91 return ""; |
|
92 } |
|
93 |
|
94 /* |
|
95 * Set path and file to calendar event tone |
|
96 */ |
|
97 void CpProfileModelPrivate::setCalendarTone(const QString& filePath) |
|
98 { |
|
99 Q_UNUSED(filePath); |
|
100 } |
|
101 |
|
102 /* |
|
103 * Get path and file name of clock alarm tone file |
|
104 */ |
|
105 QString CpProfileModelPrivate::alarmTone() |
|
106 { |
|
107 return ""; |
|
108 } |
|
109 |
|
110 /* |
|
111 * Set path and file to clock alarm tone |
|
112 */ |
|
113 void CpProfileModelPrivate::setAlarmTone(const QString& filePath) |
|
114 { |
|
115 Q_UNUSED(filePath); |
|
116 } |
|
117 |
|
118 /* |
|
119 * Get the value of master volume |
|
120 */ |
|
121 int CpProfileModelPrivate::ringVolume() |
|
122 { |
|
123 return -1; |
|
124 } |
|
125 |
|
126 /* |
|
127 * Set master volume, the value should be between 1-10 |
|
128 */ |
|
129 void CpProfileModelPrivate::setRingVolume(int volume) |
|
130 { |
|
131 Q_UNUSED(volume); |
|
132 } |
|
133 |
|
134 /* |
|
135 * Activate master volume to beep |
|
136 */ |
|
137 void CpProfileModelPrivate::activateBeep() |
|
138 {; |
|
139 } |
|
140 |
|
141 /* |
|
142 * Get beep status in master volume |
|
143 */ |
|
144 bool CpProfileModelPrivate::isBeep() |
|
145 { |
|
146 return false; |
|
147 } |
|
148 |
|
149 /* |
|
150 * Activate master volume to silent |
|
151 */ |
|
152 void CpProfileModelPrivate::activateSilent() |
|
153 { |
|
154 } |
|
155 |
|
156 /* |
|
157 * Get silent status in master volume |
|
158 */ |
|
159 bool CpProfileModelPrivate::isSilent() |
|
160 { |
|
161 return false; |
|
162 } |
|
163 |
|
164 /* |
|
165 * Get master vibra's status |
|
166 */ |
|
167 bool CpProfileModelPrivate::vibraStatus() |
|
168 { |
|
169 return false; |
|
170 } |
|
171 |
|
172 /* |
|
173 * Set master vibra's status |
|
174 */ |
|
175 void CpProfileModelPrivate::setVibraStatus(bool status) |
|
176 { |
|
177 Q_UNUSED(status); |
|
178 } |
|
179 |
|
180 /* |
|
181 * Get keypad' volume |
|
182 */ |
|
183 int CpProfileModelPrivate::keyVolume() |
|
184 { |
|
185 return -1; |
|
186 } |
|
187 |
|
188 /* |
|
189 * Set keypad's volume, |
|
190 * the value of the volume should be between 0-3 |
|
191 */ |
|
192 void CpProfileModelPrivate::setKeyVolume(int volume) |
|
193 { |
|
194 Q_UNUSED(volume); |
|
195 } |
|
196 |
|
197 /* |
|
198 * Get screen tone's volume |
|
199 */ |
|
200 int CpProfileModelPrivate::screenVolume() |
|
201 { |
|
202 return -1; |
|
203 } |
|
204 |
|
205 /* |
|
206 * Set screen tone's volume, |
|
207 * the value of the volume should be between 0-3 |
|
208 */ |
|
209 void CpProfileModelPrivate::setScreenVolume(int volume) |
|
210 { |
|
211 Q_UNUSED(volume); |
|
212 } |
|
213 |
|
214 /* |
|
215 * Get screen vibra's level |
|
216 */ |
|
217 int CpProfileModelPrivate::screenVibra() |
|
218 { |
|
219 return -1; |
|
220 } |
|
221 |
|
222 /* |
|
223 * Set screen vibra's level, |
|
224 * the value of the level should be between 0-3 |
|
225 */ |
|
226 void CpProfileModelPrivate::setScreenVibra(int volume) |
|
227 { |
|
228 Q_UNUSED(volume); |
|
229 } |
|
230 |
|
231 |
|
232 // End of file |
|