65
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 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 the License "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 |
* Inline methods for CBrowserPreferences.
|
|
16 |
*
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
|
|
20 |
|
|
21 |
#ifndef WML_BROWSER_PREFERENCES_INL
|
|
22 |
#define WML_BROWSER_PREFERENCES_INL
|
|
23 |
|
|
24 |
#include <bldvariant.hrh>
|
|
25 |
|
|
26 |
// ================= MEMBER FUNCTIONS =======================
|
|
27 |
|
|
28 |
|
|
29 |
// ---------------------------------------------------------
|
|
30 |
// CBrowserPreferences::DefaultSnapId()
|
|
31 |
// ---------------------------------------------------------
|
|
32 |
//
|
|
33 |
|
|
34 |
TUint CBrowserPreferences::DefaultSnapId() const
|
|
35 |
{
|
|
36 |
|
|
37 |
return iAllPreferences.iDefaultSnapId ;
|
|
38 |
|
|
39 |
}
|
|
40 |
|
|
41 |
|
|
42 |
// ---------------------------------------------------------
|
|
43 |
// CBrowserPreferences::DefaultAccessPoint
|
|
44 |
// ---------------------------------------------------------
|
|
45 |
//
|
|
46 |
TUint CBrowserPreferences::DefaultAccessPoint() const
|
|
47 |
{
|
|
48 |
if ( ( iOverridenSettings ) && iCustomAp )
|
|
49 |
{
|
|
50 |
return iCustomAp;
|
|
51 |
}
|
|
52 |
else
|
|
53 |
{
|
|
54 |
return iAllPreferences.iDefaultAccessPoint ;
|
|
55 |
}
|
|
56 |
}
|
|
57 |
|
|
58 |
// ---------------------------------------------------------
|
|
59 |
// CBrowserPreferences::AssociatedVpn
|
|
60 |
// ---------------------------------------------------------
|
|
61 |
//
|
|
62 |
TUint CBrowserPreferences::AssociatedVpn() const
|
|
63 |
{
|
|
64 |
return iAllPreferences.iAssocVpn;
|
|
65 |
}
|
|
66 |
|
|
67 |
// ---------------------------------------------------------
|
|
68 |
// CBrowserPreferences::DefaultAPDetails
|
|
69 |
// ---------------------------------------------------------
|
|
70 |
//
|
|
71 |
CApAccessPointItem* CBrowserPreferences::DefaultAPDetails()
|
|
72 |
{
|
|
73 |
return iAllPreferences.iDefaultAPDetails;
|
|
74 |
}
|
|
75 |
|
|
76 |
// ---------------------------------------------------------
|
|
77 |
// CBrowserPreferences::AutoLoadContent
|
|
78 |
// ---------------------------------------------------------
|
|
79 |
//
|
|
80 |
TInt CBrowserPreferences::AutoLoadContent() const
|
|
81 |
{
|
|
82 |
return iAllPreferences.iAutoLoadContent;
|
|
83 |
}
|
|
84 |
|
|
85 |
// ---------------------------------------------------------
|
|
86 |
// CBrowserPreferences::PageOverview
|
|
87 |
// ---------------------------------------------------------
|
|
88 |
//
|
|
89 |
TBool CBrowserPreferences::PageOverview() const
|
|
90 |
{
|
|
91 |
return iAllPreferences.iPageOverview;
|
|
92 |
}
|
|
93 |
|
|
94 |
// ---------------------------------------------------------
|
|
95 |
// CBrowserPreferences::BackList
|
|
96 |
// ---------------------------------------------------------
|
|
97 |
//
|
|
98 |
TBool CBrowserPreferences::BackList() const
|
|
99 |
{
|
|
100 |
return iAllPreferences.iBackList;
|
|
101 |
}
|
|
102 |
|
|
103 |
// ---------------------------------------------------------
|
|
104 |
// CBrowserPreferences::AutoRefresh
|
|
105 |
// ---------------------------------------------------------
|
|
106 |
//
|
|
107 |
TBool CBrowserPreferences::AutoRefresh() const
|
|
108 |
{
|
|
109 |
return iAllPreferences.iAutoRefresh;
|
|
110 |
}
|
|
111 |
|
|
112 |
// ---------------------------------------------------------
|
|
113 |
// CBrowserPreferences::TextWrap
|
|
114 |
// ---------------------------------------------------------
|
|
115 |
//
|
|
116 |
TBool CBrowserPreferences::TextWrap() const
|
|
117 |
{
|
|
118 |
return iAllPreferences.iTextWrap;
|
|
119 |
}
|
|
120 |
|
|
121 |
// ---------------------------------------------------------
|
|
122 |
// CBrowserPreferences::FontSize
|
|
123 |
// ---------------------------------------------------------
|
|
124 |
//
|
|
125 |
TInt CBrowserPreferences::FontSize() const
|
|
126 |
{
|
|
127 |
return iAllPreferences.iFontSize;
|
|
128 |
}
|
|
129 |
|
|
130 |
// ---------------------------------------------------------
|
|
131 |
// CBrowserPreferences::Encoding
|
|
132 |
// ---------------------------------------------------------
|
|
133 |
//
|
|
134 |
TUint32 CBrowserPreferences::Encoding() const
|
|
135 |
{
|
|
136 |
return iAllPreferences.iEncoding;
|
|
137 |
}
|
|
138 |
|
|
139 |
// ---------------------------------------------------------
|
|
140 |
// CBrowserPreferences::AdaptiveBookmarks
|
|
141 |
// ---------------------------------------------------------
|
|
142 |
//
|
|
143 |
TWmlSettingsAdaptiveBookmarks CBrowserPreferences::AdaptiveBookmarks() const
|
|
144 |
{
|
|
145 |
return iAllPreferences.iAdaptiveBookmarks;
|
|
146 |
}
|
|
147 |
|
|
148 |
// ---------------------------------------------------------
|
|
149 |
// CBrowserPreferences::FullScreen()
|
|
150 |
// ---------------------------------------------------------
|
|
151 |
//
|
|
152 |
TWmlSettingsFullScreen CBrowserPreferences::FullScreen() const
|
|
153 |
{
|
|
154 |
return iAllPreferences.iFullScreen;
|
|
155 |
}
|
|
156 |
|
|
157 |
// ---------------------------------------------------------
|
|
158 |
// CBrowserPreferences::Cookies
|
|
159 |
// ---------------------------------------------------------
|
|
160 |
//
|
|
161 |
TWmlSettingsCookies CBrowserPreferences::Cookies() const
|
|
162 |
{
|
|
163 |
return iAllPreferences.iCookies;
|
|
164 |
}
|
|
165 |
|
|
166 |
// ---------------------------------------------------------
|
|
167 |
// CBrowserPreferences::Ecma
|
|
168 |
// ---------------------------------------------------------
|
|
169 |
//
|
|
170 |
TWmlSettingsECMA CBrowserPreferences::Ecma() const
|
|
171 |
{
|
|
172 |
return iAllPreferences.iEcma;
|
|
173 |
}
|
|
174 |
|
|
175 |
// ---------------------------------------------------------
|
|
176 |
// CBrowserPreferences::ScriptLog
|
|
177 |
// ---------------------------------------------------------
|
|
178 |
//
|
|
179 |
TUint32 CBrowserPreferences::ScriptLog() const
|
|
180 |
{
|
|
181 |
return iAllPreferences.iScriptLog;
|
|
182 |
}
|
|
183 |
|
|
184 |
// ---------------------------------------------------------
|
|
185 |
// CBrowserPreferences::HttpSecurityWarnings
|
|
186 |
// ---------------------------------------------------------
|
|
187 |
//
|
|
188 |
TBool CBrowserPreferences::HttpSecurityWarnings() const
|
|
189 |
{
|
|
190 |
return iAllPreferences.iHttpSecurityWarnings;
|
|
191 |
}
|
|
192 |
|
|
193 |
// ---------------------------------------------------------
|
|
194 |
// CBrowserPreferences::IMEINotification
|
|
195 |
// ---------------------------------------------------------
|
|
196 |
//
|
|
197 |
TWmlSettingsIMEI CBrowserPreferences::IMEINotification() const
|
|
198 |
{
|
|
199 |
return iAllPreferences.iIMEINotification;
|
|
200 |
}
|
|
201 |
|
|
202 |
// ---------------------------------------------------------
|
|
203 |
// CBrowserPreferences:::HttpSecurityWarningsStatSupressed
|
|
204 |
// ---------------------------------------------------------
|
|
205 |
//
|
|
206 |
TBool CBrowserPreferences::HttpSecurityWarningsStatSupressed() const
|
|
207 |
{
|
|
208 |
return iAllPreferences.iHTTPSecuritySupressed;
|
|
209 |
}
|
|
210 |
|
|
211 |
// ---------------------------------------------------------
|
|
212 |
// CBrowserPreferences:::DownloadsOpen
|
|
213 |
// ---------------------------------------------------------
|
|
214 |
//
|
|
215 |
TBool CBrowserPreferences::DownloadsOpen() const
|
|
216 |
{
|
|
217 |
return iAllPreferences.iDownloadsOpen;
|
|
218 |
}
|
|
219 |
|
|
220 |
|
|
221 |
// ---------------------------------------------------------
|
|
222 |
// CBrowserPreferences::QueryOnExit
|
|
223 |
// ---------------------------------------------------------
|
|
224 |
//
|
|
225 |
TBool CBrowserPreferences::QueryOnExit() const
|
|
226 |
{
|
|
227 |
return iAllPreferences.iQueryOnExit;
|
|
228 |
}
|
|
229 |
|
|
230 |
// ---------------------------------------------------------
|
|
231 |
// CBrowserPreferences::SendReferrer
|
|
232 |
// ---------------------------------------------------------
|
|
233 |
//
|
|
234 |
TBool CBrowserPreferences::SendReferrer() const
|
|
235 |
{
|
|
236 |
return iAllPreferences.iSendReferrer;
|
|
237 |
}
|
|
238 |
|
|
239 |
// ---------------------------------------------------------
|
|
240 |
// CBrowserPreferences::ShowConnectionDialogs()
|
|
241 |
// ---------------------------------------------------------
|
|
242 |
//
|
|
243 |
TBool CBrowserPreferences::ShowConnectionDialogs() const
|
|
244 |
{
|
|
245 |
return iAllPreferences.iConnDialogs;
|
|
246 |
}
|
|
247 |
|
|
248 |
// ---------------------------------------------------------
|
|
249 |
// CBrowserPreferences::MediaVolume()
|
|
250 |
// ---------------------------------------------------------
|
|
251 |
//
|
|
252 |
TInt CBrowserPreferences::MediaVolume() const
|
|
253 |
{
|
|
254 |
return iAllPreferences.iMediaVolume;
|
|
255 |
}
|
|
256 |
|
|
257 |
// ---------------------------------------------------------
|
|
258 |
// CBrowserPreferences::HomePageType()
|
|
259 |
// ---------------------------------------------------------
|
|
260 |
//
|
|
261 |
TWmlSettingsHomePage CBrowserPreferences::HomePageType() const
|
|
262 |
{
|
|
263 |
return iAllPreferences.iHomePgType;
|
|
264 |
}
|
|
265 |
|
|
266 |
// ---------------------------------------------------------
|
|
267 |
// CBrowserPreferences::PopupBlocking()
|
|
268 |
// ---------------------------------------------------------
|
|
269 |
//
|
|
270 |
TBool CBrowserPreferences::PopupBlocking() const
|
|
271 |
{
|
|
272 |
return iAllPreferences.iPopupBlocking;
|
|
273 |
}
|
|
274 |
|
|
275 |
// ---------------------------------------------------------
|
|
276 |
// CBrowserPreferences::FormDataSaving()
|
|
277 |
// ---------------------------------------------------------
|
|
278 |
//
|
|
279 |
TWmlSettingsFormData CBrowserPreferences::FormDataSaving() const
|
|
280 |
{
|
|
281 |
return iAllPreferences.iFormDataSaving;
|
|
282 |
}
|
|
283 |
|
|
284 |
// ---------------------------------------------------------
|
|
285 |
// CBrowserPreferences::AccessKeys()
|
|
286 |
// ---------------------------------------------------------
|
|
287 |
//
|
|
288 |
TBool CBrowserPreferences::AccessKeys() const
|
|
289 |
{
|
|
290 |
return iAllPreferences.iAccessKeys;
|
|
291 |
}
|
|
292 |
|
|
293 |
|
|
294 |
// ----------------------------------------------------------------------------
|
|
295 |
// CBrowserPreferences::AutomaticUpdatingAP
|
|
296 |
// ----------------------------------------------------------------------------
|
|
297 |
//
|
|
298 |
TUint CBrowserPreferences::AutomaticUpdatingAP() const
|
|
299 |
{
|
|
300 |
return iAllPreferences.iAutomaticUpdatingAP;
|
|
301 |
}
|
|
302 |
|
|
303 |
// ----------------------------------------------------------------------------
|
|
304 |
// CBrowserPreferences::AutomaticUpdatingWhileRoaming
|
|
305 |
// ----------------------------------------------------------------------------
|
|
306 |
//
|
|
307 |
TBool CBrowserPreferences::AutomaticUpdatingWhileRoaming() const
|
|
308 |
{
|
|
309 |
return iAllPreferences.iAutomaticUpdatingWhileRoaming;
|
|
310 |
}
|
|
311 |
// ----------------------------------------------------------------------------
|
|
312 |
// CBrowserPreferences::ShortCutFuncHomePg
|
|
313 |
// ----------------------------------------------------------------------------
|
|
314 |
//
|
|
315 |
HBufC* CBrowserPreferences::ShortCutFuncHomePg() const
|
|
316 |
{
|
|
317 |
return iAllPreferences.iShortCutFuncHomePg;
|
|
318 |
}
|
|
319 |
|
|
320 |
// ----------------------------------------------------------------------------
|
|
321 |
// CBrowserPreferences::ShortCutFuncBkMark
|
|
322 |
// ----------------------------------------------------------------------------
|
|
323 |
//
|
|
324 |
HBufC* CBrowserPreferences::ShortCutFuncBkMark() const
|
|
325 |
{
|
|
326 |
return iAllPreferences.iShortCutFuncBkMark;
|
|
327 |
}
|
|
328 |
|
|
329 |
// ----------------------------------------------------------------------------
|
|
330 |
// CBrowserPreferences::ShortCutFuncFindKeyWord
|
|
331 |
// ----------------------------------------------------------------------------
|
|
332 |
//
|
|
333 |
HBufC* CBrowserPreferences::ShortCutFuncFindKeyWord() const
|
|
334 |
{
|
|
335 |
return iAllPreferences.iShortCutFuncFindKeyWord;
|
|
336 |
}
|
|
337 |
|
|
338 |
// ----------------------------------------------------------------------------
|
|
339 |
// CBrowserPreferences::ShortCutFuncPrePage
|
|
340 |
// ----------------------------------------------------------------------------
|
|
341 |
//
|
|
342 |
HBufC* CBrowserPreferences::ShortCutFuncPrePage() const
|
|
343 |
{
|
|
344 |
return iAllPreferences.iShortCutFuncPrePage;
|
|
345 |
}
|
|
346 |
|
|
347 |
// ----------------------------------------------------------------------------
|
|
348 |
// CBrowserPreferences::ShortCutFuncSwitchWin
|
|
349 |
// ----------------------------------------------------------------------------
|
|
350 |
//
|
|
351 |
HBufC* CBrowserPreferences::ShortCutFuncSwitchWin() const
|
|
352 |
{
|
|
353 |
return iAllPreferences.iShortCutFuncSwitchWin;
|
|
354 |
}
|
|
355 |
|
|
356 |
// ----------------------------------------------------------------------------
|
|
357 |
// CBrowserPreferences::ShortCutFuncMiniImage
|
|
358 |
// ----------------------------------------------------------------------------
|
|
359 |
//
|
|
360 |
HBufC* CBrowserPreferences::ShortCutFuncMiniImage() const
|
|
361 |
{
|
|
362 |
return iAllPreferences.iShortCutFuncMiniImage;
|
|
363 |
}
|
|
364 |
|
|
365 |
// ----------------------------------------------------------------------------
|
|
366 |
// CBrowserPreferences::ShortCutFuncFullScreen
|
|
367 |
// ----------------------------------------------------------------------------
|
|
368 |
//
|
|
369 |
HBufC* CBrowserPreferences::ShortCutFuncFullScreen() const
|
|
370 |
{
|
|
371 |
return iAllPreferences.iShortCutFuncFullScreen;
|
|
372 |
}
|
|
373 |
|
|
374 |
// ----------------------------------------------------------------------------
|
|
375 |
// CBrowserPreferences::ShortCutFuncGoAddr
|
|
376 |
// ----------------------------------------------------------------------------
|
|
377 |
//
|
|
378 |
HBufC* CBrowserPreferences::ShortCutFuncGoAddr() const
|
|
379 |
{
|
|
380 |
return iAllPreferences.iShortCutFuncGoAddr;
|
|
381 |
}
|
|
382 |
|
|
383 |
// ----------------------------------------------------------------------------
|
|
384 |
// CBrowserPreferences::ShortCutFuncZoomIn
|
|
385 |
// ----------------------------------------------------------------------------
|
|
386 |
//
|
|
387 |
HBufC* CBrowserPreferences::ShortCutFuncZoomIn() const
|
|
388 |
{
|
|
389 |
return iAllPreferences.iShortCutFuncZoomIn;
|
|
390 |
}
|
|
391 |
|
|
392 |
// ----------------------------------------------------------------------------
|
|
393 |
// CBrowserPreferences::ShortCutFuncZoomOut
|
|
394 |
// ----------------------------------------------------------------------------
|
|
395 |
//
|
|
396 |
HBufC* CBrowserPreferences::ShortCutFuncZoomOut() const
|
|
397 |
{
|
|
398 |
return iAllPreferences.iShortCutFuncZoomOut;
|
|
399 |
}
|
|
400 |
|
|
401 |
// ----------------------------------------------------------------------------
|
|
402 |
// CBrowserPreferences::ShortCutFuncZoomMode
|
|
403 |
// ----------------------------------------------------------------------------
|
|
404 |
//
|
|
405 |
HBufC* CBrowserPreferences::ShortCutFuncZoomMode() const
|
|
406 |
{
|
|
407 |
return iAllPreferences.iShortCutFuncZoomMode;
|
|
408 |
}
|
|
409 |
|
|
410 |
// ---------------------------------------------------------
|
|
411 |
// CBrowserPreferences::RotateDisplay()
|
|
412 |
// ---------------------------------------------------------
|
|
413 |
//
|
|
414 |
TBool CBrowserPreferences::RotateDisplay() const
|
|
415 |
{
|
|
416 |
return iAllPreferences.iRotateDisplay;
|
|
417 |
}
|
|
418 |
|
|
419 |
|
|
420 |
// ---------------------------------------------------------
|
|
421 |
// CBrowserPreferences::ShowToolbarOnOff()
|
|
422 |
// ---------------------------------------------------------
|
|
423 |
//
|
|
424 |
TInt CBrowserPreferences::ShowToolbarOnOff() const
|
|
425 |
{
|
|
426 |
return iAllPreferences.iToolbarOnOff;
|
|
427 |
}
|
|
428 |
|
|
429 |
|
|
430 |
// ---------------------------------------------------------
|
|
431 |
// CBrowserPreferences::ShowToolbarButton1Cmd()
|
|
432 |
// ---------------------------------------------------------
|
|
433 |
//
|
|
434 |
TInt CBrowserPreferences::ShowToolbarButton1Cmd() const
|
|
435 |
{
|
|
436 |
return iAllPreferences.iToolbarButton1Cmd;
|
|
437 |
}
|
|
438 |
|
|
439 |
|
|
440 |
// ---------------------------------------------------------
|
|
441 |
// CBrowserPreferences::ShowToolbarButton2Cmd()
|
|
442 |
// ---------------------------------------------------------
|
|
443 |
//
|
|
444 |
TInt CBrowserPreferences::ShowToolbarButton2Cmd() const
|
|
445 |
{
|
|
446 |
return iAllPreferences.iToolbarButton2Cmd;
|
|
447 |
}
|
|
448 |
|
|
449 |
// ---------------------------------------------------------
|
|
450 |
// CBrowserPreferences::ShowToolbarButton3Cmd()
|
|
451 |
// ---------------------------------------------------------
|
|
452 |
//
|
|
453 |
TInt CBrowserPreferences::ShowToolbarButton3Cmd() const
|
|
454 |
{
|
|
455 |
return iAllPreferences.iToolbarButton3Cmd;
|
|
456 |
}
|
|
457 |
|
|
458 |
// ---------------------------------------------------------
|
|
459 |
// CBrowserPreferences::ShowToolbarButton4Cmd()
|
|
460 |
// ---------------------------------------------------------
|
|
461 |
//
|
|
462 |
TInt CBrowserPreferences::ShowToolbarButton4Cmd() const
|
|
463 |
{
|
|
464 |
return iAllPreferences.iToolbarButton4Cmd;
|
|
465 |
}
|
|
466 |
|
|
467 |
// ---------------------------------------------------------
|
|
468 |
// CBrowserPreferences::ShowToolbarButton5Cmd()
|
|
469 |
// ---------------------------------------------------------
|
|
470 |
//
|
|
471 |
TInt CBrowserPreferences::ShowToolbarButton5Cmd() const
|
|
472 |
{
|
|
473 |
return iAllPreferences.iToolbarButton5Cmd;
|
|
474 |
}
|
|
475 |
|
|
476 |
// ---------------------------------------------------------
|
|
477 |
// CBrowserPreferences::ShowToolbarButton6Cmd()
|
|
478 |
// ---------------------------------------------------------
|
|
479 |
//
|
|
480 |
TInt CBrowserPreferences::ShowToolbarButton6Cmd() const
|
|
481 |
{
|
|
482 |
return iAllPreferences.iToolbarButton6Cmd;
|
|
483 |
}
|
|
484 |
|
|
485 |
// ---------------------------------------------------------
|
|
486 |
// CBrowserPreferences::ShowToolbarButton7Cmd()
|
|
487 |
// ---------------------------------------------------------
|
|
488 |
//
|
|
489 |
TInt CBrowserPreferences::ShowToolbarButton7Cmd() const
|
|
490 |
{
|
|
491 |
return iAllPreferences.iToolbarButton7Cmd;
|
|
492 |
}
|
|
493 |
|
|
494 |
// ---------------------------------------------------------
|
|
495 |
// CBrowserPreferences::ShortcutKey1Cmd()
|
|
496 |
// ---------------------------------------------------------
|
|
497 |
//
|
|
498 |
TInt CBrowserPreferences::ShortcutKey1Cmd() const
|
|
499 |
{
|
|
500 |
return iAllPreferences.iShortcutKey1Cmd;
|
|
501 |
}
|
|
502 |
|
|
503 |
// ---------------------------------------------------------
|
|
504 |
// CBrowserPreferences::ShortcutKey2Cmd()
|
|
505 |
// ---------------------------------------------------------
|
|
506 |
//
|
|
507 |
TInt CBrowserPreferences::ShortcutKey2Cmd() const
|
|
508 |
{
|
|
509 |
return iAllPreferences.iShortcutKey2Cmd;
|
|
510 |
}
|
|
511 |
|
|
512 |
// ---------------------------------------------------------
|
|
513 |
// CBrowserPreferences::ShortcutKey3Cmd()
|
|
514 |
// ---------------------------------------------------------
|
|
515 |
//
|
|
516 |
TInt CBrowserPreferences::ShortcutKey3Cmd() const
|
|
517 |
{
|
|
518 |
return iAllPreferences.iShortcutKey3Cmd;
|
|
519 |
}
|
|
520 |
|
|
521 |
// ---------------------------------------------------------
|
|
522 |
// CBrowserPreferences::ShortcutKey4Cmd()
|
|
523 |
// ---------------------------------------------------------
|
|
524 |
//
|
|
525 |
TInt CBrowserPreferences::ShortcutKey4Cmd() const
|
|
526 |
{
|
|
527 |
return iAllPreferences.iShortcutKey4Cmd;
|
|
528 |
}
|
|
529 |
|
|
530 |
// ---------------------------------------------------------
|
|
531 |
// CBrowserPreferences::ShortcutKey5Cmd()
|
|
532 |
// ---------------------------------------------------------
|
|
533 |
//
|
|
534 |
TInt CBrowserPreferences::ShortcutKey5Cmd() const
|
|
535 |
{
|
|
536 |
return iAllPreferences.iShortcutKey5Cmd;
|
|
537 |
}
|
|
538 |
|
|
539 |
// ---------------------------------------------------------
|
|
540 |
// CBrowserPreferences::ShortcutKey6Cmd()
|
|
541 |
// ---------------------------------------------------------
|
|
542 |
//
|
|
543 |
TInt CBrowserPreferences::ShortcutKey6Cmd() const
|
|
544 |
{
|
|
545 |
return iAllPreferences.iShortcutKey6Cmd;
|
|
546 |
}
|
|
547 |
|
|
548 |
// ---------------------------------------------------------
|
|
549 |
// CBrowserPreferences::ShortcutKey7Cmd()
|
|
550 |
// ---------------------------------------------------------
|
|
551 |
//
|
|
552 |
TInt CBrowserPreferences::ShortcutKey7Cmd() const
|
|
553 |
{
|
|
554 |
return iAllPreferences.iShortcutKey7Cmd;
|
|
555 |
}
|
|
556 |
|
|
557 |
// ---------------------------------------------------------
|
|
558 |
// CBrowserPreferences::ShortcutKey8Cmd()
|
|
559 |
// ---------------------------------------------------------
|
|
560 |
//
|
|
561 |
TInt CBrowserPreferences::ShortcutKey8Cmd() const
|
|
562 |
{
|
|
563 |
return iAllPreferences.iShortcutKey8Cmd;
|
|
564 |
}
|
|
565 |
|
|
566 |
// ---------------------------------------------------------
|
|
567 |
// CBrowserPreferences::ShortcutKey9Cmd()
|
|
568 |
// ---------------------------------------------------------
|
|
569 |
//
|
|
570 |
TInt CBrowserPreferences::ShortcutKey9Cmd() const
|
|
571 |
{
|
|
572 |
return iAllPreferences.iShortcutKey9Cmd;
|
|
573 |
}
|
|
574 |
|
|
575 |
// ---------------------------------------------------------
|
|
576 |
// CBrowserPreferences::ShortcutKey0Cmd()
|
|
577 |
// ---------------------------------------------------------
|
|
578 |
//
|
|
579 |
TInt CBrowserPreferences::ShortcutKey0Cmd() const
|
|
580 |
{
|
|
581 |
return iAllPreferences.iShortcutKey0Cmd;
|
|
582 |
}
|
|
583 |
|
|
584 |
// ---------------------------------------------------------
|
|
585 |
// CBrowserPreferences::ShortcutKeyStarCmd()
|
|
586 |
// ---------------------------------------------------------
|
|
587 |
//
|
|
588 |
TInt CBrowserPreferences::ShortcutKeyStarCmd() const
|
|
589 |
{
|
|
590 |
return iAllPreferences.iShortcutKeyStarCmd;
|
|
591 |
}
|
|
592 |
|
|
593 |
// ---------------------------------------------------------
|
|
594 |
// CBrowserPreferences::ShortcutKeyHashCmd()
|
|
595 |
// ---------------------------------------------------------
|
|
596 |
//
|
|
597 |
TInt CBrowserPreferences::ShortcutKeyHashCmd() const
|
|
598 |
{
|
|
599 |
return iAllPreferences.iShortcutKeyHashCmd;
|
|
600 |
}
|
|
601 |
|
|
602 |
// ---------------------------------------------------------
|
|
603 |
// CBrowserPreferences::ShortcutKeysForQwerty()
|
|
604 |
// ---------------------------------------------------------
|
|
605 |
//
|
|
606 |
TInt CBrowserPreferences::ShortcutKeysForQwerty() const
|
|
607 |
{
|
|
608 |
return iAllPreferences.iShortcutKeysForQwerty;
|
|
609 |
}
|
|
610 |
|
|
611 |
// ---------------------------------------------------------
|
|
612 |
// CBrowserPreferences::ZoomLevelMinimum()
|
|
613 |
// ---------------------------------------------------------
|
|
614 |
//
|
|
615 |
TUint32 CBrowserPreferences::ZoomLevelMinimum() const
|
|
616 |
{
|
|
617 |
return iAllPreferences.iZoomLevelMin;
|
|
618 |
}
|
|
619 |
|
|
620 |
// ---------------------------------------------------------
|
|
621 |
// CBrowserPreferences::ZoomLevelMaximum()
|
|
622 |
// ---------------------------------------------------------
|
|
623 |
//
|
|
624 |
TUint32 CBrowserPreferences::ZoomLevelMaximum() const
|
|
625 |
{
|
|
626 |
return iAllPreferences.iZoomLevelMax;
|
|
627 |
}
|
|
628 |
|
|
629 |
// ---------------------------------------------------------
|
|
630 |
// CBrowserPreferences::ZoomLevelDefault()
|
|
631 |
// ---------------------------------------------------------
|
|
632 |
//
|
|
633 |
TUint32 CBrowserPreferences::ZoomLevelDefault() const
|
|
634 |
{
|
|
635 |
return iAllPreferences.iZoomLevelDefault;
|
|
636 |
}
|
|
637 |
|
|
638 |
|
|
639 |
// ---------------------------------------------------------
|
|
640 |
// CBrowserPreferences::CursorShowMode()
|
|
641 |
// ---------------------------------------------------------
|
|
642 |
//
|
|
643 |
TBrCtlDefs::TCursorSettings CBrowserPreferences::CursorShowMode() const
|
|
644 |
{
|
|
645 |
return iAllPreferences.iCursorShowMode;
|
|
646 |
}
|
|
647 |
|
|
648 |
// ----------------------------------------------------------------------------
|
|
649 |
// CBrowserPreferences::URLSuffixList
|
|
650 |
// ----------------------------------------------------------------------------
|
|
651 |
//
|
|
652 |
HBufC* CBrowserPreferences::URLSuffixList() const
|
|
653 |
{
|
|
654 |
return iAllPreferences.iUrlSuffixList;
|
|
655 |
}
|
|
656 |
|
|
657 |
// ----------------------------------------------------------------------------
|
|
658 |
// CBrowserPreferences::MaxRecentUrls
|
|
659 |
// ----------------------------------------------------------------------------
|
|
660 |
//
|
|
661 |
TInt CBrowserPreferences::MaxRecentUrls() const
|
|
662 |
{
|
|
663 |
return iAllPreferences.iMaxRecentUrlsToShow;
|
|
664 |
}
|
|
665 |
|
|
666 |
// ----------------------------------------------------------------------------
|
|
667 |
// CBrowserPreferences::SearchFeature
|
|
668 |
// ----------------------------------------------------------------------------
|
|
669 |
//
|
|
670 |
TInt CBrowserPreferences::SearchFeature() const
|
|
671 |
{
|
|
672 |
return iAllPreferences.iSearch;
|
|
673 |
}
|
|
674 |
|
|
675 |
// ----------------------------------------------------------------------------
|
|
676 |
// CBrowserPreferences::ServiceFeature
|
|
677 |
// ----------------------------------------------------------------------------
|
|
678 |
//
|
|
679 |
TInt CBrowserPreferences::ServiceFeature() const
|
|
680 |
{
|
|
681 |
return iAllPreferences.iService;
|
|
682 |
}
|
|
683 |
|
|
684 |
// ---------------------------------------------------------
|
|
685 |
// CBrowserPreferences::EnterKeyMode()
|
|
686 |
// ---------------------------------------------------------
|
|
687 |
//
|
|
688 |
TBrCtlDefs::TEnterKeySettings CBrowserPreferences::EnterKeyMode() const
|
|
689 |
{
|
|
690 |
return iAllPreferences.iEnterKeyMode;
|
|
691 |
}
|
|
692 |
|
|
693 |
#endif
|
|
694 |
|
|
695 |
// End of File
|