diff -r 2f8f8080a020 -r ebdbd102c78a phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonypluginview.cpp --- a/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonypluginview.cpp Mon May 03 12:31:11 2010 +0300 +++ b/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonypluginview.cpp Fri May 14 15:51:57 2010 +0300 @@ -18,9 +18,6 @@ #include "cptelephonypluginview.h" #include "cppluginlogging.h" #include -#include -#include -#include #include #include #include @@ -28,24 +25,16 @@ #include #include + +/*! + CpTelephonyPluginView::CpTelephonyPluginView() +*/ CpTelephonyPluginView::CpTelephonyPluginView() : CpBaseSettingView(0,0), m_helper(NULL) { DPRINT << ": IN"; - // Localization file loading - QTranslator translator; - QString lang = QLocale::system().name(); - QString path = "z:/resource/qt/translations/"; - DPRINT << ": loading translation: " << QString(path + "telephone_cp_" + lang); - bool translatorLoaded = translator.load(path + "telephone_cp_" + lang); - DPRINT << ": translator loaded: " << translatorLoaded; - if (translatorLoaded) { - qApp->installTranslator(&translator); - DPRINT << ": translator installed"; - } - HbDataForm *form = qobject_cast(widget()); if (form) { HbDataFormModel *model = new HbDataFormModel; @@ -81,6 +70,9 @@ DPRINT << ": OUT"; } +/*! + CpTelephonyPluginView::~CpTelephonyPluginView() +*/ CpTelephonyPluginView::~CpTelephonyPluginView() { DPRINT << ": IN"; @@ -90,6 +82,9 @@ DPRINT << ": OUT"; } +/*! + CpTelephonyPluginView::groupItemFromPlugin() +*/ QList CpTelephonyPluginView::groupItemFromPlugin( const QString& plugin ) { DPRINT << ": IN"; @@ -110,6 +105,9 @@ return items; } +/*! + CpTelephonyPluginView::initializeItemDataHelper() +*/ CpItemDataHelper* CpTelephonyPluginView::initializeItemDataHelper() { DPRINT;