void
MeeGo::Sync::FrameworkClient::credentialsError(const SignOn::Error & e)
{
  m_processor.reset();

  switch (e.type()) {
  case SignOn::Error::StoreFailed:
    //: Internal error.  Failed to store user supplied credentials in DB.
    setStatus (tr("Failed to store credentials"));
    break;
  case SignOn::Error::RemoveFailed:
    //: Displayed when clearing stored sync account credentials fails.
    setStatus (tr("Failed to clear credentials"));
    break;
  default:
    //: We're really not expecting any other kinds of cred errors.
    setStatus(tr("Unknown credentials error"));
    break;
  }
}
void SignonClient::sessionError(const SignOn::Error &error)
{
    qDebug("session Err: %d", error.type());
    qDebug() << error.message();
}
void SignonClient::error(const SignOn::Error &error)
{
    qDebug("identity Err: %d", error.type());
    qDebug() << error.message();
}
예제 #4
0
void Session::onError(const SignOn::Error& err)
{
    qDebug() << Q_FUNC_INFO << err.type() << err.message();
    emit error(err.message());
}
예제 #5
0
파일: blog.cpp 프로젝트: funkycode/meemblr
void Blog::onError(const SignOn::Error &error)
{
    qDebug() << "Got error:" << error.message();
}
//slot for receiving error
void SaslPluginTest::pluginError(const SignOn::Error &error)
{
    qDebug() << "got error" << error.type();
    m_errorType = error.type();
    m_loop.exit();
}
예제 #7
0
void SignOnAdapter::authServiceError(const SignOn::Error &err){
    qDebug("AuthService Error: %d", err.type());
    emit identityLoaded();
}
예제 #8
0
void TimeoutsTest::identityError(const SignOn::Error &error)
{
    qDebug() << Q_FUNC_INFO << error.message();
    QFAIL("Unexpected error!");
    emit finished();
}