OSSP CVS Repository

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

Check-in Number: 2814
Date: 2002-Nov-13 09:41:09 (local)
2002-Nov-13 08:41:09 (UTC)
User:ms
Branch:
Comment: Fix Unicode inconsistencies.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/as_gui.cpp      1.3 -> 1.4     13 inserted, 13 deleted
ossp-pkg/titraq/titraq.cpp      1.3 -> 1.4     13 inserted, 13 deleted

ossp-pkg/as/as-gui/as_gui.cpp 1.3 -> 1.4

--- as_gui.cpp   2002/11/12 19:16:00     1.3
+++ as_gui.cpp   2002/11/13 08:41:09     1.4
@@ -31,7 +31,7 @@
     QMainWindow(pParent, kszName, Flags)
 {
     if (!kszName)
-    setName("Titraqform");
+    setName(trUtf8("Titraqform"));
     resize(600, 480);
     setCaption(trUtf8("OSSP Titraq"));
 
@@ -58,12 +58,12 @@
 
     // Table header row
     pTablehead = pMaintable->horizontalHeader();
-    pTablehead->setLabel(0, QObject::tr("Date"), 96);
-    pTablehead->setLabel(1, QObject::tr("Begin"), 80);
-    pTablehead->setLabel(2, QObject::tr("End"), 80);
-    pTablehead->setLabel(3, QObject::tr("Amount"), 52);
-    pTablehead->setLabel(4, QObject::tr("Task"), 70);
-    pTablehead->setLabel(5, QObject::tr("Remark"));
+    pTablehead->setLabel(0, QObject::trUtf8("Date"), 96);
+    pTablehead->setLabel(1, QObject::trUtf8("Begin"), 80);
+    pTablehead->setLabel(2, QObject::trUtf8("End"), 80);
+    pTablehead->setLabel(3, QObject::trUtf8("Amount"), 52);
+    pTablehead->setLabel(4, QObject::trUtf8("Task"), 70);
+    pTablehead->setLabel(5, QObject::trUtf8("Remark"));
     pTablehead->setMovingEnabled(true);
 
     // Icon image items
@@ -103,7 +103,7 @@
 
     // Populate the task stringlist
     pTaskentries = new QStringList;
-    *pTaskentries << "titraq" << "opgui" << "email"<< "admin" << "pmod" << "psod" << "meeting" << "training";
+    *pTaskentries << trUtf8("titraq") << trUtf8("opgui") << trUtf8("email") << trUtf8("admin") << trUtf8("pmod") << trUtf8("psod") << trUtf8("meeting") << trUtf8("training");
 
     // Make the combobox items for all rows
     for (int i = 0; i < knRows; ++i) {
@@ -148,7 +148,7 @@
     pStatus->setFrameShadow(QLineEdit::Sunken);
     pStatus->setFrame(true);
     pStatus->setReadOnly(true);
-    QToolTip::add(pStatus, trUtf8("&Status line"));
+    QToolTip::add(pStatus, trUtf8("Status Line"));
     pPackagelayout->addWidget(pStatus);
     pMainlayout->addLayout(pPackagelayout);
 
@@ -159,7 +159,7 @@
     pAddbutton = new QPushButton(this, "AddButton");
     pAddbutton->setCursor(QCursor(13));
     pAddbutton->setText(trUtf8("&Add"));
-    QToolTip::add(pAddbutton, trUtf8("&Add entry"));
+    QToolTip::add(pAddbutton, trUtf8("Add Entry"));
     connect(pAddbutton, SIGNAL(clicked()), this, SLOT(addEntry()));
     pControllayout->addWidget(pAddbutton);
 
@@ -168,7 +168,7 @@
     pDeletebutton->setCursor(QCursor(13));
     pDeletebutton->setText(trUtf8("&Delete"));
     pDeletebutton->setFlat(false);
-    QToolTip::add(pDeletebutton, trUtf8("&Delete entry"));
+    QToolTip::add(pDeletebutton, trUtf8("Delete Entry"));
     connect(pDeletebutton, SIGNAL(clicked()), this, SLOT(delEntry()));
     pControllayout->addWidget(pDeletebutton);
 
@@ -176,7 +176,7 @@
     pWritebutton = new QPushButton(this, "pWritebutton");
     pWritebutton->setCursor(QCursor(13));
     pWritebutton->setText(trUtf8("&Write"));
-    QToolTip::add(pWritebutton, trUtf8("&Write entry"));
+    QToolTip::add(pWritebutton, trUtf8("Write Entry"));
     connect(pWritebutton, SIGNAL(clicked()), this, SLOT(writeEntry()));
     pControllayout->addWidget(pWritebutton);
 
@@ -185,7 +185,7 @@
     pQuitbutton->setCursor(QCursor(13));
     pQuitbutton->setText(trUtf8("&Quit"));
     pQuitbutton->setFlat(false);
-    QToolTip::add(pQuitbutton, trUtf8("&Quit"));
+    QToolTip::add(pQuitbutton, trUtf8("Quit"));
     connect(pQuitbutton, SIGNAL(clicked()), qApp, SLOT(quit()));
     pControllayout->addWidget(pQuitbutton);
 


CVSTrac 2.0.1