OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_slot.cpp versions 1.109 and 1.110
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_slot.cpp 1.109 -> 1.110

--- as_slot.cpp  2003/02/04 19:30:31     1.109
+++ as_slot.cpp  2003/02/04 20:32:46     1.110
@@ -1521,10 +1521,20 @@
 
         // Fill an account object to marshall and transmit
         int nRow = m_pMaintable->currentRow();
-        Singlerow.nDate = m_pMaintable->text(nRow, TITRAQ_IDXDATE).toInt();
-        Singlerow.nTime = m_pMaintable->text(nRow, TITRAQ_IDXSTART).toInt();
-        Singlerow.szName = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXUSER));
-        Singlerow.szTask = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXTASK));
+        Singlerow.szUser   = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXUSER));
+        Singlerow.szGuid   = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXGUID));
+        Singlerow.szCrc    = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXCRC).remove("0x"));
+        Singlerow.szRev    = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXREV));
+        Singlerow.szDate   = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXDATE));
+        Singlerow.szStart  = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXSTART));
+        Singlerow.szFinish = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXFINISH));
+        Singlerow.szAmount = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXAMOUNT));
+//        Singlerow.nRev     = m_pMaintable->text(nRow, TITRAQ_IDXREV).toUInt();
+//        Singlerow.nDate    = m_pMaintable->text(nRow, TITRAQ_IDXDATE).toUInt();
+//        Singlerow.nStart   = m_pMaintable->text(nRow, TITRAQ_IDXSTART).toUInt();
+//        Singlerow.nFinish  = m_pMaintable->text(nRow, TITRAQ_IDXFINISH).toUInt();
+//        Singlerow.nAmount  = m_pMaintable->text(nRow, TITRAQ_IDXAMOUNT).toUInt();
+        Singlerow.szTask   = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXTASK));
         Singlerow.szRemark = CORBA::string_dup(m_pMaintable->text(nRow, TITRAQ_IDXREMARK));
 
         Account->Log(Singlerow); // Finally transmit to server

CVSTrac 2.0.1