phoneplugins/infowidgetplugin/infowidget/src/infowidgetengine.cpp
changeset 50 377c906a8701
parent 46 bc5a64e5bc3c
--- a/phoneplugins/infowidgetplugin/infowidget/src/infowidgetengine.cpp	Tue Jul 06 14:15:47 2010 +0300
+++ b/phoneplugins/infowidgetplugin/infowidget/src/infowidgetengine.cpp	Fri Jul 09 15:40:55 2010 +0300
@@ -30,7 +30,7 @@
 
 
 /*!
-   InfoWidgetEngine::InfoWidgetEngine
+   Constructor. 
  */
 InfoWidgetEngine::InfoWidgetEngine(QObject *parent): 
     QObject(parent),
@@ -63,7 +63,7 @@
 }
 
 /*!
-   InfoWidgetEngine::~InfoWidgetEngine
+   Destructor. 
  */
 InfoWidgetEngine::~InfoWidgetEngine()
 {
@@ -71,8 +71,6 @@
 }    
 
 /*!
-   InfoWidgetEngine::modelData
-   
    Getter for model data. 
  */
 const InfoWidgetEngine::ModelData& InfoWidgetEngine::modelData() const
@@ -82,12 +80,11 @@
 }
 
 /*!
-   InfoWidgetEngine::updateNetworkDataToModel
-   
    Updates Network Handler's network data to model. 
  */
 void InfoWidgetEngine::updateNetworkDataToModel()
 {
+    DPRINT;
     if (m_networkHandler->isOnline()) {
         DPRINT << ": online, update data";
         m_modelData.setServiceProviderName(
@@ -110,15 +107,10 @@
         m_modelData.setMcnName("");
         m_modelData.setHomeZoneTextTag(""); 
     }
-        
     emit modelChanged();
-    
-    DPRINT << ": OUT";
 }
 
 /*!
-   InfoWidgetEngine::updateSatDataToModel
-   
    Updates SAT handler's SAT data to model.
  */
 void InfoWidgetEngine::updateSatDataToModel()
@@ -133,7 +125,7 @@
 }
 
 /*!
-   InfoWidgetEngine::updateLineDataToModel
+   Updates line handler's data to model. 
  */
 void InfoWidgetEngine::updateLineDataToModel()
 {
@@ -141,7 +133,7 @@
 }
 
 /*!
-   InfoWidgetEngine::handleNetworkError
+   Network error handler.  
  */
 void InfoWidgetEngine::handleNetworkError(
         int operation, int errorCode)
@@ -151,7 +143,7 @@
 }
 
 /*!
-   InfoWidgetEngine::handleSatError
+   SAT error handler. 
  */
 void InfoWidgetEngine::handleSatError(
         int operation, int errorCode)
@@ -161,7 +153,7 @@
 }
 
 /*!
-   InfoWidgetEngine::handleLineError
+   Line error handler. 
  */
 void InfoWidgetEngine::handleLineError(
         int operation, int errorCode)
@@ -182,7 +174,6 @@
         } else {
             m_networkHandler->disableMcn();
         }
-
     if (options.testFlag(InfoWidgetPreferences::DisplaySatText)){
             m_satHandler->connect(true);
         } else {
@@ -191,8 +182,6 @@
 }
 
 /*!
-   InfoWidgetEngine::suspend
-   
    Called when widget is deactivated 
    and widget should suspend all 
    possible activities 
@@ -204,8 +193,6 @@
 }
 
 /*!
-   InfoWidgetEngine::preferenceChanged
-   
    Called when widget is activated 
    and widget can resume activities
  */