phonebookui/pbkcommonui/src/cntimportsview.cpp
changeset 50 77bc263e1626
parent 47 7cbcb2896f0e
child 54 47627ab5d7a4
equal deleted inserted replaced
49:74b30151afd6 50:77bc263e1626
   166                     //ADN store is not accessible, e.g. because of active FDN
   166                     //ADN store is not accessible, e.g. because of active FDN
   167                     //Or ADN cache is not ready yet, so wait for this  
   167                     //Or ADN cache is not ready yet, so wait for this  
   168                     mAdnStorePresent = true;
   168                     mAdnStorePresent = true;
   169                     mAdnEntriesPresent = true;
   169                     mAdnEntriesPresent = true;
   170                     mWaitingForAdnCache = true;
   170                     mWaitingForAdnCache = true;
   171                     connect(mAdnSimUtility, SIGNAL(adnCacheStatusReady(SimUtility::CacheStatus&, int)), this, SLOT(adnCacheStatusReady(SimUtility::CacheStatus&, int)));
   171                     connect(mAdnSimUtility, SIGNAL(adnCacheStatusReady(CntSimUtility::CacheStatus&, int)), this, SLOT(adnCacheStatusReady(CntSimUtility::CacheStatus&, int)));
   172                     if (!mAdnSimUtility->notifyAdnCacheStatus()) {
   172                     if (!mAdnSimUtility->notifyAdnCacheStatus()) {
   173                         mAdnStorePresent = false;
   173                         mAdnStorePresent = false;
   174                         mAdnEntriesPresent = false;
   174                         mAdnEntriesPresent = false;
   175                         mWaitingForAdnCache = false;
   175                         mWaitingForAdnCache = false;
   176                     }
   176                     }
   320 }
   320 }
   321 
   321 
   322 
   322 
   323 bool CntImportsView::startSimImport()
   323 bool CntImportsView::startSimImport()
   324 {
   324 {
       
   325 
   325     bool started = false;
   326     bool started = false;
   326 
   327 
   327     delete mFetchRequestADN;
   328     delete mFetchRequestADN;
   328     mContactSimManagerADN = mViewManager->contactManager(SIM_BACKEND_ADN);
   329     mContactSimManagerADN = mViewManager->contactManager(SIM_BACKEND_ADN);
   329     mFetchRequestADN = new QContactFetchRequest;
   330     mFetchRequestADN = new QContactFetchRequest;