~elopio/gallery-app/revert_workaround-1302706-click_toolbar_button_failure

« back to all changes in this revision

Viewing changes to src/medialoader/video-metadata.h

  • Committer: Leo Arias
  • Date: 2015-05-15 08:05:23 UTC
  • mfrom: (954.1.241 gallery-app)
  • Revision ID: leo.arias@canonical.com-20150515080523-i2of3vr8h7dioj59
Now the toolbar object is not needed at all.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <QSize>
24
24
#include <QString>
25
25
#include <QVariant>
26
 
 
27
 
class QFileInfo;
 
26
#include <QFileInfo>
28
27
 
29
28
/*!
30
29
 * \brief The VideoMetadata class
34
33
    Q_OBJECT
35
34
 
36
35
public:
37
 
    VideoMetadata(QObject *parent=0);
 
36
    VideoMetadata(const QFileInfo& file, QObject *parent=0);
38
37
 
39
 
    bool parseMetadata(const QFileInfo& file);
 
38
    bool parseMetadata();
40
39
 
41
40
    QDateTime exposureTime() const;
42
41
    int rotation() const;
45
44
 
46
45
private:
47
46
    QMap<QString, QVariant> m_tags;
 
47
    QFileInfo m_file;
48
48
};
49
49
 
50
50
#endif // GALLERY_VIDEO_METADATA_H_