From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/chart-element-cpp.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/chart-element-cpp.html') diff --git a/doc/html/chart-element-cpp.html b/doc/html/chart-element-cpp.html index 9c0e65e17..8851ba0be 100644 --- a/doc/html/chart-element-cpp.html +++ b/doc/html/chart-element-cpp.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
#include "element.h"
 
-#include <ntqstringlist.h>
+#include <tqstringlist.h>
 #include <ntqtextstream.h>
 
 const char FIELD_SEP = ':';
@@ -43,7 +43,7 @@ const char XY_SEP = ',';
 
 
 void Element::init( double value, TQColor valueColor, int valuePattern,
-                    const TQString& label, TQColor labelColor )
+                    const TQString& label, TQColor labelColor )
 {
     m_value = value;
     m_valueColor = valueColor;
@@ -111,13 +111,13 @@ TQTextStream &operator<<( TQTextStreamTQTextStream &s, Element &element )
 {
-    TQString data = s.readLine();
+    TQString data = s.readLine();
     element.setValue( Element::INVALID );
 
     int errors = 0;
     bool ok;
 
-    TQStringList fields = TQStringList::split( FIELD_SEP, data );
+    TQStringList fields = TQStringList::split( FIELD_SEP, data );
     if ( fields.count() >= 4 ) {
         double value = fields[0].toDouble( &ok );
         if ( !ok )
@@ -131,8 +131,8 @@ TQTextStream &operator>>( TQTextStreamTQColor labelColor = TQColor( fields[3] );
         if ( !labelColor.isValid() )
             errors++;
-        TQStringList propoints = TQStringList::split( PROPOINT_SEP, fields[4] );
-        TQString label = data.section( FIELD_SEP, 5 );
+        TQStringList propoints = TQStringList::split( PROPOINT_SEP, fields[4] );
+        TQString label = data.section( FIELD_SEP, 5 );
 
         if ( !errors ) {
             element.set( value, valueColor, valuePattern, label, labelColor );
@@ -141,7 +141,7 @@ TQTextStream &operator>>( TQTextStreamend();
                 ++i, ++point ) {
                 errors = 0;
-                TQStringList xy = TQStringList::split( XY_SEP, *point );
+                TQStringList xy = TQStringList::split( XY_SEP, *point );
                 double x = xy[0].toDouble( &ok );
                 if ( !ok || x <= 0.0 || x >= 1.0 )
                     errors++;
-- 
cgit v1.2.3