--- 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
|