summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-03.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-15 19:08:22 +0900
committerMichele Calgaro <[email protected]>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/tutorial2-03.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/tutorial2-03.html')
-rw-r--r--doc/html/tutorial2-03.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tutorial2-03.html b/doc/html/tutorial2-03.html
index 04cc3f1c9..26aa4864a 100644
--- a/doc/html/tutorial2-03.html
+++ b/doc/html/tutorial2-03.html
@@ -40,10 +40,10 @@ access for data elements.
<pre> private:
</pre><pre> double m_value;
- <a href="ntqcolor.html">TQColor</a> m_valueColor;
+ <a href="tqcolor.html">TQColor</a> m_valueColor;
int m_valuePattern;
<a href="tqstring.html">TQString</a> m_label;
- <a href="ntqcolor.html">TQColor</a> m_labelColor;
+ <a href="tqcolor.html">TQColor</a> m_labelColor;
double m_propoints[2 * MAX_PROPOINTS];
</pre>
<p> Each element has a value. Each value is displayed graphically with a
@@ -52,7 +52,7 @@ with them; the label is drawn using the label color and for each type
of chart has a (relative) position stored in the <tt>m_propoints</tt> array.
<p>
-<pre> #include &lt;<a href="qcolor-h.html">ntqcolor.h</a>&gt;
+<pre> #include &lt;<a href="tqcolor-h.html">tqcolor.h</a>&gt;
#include &lt;<a href="qnamespace-h.html">ntqnamespace.h</a>&gt;
#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
#include &lt;<a href="tqvaluevector-h.html">tqvaluevector.h</a>&gt;
@@ -60,7 +60,7 @@ of chart has a (relative) position stored in the <tt>m_propoints</tt> array.
<p> Although the <tt>Element</tt> class is a purely internal data class, it
<tt>#include</tt>s four TQt classes. TQt is often perceived as a purely GUI
toolkit, but it provides many non-GUI classes to support most aspects
-of application programming. We use <a href="qcolor-h.html">ntqcolor.h</a> so that we can hold the
+of application programming. We use <a href="tqcolor-h.html">tqcolor.h</a> so that we can hold the
paint color and text color in the <tt>Element</tt> class. The use of <a href="qnamespace-h.html">ntqnamespace.h</a> is slightly obscure. Most TQt classes are derived from the
<a href="ntqt.html">TQt</a> superclass which contains various
enumerations. The <tt>Element</tt> class does not derive from <a href="ntqt.html">TQt</a>, so we need to include <a href="qnamespace-h.html">ntqnamespace.h</a> to have access to
@@ -115,7 +115,7 @@ available.
<p> <pre> Element( double value = INVALID, TQColor valueColor = TQt::gray,
int valuePattern = TQt::SolidPattern,
const <a href="tqstring.html">TQString</a>&amp; label = <a href="tqstring.html#TQString-null">TQString::null</a>,
- <a href="ntqcolor.html">TQColor</a> labelColor = TQt::black ) {
+ <a href="tqcolor.html">TQColor</a> labelColor = TQt::black ) {
init( value, valueColor, valuePattern, label, labelColor );
for ( int i = 0; i &lt; MAX_PROPOINTS * 2; ++i )
m_propoints[i] = NO_PROPORTION;
@@ -223,14 +223,14 @@ separator. The final field is the label followed by a newline.
double value = fields[0].toDouble( &amp;ok );
if ( !ok )
errors++;
- <a href="ntqcolor.html">TQColor</a> valueColor = TQColor( fields[1] );
- <a name="x2550"></a> if ( !valueColor.<a href="ntqcolor.html#isValid">isValid</a>() )
+ <a href="tqcolor.html">TQColor</a> valueColor = TQColor( fields[1] );
+ <a name="x2550"></a> if ( !valueColor.<a href="tqcolor.html#isValid">isValid</a>() )
errors++;
int valuePattern = fields[2].toInt( &amp;ok );
if ( !ok )
errors++;
- <a href="ntqcolor.html">TQColor</a> labelColor = TQColor( fields[3] );
- if ( !labelColor.<a href="ntqcolor.html#isValid">isValid</a>() )
+ <a href="tqcolor.html">TQColor</a> labelColor = TQColor( fields[3] );
+ if ( !labelColor.<a href="tqcolor.html#isValid">isValid</a>() )
errors++;
<a href="tqstringlist.html">TQStringList</a> propoints = TQStringList::<a href="tqstringlist.html#split">split</a>( PROPOINT_SEP, fields[4] );
<a name="x2551"></a> <a href="tqstring.html">TQString</a> label = data.<a href="tqstring.html#section">section</a>( FIELD_SEP, 5 );