equal
deleted
inserted
replaced
20 |
20 |
21 #include "cxefakeimagedataitem.h" |
21 #include "cxefakeimagedataitem.h" |
22 #include "cxeimagedataitem.h" |
22 #include "cxeimagedataitem.h" |
23 #include "cxutils.h" |
23 #include "cxutils.h" |
24 |
24 |
25 CxeFakeImageDataItem::CxeFakeImageDataItem(int index, QByteArray data, QString filename, int id) |
25 CxeFakeImageDataItem::CxeFakeImageDataItem(int index, QByteArray data, QString filename, int id, bool addLocation) |
26 : mId(id), |
26 : mId(id), |
27 mIndex(index), |
27 mIndex(index), |
28 mData(data), |
28 mData(data), |
29 mFileName(filename), |
29 mFileName(filename), |
|
30 mAddLocationInfo(addLocation), |
30 mState(CxeImageDataItem::SavePending) |
31 mState(CxeImageDataItem::SavePending) |
31 { |
32 { |
32 CX_DEBUG_IN_FUNCTION(); |
33 CX_DEBUG_IN_FUNCTION(); |
33 } |
34 } |
34 |
35 |
62 QString CxeFakeImageDataItem::path() const |
63 QString CxeFakeImageDataItem::path() const |
63 { |
64 { |
64 return mFileName; |
65 return mFileName; |
65 } |
66 } |
66 |
67 |
|
68 |
|
69 bool CxeFakeImageDataItem::addLocation() const |
|
70 { |
|
71 return mAddLocationInfo; |
|
72 } |
|
73 |
67 // end of file |
74 // end of file |