|
1 /* |
|
2 * Copyright (c) 2010 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 * A class which takes care of reading the possible new |
|
16 * service centres from SIM and adds them to pda-side Sms Settings. |
|
17 * |
|
18 */ |
|
19 |
|
20 // INCLUDE FILES |
|
21 |
|
22 #include <hbmessagebox.h> |
|
23 |
|
24 #include "ringbc.h" |
|
25 #include "ringbc_p.h" |
|
26 #include "ringbctoneconverter.h" |
|
27 #include "debugtraces.h" |
|
28 |
|
29 // ================= MEMBER FUNCTIONS ======================= |
|
30 |
|
31 // ---------------------------------------------------------------------------- |
|
32 // RingBc::RingBc |
|
33 // @see ringbc.h |
|
34 // ---------------------------------------------------------------------------- |
|
35 RingBc::RingBc() |
|
36 { |
|
37 QDEBUG_WRITE("RingBc::RingBc : Enter") |
|
38 d_ptr = q_check_ptr(new RingBcPrivate()); |
|
39 QDEBUG_WRITE("RingBc::RingBc : Exit") |
|
40 } |
|
41 |
|
42 // ---------------------------------------------------------------------------- |
|
43 // RingBc::RingBc |
|
44 // @see ringbc.h |
|
45 // ---------------------------------------------------------------------------- |
|
46 RingBc::~RingBc() |
|
47 { |
|
48 QDEBUG_WRITE("RingBc::~RingBc : Enter") |
|
49 delete d_ptr; |
|
50 QDEBUG_WRITE("~RingBc::RingBc : Exit") |
|
51 } |
|
52 |
|
53 // ---------------------------------------------------------------------------- |
|
54 // RingBc::saveTone |
|
55 // @see ringbc.h |
|
56 // ---------------------------------------------------------------------------- |
|
57 void RingBc::saveTone(const QString &path) |
|
58 { |
|
59 QDEBUG_WRITE("RingBc::saveTone : Enter") |
|
60 d_ptr->saveTone(path); |
|
61 QDEBUG_WRITE("RingBc::saveTone : Exit") |
|
62 } |
|
63 |
|
64 // ---------------------------------------------------------------------------- |
|
65 // RingBc::toneTitle |
|
66 // @see ringbc.h |
|
67 // ---------------------------------------------------------------------------- |
|
68 QString RingBc::toneTitle(const QString &path) |
|
69 { |
|
70 QDEBUG_WRITE("RingBc::toneTitle : Enter") |
|
71 return d_ptr->toneTitle(path); |
|
72 } |
|
73 |
|
74 // End of File |