|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot parse EXIF metadata using Exiv2 (" | DDebug() << "Cannot parse EXIF metadata using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return false; | return false; |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag title using Exiv2 (" | DDebug() << "Cannot get metadata tag title using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("Unknown"); | return i18n("Unknown"); |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag description using Exiv2 (" | DDebug() << "Cannot get metadata tag description using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("No description available"); | return i18n("No description available"); |
} | } |
|
|
{ | { |
setMetadataEmpty(); | setMetadataEmpty(); |
DDebug() << "Cannot parse EXIF metadata using Exiv2 (" | DDebug() << "Cannot parse EXIF metadata using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return false; | return false; |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag title using Exiv2 (" | DDebug() << "Cannot get metadata tag title using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("Unknown"); | return i18n("Unknown"); |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag description using Exiv2 (" | DDebug() << "Cannot get metadata tag description using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("No description available"); | return i18n("No description available"); |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot parse IPTC metadata using Exiv2 (" | DDebug() << "Cannot parse IPTC metadata using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return false; | return false; |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag title using Exiv2 (" | DDebug() << "Cannot get metadata tag title using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("Unknow"); | return i18n("Unknow"); |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag description using Exiv2 (" | DDebug() << "Cannot get metadata tag description using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("No description available"); | return i18n("No description available"); |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot parse MAKERNOTE metadata using Exiv2 (" | DDebug() << "Cannot parse MAKERNOTE metadata using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return false; | return false; |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag title using Exiv2 (" | DDebug() << "Cannot get metadata tag title using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("Unknown"); | return i18n("Unknown"); |
} | } |
|
|
catch (Exiv2::Error& e) | catch (Exiv2::Error& e) |
{ | { |
DDebug() << "Cannot get metadata tag description using Exiv2 (" | DDebug() << "Cannot get metadata tag description using Exiv2 (" |
<< QString::fromAscii(e.what().c_str()) |
<< QString::fromAscii(e.what()) |
<< ")" << endl; | << ")" << endl; |
return i18n("No description available"); | return i18n("No description available"); |
} | } |