example/FlickrAuthApp/src/baseDialog.cpp
changeset 26 83d6a149c755
parent 17 106a4bfcb866
equal deleted inserted replaced
25:a180113055cb 26:83d6a149c755
   167   dismiss(aAnimated);
   167   dismiss(aAnimated);
   168 }
   168 }
   169 
   169 
   170 void FBDialog::dismissWithError (const FBError& aError)
   170 void FBDialog::dismissWithError (const FBError& aError)
   171 {
   171 {
       
   172 	Q_UNUSED(aError)
   172 	QMessageBox msgbox;
   173 	QMessageBox msgbox;
   173 	QString msg ("Error!Please try again!");
   174 	QString msg ("Error!Please try again!");
   174 	msgbox.setText(msg);
   175 	msgbox.setText(msg);
   175 }
   176 }
   176 void FBDialog::slotAuthenticationRequired( QNetworkReply* reply, QAuthenticator* authenticator )
   177 void FBDialog::slotAuthenticationRequired( QNetworkReply* reply, QAuthenticator* authenticator )
   177 	{
   178 	{
       
   179 		Q_UNUSED(reply)
       
   180 		Q_UNUSED(authenticator)
   178 		QMessageBox msgbox;
   181 		QMessageBox msgbox;
   179 		QString msg ("Error!Authentication Required");
   182 		QString msg ("Error!Authentication Required");
   180 		msgbox.setText(msg);
   183 		msgbox.setText(msg);
   181 	}
   184 	}
   182 void FBDialog::slotsslErrors( QNetworkReply* reply, const QList<QSslError>& errors  )
   185 void FBDialog::slotsslErrors( QNetworkReply* reply, const QList<QSslError>& errors  )
   183 	{
   186 	{
       
   187 		Q_UNUSED(reply)
       
   188 		Q_UNUSED(errors)
   184 		QMessageBox msgbox;
   189 		QMessageBox msgbox;
   185 		QString msg ("Error!SSL Error");
   190 		QString msg ("Error!SSL Error");
   186 		msgbox.setText(msg);
   191 		msgbox.setText(msg);
   187 	}
   192 	}
   188 void FBDialog::slotproxyAuthenticationRequired( const QNetworkProxy& proxy, QAuthenticator* authenticator  )
   193 void FBDialog::slotproxyAuthenticationRequired( const QNetworkProxy& proxy, QAuthenticator* authenticator  )
   189 	{
   194 	{
       
   195 		Q_UNUSED(proxy)
       
   196 		Q_UNUSED(authenticator)
   190 		QMessageBox msgbox;
   197 		QMessageBox msgbox;
   191 		QString msg ("Error!Proxy Authenticatio Required");
   198 		QString msg ("Error!Proxy Authenticatio Required");
   192 		msgbox.setText(msg);
   199 		msgbox.setText(msg);
   193 	}
   200 	}
   194 void FBDialog::cancel()
   201 void FBDialog::cancel()
   320 				iWebView->load(iWebView->url().toString());
   327 				iWebView->load(iWebView->url().toString());
   321 			}
   328 			}
   322 	}*/
   329 	}*/
   323 void FBDialog::GetSessionKey(const QUrl& aUrl)
   330 void FBDialog::GetSessionKey(const QUrl& aUrl)
   324 {
   331 {
   325 
   332 	Q_UNUSED(aUrl)
   326 }
   333 }
   327 void FBDialog::connectToGetFullToken()
   334 void FBDialog::connectToGetFullToken()
   328 {
   335 {
   329 
   336 
   330 }
   337 }