void Error::copy(Exiv2::Error &e) { code_ = e.code(); string = QString::fromUtf8(e.what()); }
void KExiv2::Private::printExiv2ExceptionError(const QString& msg, Exiv2::Error& e) { std::string s(e.what()); kDebug() << msg.toAscii().constData() << " (Error #" << e.code() << ": " << s.c_str(); }
void MetaEngine::Private::printExiv2ExceptionError(const QString& msg, Exiv2::Error& e) { std::string s(e.what()); qCCritical(DIGIKAM_METAENGINE_LOG) << msg.toLatin1().constData() << " (Error #" << e.code() << ": " << s.c_str(); }