Index: sources/storage/TreatmentLog.h =================================================================== diff -u -rf9e747f0f28df1cc6a33179f0bc78bfc03d486fc -r89174f563de1dbc04be63776766651e1c3f85192 --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision f9e747f0f28df1cc6a33179f0bc78bfc03d486fc) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 89174f563de1dbc04be63776766651e1c3f85192) @@ -48,6 +48,8 @@ const char* _treatmentLogExtUploaded = "txr"; const char* _treatmentLogExtPending = "txr.p"; + const char* _txCodeKey = "Tx Code"; + QFutureWatcher _saveWatcher; QFutureWatcher _exportWatcher; @@ -90,9 +92,10 @@ MEMBER( QString , rTxCode, ""); // content of this value be received from CloudSync App. enum Role { - eValue, eTitle, - eUnit + eValue, + eUnit , + eCount }; enum TreatmentLogIndex { @@ -233,6 +236,7 @@ bool exportLog (); void exportLogConcurrent(); bool checkTxCode(); + bool findTxCode (); void sendPending(); // Pending Tx Report