qtmobility/src/contacts/qcontactactionfactory.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    45 
    45 
    46 /*!
    46 /*!
    47   \class QContactActionFactory
    47   \class QContactActionFactory
    48   \brief The QContactActionFactory class provides an interface for clients
    48   \brief The QContactActionFactory class provides an interface for clients
    49   to retrieve instances of action implementations
    49   to retrieve instances of action implementations
       
    50   \ingroup contacts-actions
    50  */
    51  */
    51 
    52 
    52 QContactActionFactory::~QContactActionFactory()
    53 QContactActionFactory::~QContactActionFactory()
    53 {
    54 {
    54 }
       
    55 
       
    56 uint qHash(const QContactActionDescriptor& ad)
       
    57 {
       
    58     return qHash(ad.actionName()) + qHash(ad.vendorName()) + ad.implementationVersion();
       
    59 }
    55 }
    60 
    56 
    61 /*!
    57 /*!
    62  * \fn QContactActionFactory::~QContactActionFactory()
    58  * \fn QContactActionFactory::~QContactActionFactory()
    63  * Clears any memory in use by this factory
    59  * Clears any memory in use by this factory