summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-12.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
commit0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch)
treebe5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /doc/html/tutorial1-12.html
parent1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff)
downloadtqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz
tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-12.html')
-rw-r--r--doc/html/tutorial1-12.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tutorial1-12.html b/doc/html/tutorial1-12.html
index 3a90243c..ef3cabd8 100644
--- a/doc/html/tutorial1-12.html
+++ b/doc/html/tutorial1-12.html
@@ -55,7 +55,7 @@ implementation.
<p> <pre> class TQLabel;
</pre>
-<p> We name declare <a href="ntqlabel.html">TQLabel</a> because we want to use a pointer to it in the class
+<p> We name declare <a href="tqlabel.html">TQLabel</a> because we want to use a pointer to it in the class
definition.
<p> <pre> class LCDRange : public <a href="ntqvbox.html">TQVBox</a>
{
@@ -78,7 +78,7 @@ the parent and name.
</pre>
<p> Because we now have two constructors, we have chosen to put the common
initialization in the private init() function.
-<p> <pre> <a href="ntqlabel.html">TQLabel</a> *label;
+<p> <pre> <a href="tqlabel.html">TQLabel</a> *label;
</pre>
<p> We also have a new private variable: a TQLabel. TQLabel is one of TQt's
standard widgets and can show a text or a pixmap with or without a
@@ -87,9 +87,9 @@ frame.
</h3>
<a name="1-2"></a><p>
-<p> <pre> #include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
+<p> <pre> #include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
</pre>
-<p> Here we include the <a href="ntqlabel.html">TQLabel</a> class definition.
+<p> Here we include the <a href="tqlabel.html">TQLabel</a> class definition.
<p> <pre> LCDRange::LCDRange( <a href="tqwidget.html">TQWidget</a> *parent, const char *name )
: <a href="ntqvbox.html">TQVBox</a>( parent, name )
{
@@ -114,8 +114,8 @@ initialization code.
<a name="x2387"></a> slider-&gt;<a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 );
<a name="x2388"></a> slider-&gt;<a href="ntqslider.html#setValue">setValue</a>( 0 );
- label = new <a href="ntqlabel.html">TQLabel</a>( " ", this, "label" );
- <a name="x2383"></a> label-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
+ label = new <a href="tqlabel.html">TQLabel</a>( " ", this, "label" );
+ <a name="x2383"></a> label-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
<a name="x2389"></a> <a href="tqobject.html#connect">connect</a>( slider, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)),
<a name="x2386"></a> lcd, TQ_SLOT(<a href="ntqlcdnumber.html#display">display</a>(int)) );
@@ -126,18 +126,18 @@ initialization code.
}
</pre>
<p> The setup of <tt>lcd</tt> and <tt>slider</tt> is the same as in the previous
-chapter. Next we create a <a href="ntqlabel.html">TQLabel</a> and tell it to align the contents
+chapter. Next we create a <a href="tqlabel.html">TQLabel</a> and tell it to align the contents
centered (both vertically and horizontally). The connect() statements
have also been taken from the previous chapter.
<p> <pre> const char *LCDRange::text() const
{
- <a name="x2385"></a> return label-&gt;<a href="ntqlabel.html#text">text</a>();
+ <a name="x2385"></a> return label-&gt;<a href="tqlabel.html#text">text</a>();
}
</pre>
<p> This function returns the label text.
<p> <pre> void LCDRange::setText( const char *s )
{
- <a name="x2384"></a> label-&gt;<a href="ntqlabel.html#setText">setText</a>( s );
+ <a name="x2384"></a> label-&gt;<a href="tqlabel.html#setText">setText</a>( s );
}
</pre>
<p> This function sets the label text.