OSSP CVS Repository

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

ossp-pkg/as/as-gui/as_slot.cpp 1.31 -> 1.32

--- as_slot.cpp  2002/12/03 17:05:11     1.31
+++ as_slot.cpp  2002/12/03 19:07:55     1.32
@@ -314,6 +314,54 @@
 }
 
 //
+// Update the current date column item
+//
+void Titraqform::updateDate(const QDate &Dateup)
+{
+    m_pMaintable->setText(m_pMaintable->currentRow(), TITRAQ_IDXDATE, Dateup.toString(Qt::ISODate));
+}
+
+//
+// Update the current start column item
+//
+void Titraqform::updateStart(const QTime &Startup)
+{
+    m_pMaintable->setText(m_pMaintable->currentRow(), TITRAQ_IDXSTART, Startup.toString(Qt::ISODate));
+}
+
+//
+// Update the current finish column item
+//
+void Titraqform::updateFinish(const QTime &Finishup)
+{
+    m_pMaintable->setText(m_pMaintable->currentRow(), TITRAQ_IDXFINISH, Finishup.toString(Qt::ISODate));
+}
+
+//
+// Update the current amount column item
+//
+void Titraqform::updateAmount(int nAmountup)
+{
+    m_pMaintable->setText(m_pMaintable->currentRow(), TITRAQ_IDXAMOUNT, trUtf8("%1").arg(nAmountup));
+}
+
+//
+// Update the current task column item
+//
+void Titraqform::updateTask(const QString &Taskup)
+{
+    m_pMaintable->setText(m_pMaintable->currentRow(), TITRAQ_IDXTASK, Taskup);
+}
+
+//
+// Update the current remark column item
+//
+void Titraqform::updateRemark(const QString &Remarkup)
+{
+    m_pMaintable->setText(m_pMaintable->currentRow(), TITRAQ_IDXREMARK, Remarkup);
+}
+
+//
 // Confirm any recent editions on a whole row
 //
 void Titraqform::confirmEdit(void)

CVSTrac 2.0.1