-
Notifications
You must be signed in to change notification settings - Fork 0
/
filedata.h
46 lines (34 loc) · 1.02 KB
/
filedata.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef FILEDATA_H
#define FILEDATA_H
#include <QDateTime>
#include <QString>
class FileData
{
public:
FileData();
QString getNameOld() const;
void setNameOld(const QString &value);
QString getNameNew() const;
void setNameNew(const QString &value);
QString getPathAndName() const;
void setPathAndName(const QString &value);
QString getFileExtension() const;
void setFileExtension(const QString &fileExtension);
QDateTime getDateTime() const;
void setDateTime(const QDateTime &dateTime);
QDateTime getMediaDateTime() const;
void setMediaDateTime(const QDateTime &dateTime);
bool isMediaDateTimeSet() const;
const QDateTime &getFilenameDateTime() const;
void setFilenameDateTime(const QDateTime &newFilenameDateTime);
private:
QString m_nameOld;
QString m_nameNew;
QString m_pathAndName;
QString m_fileExtension;
QDateTime m_dateTime;
QDateTime m_mediaDateTime;
QDateTime m_filenameDateTime;
bool m_mediaDateTimeSet;
};
#endif // FILEDATA_H