OSSP CVS Repository

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

Check-in Number: 3894
Date: 2002-Dec-18 11:36:09 (local)
2002-Dec-18 10:36:09 (UTC)
User:ms
Branch:
Comment: Reduce dependency on STL.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/TODO      1.50 -> 1.51     0 inserted, 1 deleted
ossp-pkg/as/as-gui/as_except.cpp      1.3 -> 1.4     3 inserted, 2 deleted
ossp-pkg/as/as-gui/as_except.h      1.2 -> 1.3     1 inserted, 1 deleted

ossp-pkg/as/as-gui/TODO 1.50 -> 1.51

--- TODO 2002/12/17 16:47:30     1.50
+++ TODO 2002/12/18 10:36:09     1.51
@@ -24,7 +24,6 @@
 Memory optimization needed in tidataops
 Check all identifiers for undeutig unique scope
 Remove magic numbers from cpp files to titconst like TITRAQ_INDEXREMARK
-Reduce dependence to STL by removing cout to QTextStream
 Some signals implemented in Titraqform really belong in satellite classes
 Write M4 macro for detecting cuserid, and prefer cuserid in ac_assist when present
 Krassify data shading keyed to sort function


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

--- as_except.cpp        2002/12/02 13:25:36     1.3
+++ as_except.cpp        2002/12/18 10:36:10     1.4
@@ -35,9 +35,10 @@
 // Report general exception
 void Genexcept::reportErr(void)
 {
+    QTextOStream Errstream(stderr);
+
     // Basically, print the message and exit
-    using namespace std;
-    cout << szMessage << endl;
+    Errstream << szMessage << endl;
 }
 
 // Destroy general exception


ossp-pkg/as/as-gui/as_except.h 1.2 -> 1.3

--- as_except.h  2002/11/28 20:44:36     1.2
+++ as_except.h  2002/12/18 10:36:10     1.3
@@ -32,7 +32,7 @@
 #ifndef TITRAQEXCEPT_H
 #define TITRAQEXCEPT_H
 
-#include <iostream>
+#include <qtextstream.h>
 
 
 // General string-based exceptions

CVSTrac 2.0.1