phoneplugins/infowidgetplugin/infowidget/src/infowidgetengine_s.cpp
branchRCL_3
changeset 61 41a7f70b3818
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     1 /*
       
     2  * Copyright (c) 2009 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  *
       
    16  */
       
    17 
       
    18 #include "infowidgetengine.h"
       
    19 #include "infowidgetlogging.h"
       
    20 
       
    21 /*!
       
    22   Stubbed class implementation for testing  
       
    23   Widget on windows/other environment.  
       
    24 */
       
    25 
       
    26 
       
    27 /*!
       
    28    InfoWidgetEngine::InfoWidgetEngine
       
    29  */
       
    30 InfoWidgetEngine::InfoWidgetEngine(QObject *parent): 
       
    31     QObject(parent),
       
    32     m_networkHandler(NULL),
       
    33     m_satHandler(NULL)
       
    34 {
       
    35     DPRINT << ": STUBBED";
       
    36 }
       
    37 
       
    38 /*!
       
    39    InfoWidgetEngine::~InfoWidgetEngine
       
    40  */
       
    41 InfoWidgetEngine::~InfoWidgetEngine()
       
    42 {
       
    43     DPRINT << ": STUBBED";
       
    44 }    
       
    45 
       
    46 /*!
       
    47    InfoWidgetEngine::modelData
       
    48  */
       
    49 const InfoWidgetEngine::ModelData& InfoWidgetEngine::modelData() const
       
    50 {
       
    51     DPRINT << ": STUBBED";
       
    52     return m_modelData; 
       
    53 }
       
    54 
       
    55 /*!
       
    56    InfoWidgetEngine::updateNetworkDataToModel() 
       
    57  */
       
    58 void InfoWidgetEngine::updateNetworkDataToModel()
       
    59 {
       
    60     DPRINT << ": STUBBED"; 
       
    61 }
       
    62 
       
    63 /*!
       
    64    InfoWidgetEngine::updateSatDataToModel
       
    65  */
       
    66 void InfoWidgetEngine::updateSatDataToModel()
       
    67 {
       
    68     DPRINT << ": STUBBED";
       
    69 }
       
    70 
       
    71 /*!
       
    72    InfoWidgetEngine::updateLineDataToModel
       
    73  */
       
    74 void InfoWidgetEngine::updateLineDataToModel()
       
    75 {
       
    76     DPRINT << ": STUBBED";
       
    77 }
       
    78 
       
    79 /*!
       
    80    InfoWidgetEngine::handleNetworkError
       
    81  */
       
    82 void InfoWidgetEngine::handleNetworkError(
       
    83         int operation, int errorCode)
       
    84 {
       
    85     DPRINT << ": STUBBED"; 
       
    86 }
       
    87 
       
    88 /*!
       
    89    InfoWidgetEngine::handleSatError
       
    90  */
       
    91 void InfoWidgetEngine::handleSatError(
       
    92         int operation, int errorCode)
       
    93 {
       
    94     DPRINT << ": STUBBED"; 
       
    95 }
       
    96 
       
    97 /*!
       
    98    InfoWidgetEngine::handleLineError
       
    99  */
       
   100 void InfoWidgetEngine::handleLineError(
       
   101         int operation, int errorCode)
       
   102 {
       
   103     DPRINT << ": STUBBED"; 
       
   104 }
       
   105 
       
   106 /*!
       
   107    InfoWidgetEngine::handlePreferencesChanged
       
   108  */
       
   109 void InfoWidgetEngine::handlePreferencesChanged(
       
   110         InfoWidgetPreferences::Options options)
       
   111 {
       
   112     DPRINT << ": STUBBED";
       
   113 }
       
   114 
       
   115 /*!
       
   116    InfoWidgetEngine::suspend
       
   117  */
       
   118 void InfoWidgetEngine::suspend() 
       
   119 {
       
   120     DPRINT << ": STUBBED";
       
   121 }
       
   122 
       
   123 /*!
       
   124    InfoWidgetEngine::preferenceChanged
       
   125  */
       
   126 void InfoWidgetEngine::resume()
       
   127 {
       
   128     DPRINT << ": STUBBED"; 
       
   129 }
       
   130 
       
   131 
       
   132 // End of File. 
       
   133