homescreenapp/widgetplugins/hsshortcutwidgetplugin/src/hsshortcutwidgetplugin.cpp
changeset 39 4e8ebe173323
parent 36 cdae8c6c3876
equal deleted inserted replaced
36:cdae8c6c3876 39:4e8ebe173323
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Homescreen widget plugin
    14 * Description: Homescreen shortcut widget plugin.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include <qserviceinterfacedescriptor.h>
    18 #include <qserviceinterfacedescriptor.h>
    19 #include <qabstractsecuritysession.h>
    19 #include <qabstractsecuritysession.h>
    24 
    24 
    25 #ifdef COVERAGE_MEASUREMENT
    25 #ifdef COVERAGE_MEASUREMENT
    26 #pragma CTC SKIP
    26 #pragma CTC SKIP
    27 #endif //COVERAGE_MEASUREMENT
    27 #endif //COVERAGE_MEASUREMENT
    28 
    28 
    29 /**
    29 /*!
    30     \class HsShortcutWidgetPlugin
    30     \class HsShortcutWidgetPlugin
    31     \ingroup group_hsshortcutwidgetplugin
    31     \ingroup group_hsshortcutwidgetplugin
    32     \brief Homescreen shortcut widget plugin collects ready-made homescreen shortcut widget(s).
    32     \brief The plugin part of the homescreen shortcut widget.
    33 
       
    34     This library includes homescreen shortcut widgets implemented by homescreen scrum team.
       
    35     This plugin provides widgets that are described in the  hsshortcutwidgetplugin.xml plugin
       
    36     xml file.
       
    37 */
    33 */
    38 
    34 
    39 /*!
    35 /*!
    40     Creates widget object.
    36     Instantiates and returns new shortcut widget.
    41 */
    37 */
    42 QObject *HsShortcutWidgetPlugin::createInstance(const QServiceInterfaceDescriptor &descriptor,
    38 QObject *HsShortcutWidgetPlugin::createInstance(const QServiceInterfaceDescriptor &descriptor,
    43                                                 QServiceContext *context,
    39                                                 QServiceContext *context,
    44                                                 QAbstractSecuritySession *session)
    40                                                 QAbstractSecuritySession *session)
    45 {
    41 {