bluetoothengine/btui/btuidelegate/btdelegatepair.cpp
changeset 41 0b2439c3e397
parent 40 997690c3397a
child 63 bcf742120177
equal deleted inserted replaced
40:997690c3397a 41:0b2439c3e397
   111 }
   111 }
   112 
   112 
   113 
   113 
   114 void BtDelegatePair::launchWaitDialog()
   114 void BtDelegatePair::launchWaitDialog()
   115 {
   115 {
   116     QString headingText(hbTrId("Pairing with %1"));
   116     QString headingText(hbTrId("txt_bt_title_pairing_with_1"));
   117     HbLabel *heading;
   117     HbLabel *heading;
   118     HbProgressBar* progressBar;
   118     HbProgressBar* progressBar;
   119     
   119     
   120     bool ok = false;
   120     bool ok = false;
   121     mLoader->load( BTUI_PAIR_WAIT_DOCML, &ok );
   121     mLoader->load( BTUI_PAIR_WAIT_DOCML, &ok );
   163     emitCommandComplete(aErr);
   163     emitCommandComplete(aErr);
   164 }
   164 }
   165 
   165 
   166 void BtDelegatePair::emitCommandComplete(int error)
   166 void BtDelegatePair::emitCommandComplete(int error)
   167 {
   167 {
   168 //    QString str(hbTrId("Paired to %1"));
       
   169 //    QString err(hbTrId("Pairing with %1 Failed"));
       
   170 //    
       
   171 //    if(error != KErrNone) {
       
   172 //        HbNotificationDialog::launchDialog(err.arg(mdeviceName));
       
   173 //    }
       
   174 //    else {
       
   175 //        HbNotificationDialog::launchDialog(str.arg(mdeviceName));
       
   176 //    }
       
   177 
   168 
   178     emit commandCompleted(error);
   169     emit commandCompleted(error);
   179 }
   170 }
   180 
   171 
   181 void BtDelegatePair::cancel()
   172 void BtDelegatePair::cancel()