equal
deleted
inserted
replaced
26 #include <gsmerror.h> |
26 #include <gsmerror.h> |
27 #include <settingsinternalcrkeys.h> |
27 #include <settingsinternalcrkeys.h> |
28 #include <LogsDomainCRKeys.h> |
28 #include <LogsDomainCRKeys.h> |
29 #include <BTSapDomainPSKeys.h> |
29 #include <BTSapDomainPSKeys.h> |
30 #include <NumberGroupingCRKeys.h> |
30 #include <NumberGroupingCRKeys.h> |
31 #include <QPluginLoader> |
|
32 #include <cppluginplatinterface.h> |
|
33 #include <hbglobal.h> |
31 #include <hbglobal.h> |
34 #include <CoreApplicationUIsSDKCRKeys.h> |
32 #include <CoreApplicationUIsSDKCRKeys.h> |
35 #include "cptelephonyutilsdefs.h" |
33 #include "cptelephonyutilsdefs.h" |
36 #include "cpplugincommon.h" |
34 #include "cpplugincommon.h" |
37 #include "cppluginlogging.h" |
35 #include "cppluginlogging.h" |
39 const int CenrepKeyValueOff = 0; |
37 const int CenrepKeyValueOff = 0; |
40 const int CenrepKeyValueOn = 1; |
38 const int CenrepKeyValueOn = 1; |
41 |
39 |
42 const int SoftRejectTextDefault = 0; |
40 const int SoftRejectTextDefault = 0; |
43 const int SoftRejectTextUserDefined = 1; |
41 const int SoftRejectTextUserDefined = 1; |
44 |
|
45 /*! |
|
46 Tools::loadCpPlugin |
|
47 */ |
|
48 CpPluginPlatInterface* Tools::loadCpPlugin(const QString& name) |
|
49 { |
|
50 QPluginLoader loader("\\resource\\qt\\plugins\\controlpanel\\"+name+".qtplugin"); |
|
51 return qobject_cast<CpPluginPlatInterface*> (loader.instance()); |
|
52 } |
|
53 |
|
54 /*! |
|
55 Tools::unloadCpPlugin |
|
56 */ |
|
57 bool Tools::unloadCpPlugin(const QString& name) |
|
58 { |
|
59 QPluginLoader loader("\\resource\\qt\\plugins\\controlpanel\\"+name+".qtplugin"); |
|
60 return loader.unload(); |
|
61 } |
|
62 |
42 |
63 /*! |
43 /*! |
64 Tools::voipSupported |
44 Tools::voipSupported |
65 */ |
45 */ |
66 bool Tools::voipSupported() |
46 bool Tools::voipSupported() |