OSSP CVS Repository

ossp - Check-in [3833]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3833
Date: 2002-Dec-04 18:34:02 (local)
2002-Dec-04 17:34:02 (UTC)
User:ms
Branch:
Comment: Replace magic numbers with abstract constants.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_assist.cpp      1.47 -> 1.48     6 inserted, 6 deleted

ossp-pkg/as/as-gui/as_assist.cpp 1.47 -> 1.48

--- as_assist.cpp        2002/12/04 17:31:20     1.47
+++ as_assist.cpp        2002/12/04 17:34:02     1.48
@@ -485,12 +485,12 @@
     // Table header row
     m_pTablehead = m_pMaintable->horizontalHeader();
     m_pMaintable->setHScrollBarMode(QScrollView::AlwaysOff);
-    m_pTablehead->setLabel(0, QObject::trUtf8("Date"), 90);
-    m_pTablehead->setLabel(1, QObject::trUtf8("Begin"), 80);
-    m_pTablehead->setLabel(2, QObject::trUtf8("End"), 80);
-    m_pTablehead->setLabel(3, QObject::trUtf8("Amount"), 98);
-    m_pTablehead->setLabel(4, QObject::trUtf8("Task"), 96);
-    m_pTablehead->setLabel(5, QObject::trUtf8("Remark"));
+    m_pTablehead->setLabel(TITRAQ_IDXDATE, QObject::trUtf8("Date"), 90);
+    m_pTablehead->setLabel(TITRAQ_IDXSTART, QObject::trUtf8("Begin"), 80);
+    m_pTablehead->setLabel(TITRAQ_IDXFINISH, QObject::trUtf8("End"), 80);
+    m_pTablehead->setLabel(TITRAQ_IDXAMOUNT, QObject::trUtf8("Amount"), 98);
+    m_pTablehead->setLabel(TITRAQ_IDXTASK, QObject::trUtf8("Task"), 96);
+    m_pTablehead->setLabel(TITRAQ_IDXREMARK, QObject::trUtf8("Remark"));
 
     m_pPackagelayout->addWidget(m_pMaintable);  // Finally add the damn table
 

CVSTrac 2.0.1