contentstorage/cahandler/tapp/src/catapphandler.cpp
changeset 116 305818acdca4
parent 98 d2f833ab7940
child 125 26079c1bb561
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
    56 /*!
    56 /*!
    57  Executes \a command by default "open" on template application represented by \a entry.
    57  Executes \a command by default "open" on template application represented by \a entry.
    58  Uses XQApplicationManager
    58  Uses XQApplicationManager
    59  \param entry Subject of the \a command.
    59  \param entry Subject of the \a command.
    60  \param command Description of the command.
    60  \param command Description of the command.
       
    61  \param receiver a QObject class with slot to invoke.
       
    62  \param member a slot to invoke.
    61  \retval Error code described in QSERVICEMANAGER.H
    63  \retval Error code described in QSERVICEMANAGER.H
    62  */
    64  */
    63 int CaTappHandler::execute(const CaEntry& entry, const QString& command)
    65 int CaTappHandler::execute(const CaEntry& entry, const QString& command, 
       
    66         QObject* receiver, const char* member)
    64 {
    67 {
       
    68 	Q_UNUSED(receiver);
       
    69 	Q_UNUSED(member);
    65     // this returns Error enum from QSERVICEMANAGER.H
    70     // this returns Error enum from QSERVICEMANAGER.H
    66     int error = 0;
    71     int error = 0;
    67     if (command == caCmdOpen) {
    72     if (command == caCmdOpen) {
    68         QString attribute = entry.attribute(hsitemLaunchUri);
    73         QString attribute = entry.attribute(hsitemLaunchUri);
    69         if (!attribute.isNull()) {
    74         if (!attribute.isNull()) {