phonebookui/phonebookservices/inc/cntservices.h
changeset 81 640d30f4fb64
parent 72 6abfb1094884
equal deleted inserted replaced
77:c18f9fa7f42e 81:640d30f4fb64
   167     void removeNotSupportedFields(QContact& contact);
   167     void removeNotSupportedFields(QContact& contact);
   168     void removeNotSupportedDetails(QContact& contact);
   168     void removeNotSupportedDetails(QContact& contact);
   169     void fillOnlineAccount( QContactOnlineAccount& account, const QString& value, const QString& subType, bool defaultForOnlineAccountIsImpp);
   169     void fillOnlineAccount( QContactOnlineAccount& account, const QString& value, const QString& subType, bool defaultForOnlineAccountIsImpp);
   170     QContactManager* contactManager();
   170     QContactManager* contactManager();
   171     
   171     
   172     /**
       
   173      * Checks if we already have the given contact global uid in database. If so,
       
   174      * updates the local id and managerUri accordingly.
       
   175      * 
       
   176      * If given contact has already a local id, method does nothing.
       
   177      */
       
   178     void updateLocalId( QContact& aContact );
       
   179     
       
   180 private: // from CntAbstractServiceProvider
   172 private: // from CntAbstractServiceProvider
   181     void CompleteServiceAndCloseApp(const QVariant& retValue);
   173     void CompleteServiceAndCloseApp(const QVariant& retValue);
   182     void overrideReturnValue(const QVariant& retValue);
   174     void overrideReturnValue(const QVariant& retValue);
   183     bool allowSubViewsExit();
   175     bool allowSubViewsExit();
   184 private:
   176 private:
   185     CntAbstractViewManager* mViewManager; // not owned
   177     CntAbstractViewManager* mViewManager; // not owned
   186     CntAbstractEngine* mEngine;
   178     CntAbstractEngine* mEngine;
   187     QStringList m_definitionNames;
   179     QStringList m_definitionNames;
   188     CntAbstractServiceProvider* mCurrentProvider; // not owned
   180     CntAbstractServiceProvider* mCurrentProvider; // not owned
       
   181     friend class UT_CntServices;
   189 };
   182 };
   190 
   183 
   191 #endif /* CNTSERVICES_H */
   184 #endif /* CNTSERVICES_H */