connectionmonitoring/cellularindicatorplugin/src/cellularindicatorplugin.cpp
changeset 20 9c97ad6591ae
parent 18 fcbbe021d614
child 27 489cf6208544
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
    38 
    38 
    39 /*!
    39 /*!
    40     CellularIndicatorPlugin::CellularIndicatorPlugin
    40     CellularIndicatorPlugin::CellularIndicatorPlugin
    41  */
    41  */
    42 CellularIndicatorPlugin::CellularIndicatorPlugin() :
    42 CellularIndicatorPlugin::CellularIndicatorPlugin() :
    43     HbIndicatorInterface(IndicatorType, GroupPriorityAverage,
    43     HbIndicatorInterface(IndicatorType, SettingCategory,
    44         InteractionActivated),
    44         InteractionActivated),
    45     mError(0)
    45     mError(0)
    46 {
    46 {
    47     OstTraceFunctionEntry0( CELLULARINDICATORPLUGIN_CELLULARINDICATORPLUGIN_ENTRY );
    47     OstTraceFunctionEntry0( CELLULARINDICATORPLUGIN_CELLULARINDICATORPLUGIN_ENTRY );
    48     mIndicatorTypes <<
    48     mIndicatorTypes <<
    71 
    71 
    72 /*!
    72 /*!
    73     CellularIndicatorPlugin::accessAllowed
    73     CellularIndicatorPlugin::accessAllowed
    74  */
    74  */
    75 bool CellularIndicatorPlugin::accessAllowed(const QString &indicatorType,
    75 bool CellularIndicatorPlugin::accessAllowed(const QString &indicatorType,
    76     const HbSecurityInfo *securityInfo) const
    76     const QVariantMap &securityInfo) const
    77 {
    77 {
    78     OstTraceFunctionEntry0( CELLULARINDICATORPLUGIN_ACCESSALLOWED_ENTRY );
    78     OstTraceFunctionEntry0( CELLULARINDICATORPLUGIN_ACCESSALLOWED_ENTRY );
    79     Q_UNUSED(indicatorType)
    79     Q_UNUSED(indicatorType)
    80     Q_UNUSED(securityInfo)
    80     Q_UNUSED(securityInfo)
    81 
    81 
   215                 ret = str.arg(iapName);
   215                 ret = str.arg(iapName);
   216             }
   216             }
   217         }
   217         }
   218         break;
   218         break;
   219 
   219 
   220     case IconNameRole:
       
   221     case DecorationNameRole:
   220     case DecorationNameRole:
   222         // Return the icon
   221         // Return the icon
   223         ret = HbIcon("qtg_small_gprs");
   222         ret = HbIcon("qtg_small_gprs");
   224         break;
   223         break;
   225     
   224