Index: sources/storage/TreatmentLog.h =================================================================== diff -u -r1a9eb2756f33ec0387dd360e5c051ed9a04b9c1c -rf9e747f0f28df1cc6a33179f0bc78bfc03d486fc --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 1a9eb2756f33ec0387dd360e5c051ed9a04b9c1c) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision f9e747f0f28df1cc6a33179f0bc78bfc03d486fc) @@ -83,10 +83,12 @@ } _lastTxInfo; - QString _deviceID = "unknown"; - QString _txCode = ""; // content of this value comes from CloudSync App. - QString _pendingTx = ""; + QString _deviceID = "unknown"; + QString _pendingTxr = ""; + MEMBER( QString , gTxCode, ""); // content of this value is generated by VPreTreatment. + MEMBER( QString , rTxCode, ""); // content of this value be received from CloudSync App. + enum Role { eValue, eTitle, @@ -230,7 +232,7 @@ void saveLogConcurrent (); bool exportLog (); void exportLogConcurrent(); - bool addTxCode(); + bool checkTxCode(); void sendPending(); // Pending Tx Report