exifhandler.cpp 453 B

12345678910111213141516171819202122
  1. #include "exifhandler.h"
  2. #include "cexifsymbian.h"
  3. ExifHandler::ExifHandler(QObject* parent): QObject(parent)
  4. {
  5. QT_TRAP_THROWING(d_ptr = CExifSymbian::NewL(*this));
  6. }
  7. ExifHandler::~ExifHandler()
  8. {
  9. delete d_ptr;
  10. }
  11. void ExifHandler::getImageGps(const QString& filename)
  12. {
  13. QString str = filename;
  14. str = str.replace("/","\\");
  15. str = str.trimmed();
  16. TFileName fn(str.utf16());
  17. d_ptr->LoadGPSPosition(fn);
  18. }