homescreenapp/hsmenuclientplugin/src/hsmenuclient.cpp
changeset 46 23b5d6a29cce
parent 39 4e8ebe173323
child 60 30f14686fb04
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
    29 
    29 
    30 
    30 
    31 /*!
    31 /*!
    32     \class HsMenuClient
    32     \class HsMenuClient
    33     \ingroup group_hsmenuclient
    33     \ingroup group_hsmenuclient
    34     \brief Implements home screen menu api, see \ref page_hsmenuclient for 
    34     \brief Implements home screen menu api, see @ref page_hsmenuclient for 
    35     usage details.
    35     usage details.
    36     
    36     
    37 */
    37 */
    38 
    38 
    39 HsMenuClient::HsMenuClient(QObject *parent)
    39 HsMenuClient::HsMenuClient(QObject *parent)
    47     delete m_d;
    47     delete m_d;
    48 }
    48 }
    49 
    49 
    50 /*!
    50 /*!
    51  Add an Templated Application Entry or Update if entryPreferences contains paramter id see 
    51  Add an Templated Application Entry or Update if entryPreferences contains paramter id see 
    52  \ref page_hsmenuclient for exmaple usages
    52  \ref section_add_parametrized_widget for exmaple usages
    53  \param entryPreference entry prefereneces
    53  \param entryPreference entry prefereneces
    54  \retval true if operation was successful
    54  \retval true if operation was successful
    55  */
    55  */
    56 bool HsMenuClient::add(const QVariantMap &entryPreference)
    56 bool HsMenuClient::add(const QVariantMap &entryPreference)
    57 {    
    57 {    
    58     return m_d->add(entryPreference);
    58     return m_d->add(entryPreference);
    59 }
    59 }
    60 /*!
    60 /*!
    61  Remove an Templated Application Entry see 
    61  Remove an Templated Application Entry see 
    62  \ref page_gsmenuclient for exmaple usages
    62  \ref section_remove_tapp for exmaple usages
    63  \param entry entry prefereneces
    63  \param entry entry prefereneces
    64  \retval true if operation was successful
    64  \retval true if operation was successful
    65  */
    65  */
    66 bool HsMenuClient::remove(const QVariantMap &entry) const
    66 bool HsMenuClient::remove(const QVariantMap &entry) const
    67 {
    67 {
    68     return m_d->remove(entry);
    68     return m_d->remove(entry);
    69 }
    69 }
    70 /*!
    70 /*!
    71  Get list of Templated Application Entrys see 
    71  Get list of Templated Application Entrys see 
    72  \ref page_hsmenuclient for exmaple usages
    72  \ref section_list_tapp for exmaple usages
    73  \param queryPreference prefereneces for query db
    73  \param queryPreference prefereneces for query db
    74  \retval QList
    74  \retval QList
    75  */
    75  */
    76 QList<QVariantMap > HsMenuClient::getList(const QVariantMap &queryPreference)
    76 QList<QVariantMap > HsMenuClient::getList(const QVariantMap &queryPreference)
    77 {
    77 {