contentstorage/caclient/src/caservice.cpp
changeset 98 d2f833ab7940
parent 96 5d243a69bdda
child 99 7aaf39b772ac
equal deleted inserted replaced
97:1e962b12a8db 98:d2f833ab7940
   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);