equal
deleted
inserted
replaced
28 class CxeImageDataItemSymbian : public CxeImageDataItem, |
28 class CxeImageDataItemSymbian : public CxeImageDataItem, |
29 public CxeStateMachine |
29 public CxeStateMachine |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 public: // from CxeImageDataItemSymbian |
32 public: // from CxeImageDataItemSymbian |
33 CxeImageDataItemSymbian(QByteArray data, QString filename, int id, CxeImageDataItem::State state = CxeImageDataItem::SavePending); |
33 CxeImageDataItemSymbian(QByteArray data, |
|
34 QString filename, |
|
35 int id, |
|
36 bool addLocation, |
|
37 CxeImageDataItem::State state = CxeImageDataItem::SavePending); |
|
38 |
34 virtual ~CxeImageDataItemSymbian(); |
39 virtual ~CxeImageDataItemSymbian(); |
35 |
40 |
36 CxeImageDataItem::State state() const; |
41 CxeImageDataItem::State state() const; |
37 CxeError::Id save(); |
42 CxeError::Id save(); |
38 int id() const; |
43 int id() const; |
|
44 bool isLocationEnabled() const; |
|
45 |
39 public: // new methods |
46 public: // new methods |
40 QString path() const; |
47 QString path() const; |
41 |
48 |
42 protected: // from CxeStateMachine |
49 protected: // from CxeStateMachine |
43 void handleStateChanged( int newStateId, CxeError::Id error ); |
50 void handleStateChanged( int newStateId, CxeError::Id error ); |
58 int mError; |
65 int mError; |
59 int mId; |
66 int mId; |
60 |
67 |
61 // used for image saving |
68 // used for image saving |
62 QByteArray mData; |
69 QByteArray mData; |
|
70 bool mAddLocationInfo; |
63 QString mPath; |
71 QString mPath; |
64 RFile mFile; |
72 RFile mFile; |
65 RFs mFs; |
73 RFs mFs; |
66 }; |
74 }; |
67 |
75 |