systemsettings/accindicatorplugin/src/accindicator.cpp
changeset 46 eea20ed08f4b
parent 28 b0b858956ed5
child 72 56a7be608841
--- a/systemsettings/accindicatorplugin/src/accindicator.cpp	Fri Jun 11 13:48:03 2010 +0300
+++ b/systemsettings/accindicatorplugin/src/accindicator.cpp	Tue Jun 29 10:40:11 2010 +0300
@@ -27,7 +27,7 @@
 
 AccIndicatorPlugin::AccIndicatorPlugin() :
 HbIndicatorInterface(IndicatorType,
-        HbIndicatorInterface::GroupPriorityLow,
+        HbIndicatorInterface::SettingCategory,
         InteractionActivated)
     {
     mIndicatorTypes << "com.nokia.accessory.indicatorplugin/1.0";
@@ -75,8 +75,7 @@
 // this plugin it always returns true.
 // ----------------------------------------------------------------------------
 
-bool AccIndicatorPlugin::accessAllowed(const QString &indicatorType,
-    const HbSecurityInfo *securityInfo) const
+bool AccIndicatorPlugin::accessAllowed(const QString &indicatorType,const QVariantMap &securityInfo) const
     {
     Q_UNUSED(indicatorType)
     Q_UNUSED(securityInfo)
@@ -129,7 +128,7 @@
             return type;
             }
         //for displaying the icon in indicator.
-        case DecorationNameRole:
+        case MonoDecorationNameRole:
             {
             QString iconName;
             if(mAccType == KPCWired || mAccType == KPCUSB)