phonesettings/cpphonesettingsplugins/barringplugin/src/cpbarringplugin.cpp
changeset 22 6bb1b21d2484
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
     1 /*
     1 /*
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    42 }
    42 }
    43 
    43 
    44 /*!
    44 /*!
    45     CpBarringPlugin::createSettingFormItemData.
    45     CpBarringPlugin::createSettingFormItemData.
    46  */
    46  */
    47 CpSettingFormItemData *CpBarringPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    47 QList<CpSettingFormItemData*> CpBarringPlugin::createSettingFormItemData(
       
    48         CpItemDataHelper &itemDataHelper) const
    48 {
    49 {
    49     DPRINT;
    50     DPRINT;
    50     return new CpBarringPluginGroup(itemDataHelper);
    51     QList<CpSettingFormItemData*> ret;
       
    52     ret.append(new CpBarringPluginGroup(itemDataHelper));
       
    53     return ret;
    51 }
    54 }
    52 
    55 
    53 Q_EXPORT_PLUGIN2(CpBarringPlugin, CpBarringPlugin);
    56 Q_EXPORT_PLUGIN2(CpBarringPlugin, CpBarringPlugin);