diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/chart-element-cpp.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/chart-element-cpp.html')
-rw-r--r-- | doc/html/chart-element-cpp.html | 14 |
1 files changed, 7 insertions, 7 deletions
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; } <pre>#include "element.h" -#include <<a href="qstringlist-h.html">ntqstringlist.h</a>> +#include <<a href="tqstringlist-h.html">tqstringlist.h</a>> #include <<a href="qtextstream-h.html">ntqtextstream.h</a>> const char FIELD_SEP = ':'; @@ -43,7 +43,7 @@ const char XY_SEP = ','; void Element::init( double value, TQColor valueColor, int valuePattern, - const <a href="ntqstring.html">TQString</a>& label, TQColor labelColor ) + const <a href="tqstring.html">TQString</a>& label, TQColor labelColor ) { m_value = value; m_valueColor = valueColor; @@ -111,13 +111,13 @@ TQTextStream &operator<<( <a href="ntqtextstream.html">TQTextStream</a TQTextStream &operator>>( <a href="ntqtextstream.html">TQTextStream</a> &s, Element &element ) { - <a href="ntqstring.html">TQString</a> data = s.<a href="ntqtextstream.html#readLine">readLine</a>(); + <a href="tqstring.html">TQString</a> data = s.<a href="ntqtextstream.html#readLine">readLine</a>(); element.setValue( Element::INVALID ); int errors = 0; bool ok; - <a href="ntqstringlist.html">TQStringList</a> fields = TQStringList::<a href="ntqstringlist.html#split">split</a>( FIELD_SEP, data ); + <a href="tqstringlist.html">TQStringList</a> fields = TQStringList::<a href="tqstringlist.html#split">split</a>( FIELD_SEP, data ); if ( fields.<a href="tqvaluelist.html#count">count</a>() >= 4 ) { double value = fields[0].toDouble( &ok ); if ( !ok ) @@ -131,8 +131,8 @@ TQTextStream &operator>>( <a href="ntqtextstream.html">TQTextStream</a <a href="ntqcolor.html">TQColor</a> labelColor = TQColor( fields[3] ); if ( !labelColor.<a href="ntqcolor.html#isValid">isValid</a>() ) errors++; - <a href="ntqstringlist.html">TQStringList</a> propoints = TQStringList::<a href="ntqstringlist.html#split">split</a>( PROPOINT_SEP, fields[4] ); - <a href="ntqstring.html">TQString</a> label = data.<a href="ntqstring.html#section">section</a>( FIELD_SEP, 5 ); + <a href="tqstringlist.html">TQStringList</a> propoints = TQStringList::<a href="tqstringlist.html#split">split</a>( PROPOINT_SEP, fields[4] ); + <a href="tqstring.html">TQString</a> label = data.<a href="tqstring.html#section">section</a>( FIELD_SEP, 5 ); if ( !errors ) { element.set( value, valueColor, valuePattern, label, labelColor ); @@ -141,7 +141,7 @@ TQTextStream &operator>>( <a href="ntqtextstream.html">TQTextStream</a i < Element::MAX_PROPOINTS && point != propoints.<a href="tqvaluelist.html#end">end</a>(); ++i, ++point ) { errors = 0; - <a href="ntqstringlist.html">TQStringList</a> xy = TQStringList::<a href="ntqstringlist.html#split">split</a>( XY_SEP, *point ); + <a href="tqstringlist.html">TQStringList</a> xy = TQStringList::<a href="tqstringlist.html#split">split</a>( XY_SEP, *point ); double x = xy[0].toDouble( &ok ); if ( !ok || x <= 0.0 || x >= 1.0 ) errors++; |