contentstorage/caclient/src/caservice.cpp
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
child 104 9b022b1f357c
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
   971 /*!
   971 /*!
   972  Search for entries.
   972  Search for entries.
   973  \param entryIdList list of entry ids
   973  \param entryIdList list of entry ids
   974  \retval list of entries (pointers)
   974  \retval list of entries (pointers)
   975  */
   975  */
   976 QList< QSharedPointer<CaEntry> > CaServicePrivate::getEntries(const QList<int> &entryIdList) const
   976 QList< QSharedPointer<CaEntry> > CaServicePrivate::getEntries(
       
   977     const QList<int> &entryIdList) const
   977 {
   978 {
   978     qDebug() << "CaServicePrivate::getEntries"
   979     qDebug() << "CaServicePrivate::getEntries"
   979              << "entryIdList:" << entryIdList;
   980              << "entryIdList:" << entryIdList;
   980 
   981 
   981     CACLIENTTEST_FUNC_ENTRY("CaServicePrivate::getEntries");
   982     CACLIENTTEST_FUNC_ENTRY("CaServicePrivate::getEntries");
  1336     qDebug() << "CaServicePrivate::executeCommand"
  1337     qDebug() << "CaServicePrivate::executeCommand"
  1337              << "entry id:" << entry.id() << "command:" << command;
  1338              << "entry id:" << entry.id() << "command:" << command;
  1338 
  1339 
  1339     CACLIENTTEST_FUNC_ENTRY("CaServicePrivate::executeCommand");
  1340     CACLIENTTEST_FUNC_ENTRY("CaServicePrivate::executeCommand");
  1340 
  1341 
       
  1342     if (entry.flags() & UninstallEntryFlag) {
       
  1343         return false;
       
  1344     }    
       
  1345     
  1341     if (command == caCmdOpen) {
  1346     if (command == caCmdOpen) {
  1342         touch(entry);
  1347         touch(entry);
  1343     }
  1348     }
  1344 
  1349 
  1345     mErrorCode = mCommandHandler->execute(entry, command);
  1350     mErrorCode = mCommandHandler->execute(entry, command);