equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 #include <cpsettingformentryitemdataimpl.h> |
17 #include <cpsettingformentryitemdataimpl.h> |
|
18 |
18 #include "cpnetworkplugin.h" |
19 #include "cpnetworkplugin.h" |
19 #include "cpnetworkpluginview.h" |
20 #include "cpnetworkpluginview.h" |
20 #include "cppluginlogging.h" |
21 #include "cppluginlogging.h" |
21 |
22 |
22 |
23 |
23 /*! |
24 /*! |
24 CpNetworkPlugin::CpNetworkPlugin |
25 CpNetworkPlugin::CpNetworkPlugin |
25 */ |
26 */ |
26 CpNetworkPlugin::CpNetworkPlugin() : |
27 CpNetworkPlugin::CpNetworkPlugin() : |
27 QObject(NULL), |
28 QObject(NULL), |
28 m_localisation(NULL), |
29 m_translator(NULL), |
29 m_networkStatus(NULL) |
30 m_networkStatus(NULL) |
30 { |
31 { |
31 INSTALL_TRACE_MSG_HANDLER; |
32 INSTALL_TRACE_MSG_HANDLER; |
32 DPRINT << ": IN"; |
33 DPRINT << ": IN"; |
33 |
34 |
34 // Create guarded objects |
35 m_translator.reset(new HbTranslator(QString("telephone_cp"))); |
35 m_localisation.reset(new PhoneLocalisation); |
36 m_translator->loadCommon(); |
36 m_networkStatus.reset(new CpNetworkStatus); |
37 m_networkStatus.reset(new CpNetworkStatus); |
37 |
|
38 // Install required translations |
|
39 m_localisation->installTranslator( |
|
40 PhoneLocalisation:: |
|
41 TranslationFileCommon); |
|
42 |
38 |
43 DPRINT << ": OUT"; |
39 DPRINT << ": OUT"; |
44 } |
40 } |
45 |
41 |
46 |
42 |