summaryrefslogtreecommitdiffstats
path: root/doc/html/chart-element-cpp.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:44:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/chart-element-cpp.html
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt3-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.html14
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 &lt;<a href="qstringlist-h.html">ntqstringlist.h</a>&gt;
+#include &lt;<a href="tqstringlist-h.html">tqstringlist.h</a>&gt;
#include &lt;<a href="qtextstream-h.html">ntqtextstream.h</a>&gt;
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>&amp; label, TQColor labelColor )
+ const <a href="tqstring.html">TQString</a>&amp; label, TQColor labelColor )
{
m_value = value;
m_valueColor = valueColor;
@@ -111,13 +111,13 @@ TQTextStream &amp;operator&lt;&lt;( <a href="ntqtextstream.html">TQTextStream</a
TQTextStream &amp;operator&gt;&gt;( <a href="ntqtextstream.html">TQTextStream</a> &amp;s, Element &amp;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>() &gt;= 4 ) {
double value = fields[0].toDouble( &amp;ok );
if ( !ok )
@@ -131,8 +131,8 @@ TQTextStream &amp;operator&gt;&gt;( <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 &amp;operator&gt;&gt;( <a href="ntqtextstream.html">TQTextStream</a
i &lt; Element::MAX_PROPOINTS &amp;&amp; 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( &amp;ok );
if ( !ok || x &lt;= 0.0 || x &gt;= 1.0 )
errors++;