Exemple #1
0
void Error::copy(Exiv2::Error &e) {
    code_ = e.code();
    string = QString::fromUtf8(e.what());
}
Exemple #2
0
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();
}
Exemple #3
0
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();
}