summaryrefslogtreecommitdiffstats
path: root/examples/demo/textdrawing/example.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/textdrawing/example.html')
-rw-r--r--examples/demo/textdrawing/example.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html
index fc48cca7..4056e2a1 100644
--- a/examples/demo/textdrawing/example.html
+++ b/examples/demo/textdrawing/example.html
@@ -13,7 +13,7 @@ The TQLabel widget provides a static information display
<p>
<code>#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;</code>
<p>
-Inherits <a href="ntqframe.html">TQFrame</a>.
+Inherits <a href="tqframe.html">TQFrame</a>.
<p><a href="tqlabel-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -82,13 +82,13 @@ key for another widget.
<p>When the content is changed using any of these functions, any
previous content is cleared.
<p>The look of a TQLabel can be tuned in several ways. All the settings
-of <a href="ntqframe.html">TQFrame</a> are available for specifying a widget frame. The
+of <a href="tqframe.html">TQFrame</a> are available for specifying a widget frame. The
positioning of the content within the TQLabel widget area can be
tuned with <a href="#1f406e">setAlignment</a>() and <a href="#ed9b8b">setIndent</a>(). For example, this code
sets up a sunken panel with a two-line text in the bottom right
corner (both lines being flush with the right side of the label):
<p><pre> <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>;
- label-&gt;<a href="ntqframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+ label-&gt;<a href="tqframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
label-&gt;<a href="#dffb43">setText</a>( "first line\nsecond line" );
label-&gt;<a href="#1f406e">setAlignment</a>( AlignBottom | AlignRight );
</pre>
@@ -118,19 +118,19 @@ use the <a href="#191701">setBuddy</a>() function to accomplish the same.
<h3 class="fn"><a name="5514c7"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * buddy, const <a href="tqstring.html">TQString</a> &amp; text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3>
<p>Constructs a label with a text and a buddy.
<p>The <em>text</em> is set with <a href="#dffb43">setText</a>(). The <em>buddy</em> is set with <a href="#191701">setBuddy</a>().
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="tqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#dffb43">setText</a>(), <a href="#191701">setBuddy</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<p>See also <a href="#dffb43">setText</a>(), <a href="#191701">setBuddy</a>(), <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="39107d"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3>
<p>Constructs an empty label.
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="tqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<p>See also <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="2bafbb"></a>TQLabel::TQLabel ( const <a href="tqstring.html">TQString</a> &amp; text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3>
<p>Constructs a label with a text. The <em>text</em> is set with <a href="#dffb43">setText</a>().
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="tqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#dffb43">setText</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<p>See also <a href="#dffb43">setText</a>(), <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="9958af"></a>TQLabel::~TQLabel ()</h3>
<p>Destructs the label.
<h3 class="fn">int <a name="2fcaa3"></a>TQLabel::alignment () const</h3>
@@ -149,12 +149,12 @@ is disabled.
<p>Clears any label contents. Equivalent with <a href="#dffb43">setText</a>( "" ).
<h3 class="fn">void <a name="fac264"></a>TQLabel::drawContents ( <a href="tqpainter.html">TQPainter</a> * p ) <code>[virtual protected]</code></h3>
<p>Draws the label contents using the painter <em>p.</em>
-<p>Reimplemented from <a href="ntqframe.html#99e687">TQFrame.</a>
+<p>Reimplemented from <a href="tqframe.html#99e687">TQFrame.</a>
<h3 class="fn">void <a name="479dd2"></a>TQLabel::drawContentsMask ( <a href="tqpainter.html">TQPainter</a> * p ) <code>[virtual protected]</code></h3>
<p>Draws the label contents mask using the painter <em>p.</em>
Used only in transparent mode.
<p>See also <a href="tqwidget.html#c7a335">TQWidget::setAutoMask</a>();.
-<p>Reimplemented from <a href="ntqframe.html#4cbf11">TQFrame.</a>
+<p>Reimplemented from <a href="tqframe.html#4cbf11">TQFrame.</a>
<h3 class="fn">void <a name="0435a2"></a>TQLabel::fontChange ( const <a href="tqfont.html">TQFont</a> &amp; ) <code>[virtual protected]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
<p>Reimplemented from <a href="tqwidget.html#570a8f">TQWidget.</a>
@@ -245,13 +245,13 @@ to the right edge if alignment() is <code>AlignRight,</code> to the top edge
if alignment() is <code>AlignTop,</code> and to to the bottom edge if
alignment() is <code>AlignBottom.</code>
<p>If <em>indent</em> is negative, or if no indent has been set, the label
-computes the effective indent as follows: If <a href="ntqframe.html#e0ccef">frameWidth</a>() is 0, the
+computes the effective indent as follows: If <a href="tqframe.html#e0ccef">frameWidth</a>() is 0, the
effective indent becomes 0. If frameWidth() is greater than 0, the
effective indent becomes half the width of the "x" character of the
widget's current <a href="tqwidget.html#3a7237">font</a>().
<p>If <em>indent</em> is non-negative, the effective indent is <em>indent</em>
pixels.
-<p>See also <a href="#e3c907">indent</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#e0ccef">frameWidth</a>() and <a href="tqwidget.html#3a7237">font</a>().
+<p>See also <a href="#e3c907">indent</a>(), <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#e0ccef">frameWidth</a>() and <a href="tqwidget.html#3a7237">font</a>().
<p>Examples:
<a href="movies-main-cpp.html#setIndent">movies/main.cpp</a>
<h3 class="fn">void <a name="60de9f"></a>TQLabel::setMovie ( const <a href="tqmovie.html">TQMovie</a> &amp; movie ) <code>[virtual slot]</code></h3>