summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqsimplerichtext.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqsimplerichtext.html')
-rw-r--r--doc/html/ntqsimplerichtext.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqsimplerichtext.html b/doc/html/ntqsimplerichtext.html
index 8715d3384..68b195162 100644
--- a/doc/html/ntqsimplerichtext.html
+++ b/doc/html/ntqsimplerichtext.html
@@ -67,7 +67,7 @@ text. TQt provides a default HTML-like style sheet, but you may
define custom style sheets.
<p> Once created, the rich text object can be queried for its <a href="#width">width</a>(),
<a href="#height">height</a>(), and the actual width used (see <a href="#widthUsed">widthUsed</a>()). Most
-importantly, it can be drawn on any given <a href="ntqpainter.html">TQPainter</a> with <a href="#draw">draw</a>().
+importantly, it can be drawn on any given <a href="tqpainter.html">TQPainter</a> with <a href="#draw">draw</a>().
TQSimpleRichText can also be used to implement hypertext or active
text facilities by using <a href="#anchorAt">anchorAt</a>(). A hit test through <a href="#inText">inText</a>()
makes it possible to use simple rich text for text objects in
@@ -83,7 +83,7 @@ laid out properly on the page.
<p>See also <a href="text.html">Text Related Classes</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQSimpleRichText"></a>TQSimpleRichText::TQSimpleRichText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="ntqfont.html">TQFont</a>&nbsp;&amp;&nbsp;fnt, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;context = TQString::null, const&nbsp;<a href="tqstylesheet.html">TQStyleSheet</a>&nbsp;*&nbsp;sheet = 0 )
+<h3 class=fn><a name="TQSimpleRichText"></a>TQSimpleRichText::TQSimpleRichText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="tqfont.html">TQFont</a>&nbsp;&amp;&nbsp;fnt, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;context = TQString::null, const&nbsp;<a href="tqstylesheet.html">TQStyleSheet</a>&nbsp;*&nbsp;sheet = 0 )
</h3>
Constructs a TQSimpleRichText from the rich text string <em>text</em> and
the font <em>fnt</em>.
@@ -104,14 +104,14 @@ calculate the absolute path. See
<p> The <em>sheet</em> is an optional style sheet. If it is 0, the default
style sheet will be used (see <a href="tqstylesheet.html#defaultSheet">TQStyleSheet::defaultSheet</a>()).
-<h3 class=fn><a name="TQSimpleRichText-2"></a>TQSimpleRichText::TQSimpleRichText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="ntqfont.html">TQFont</a>&nbsp;&amp;&nbsp;fnt, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;context, const&nbsp;<a href="tqstylesheet.html">TQStyleSheet</a>&nbsp;*&nbsp;sheet, const&nbsp;<a href="tqmimesourcefactory.html">TQMimeSourceFactory</a>&nbsp;*&nbsp;factory, int&nbsp;pageBreak = -1, const&nbsp;<a href="ntqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;linkColor = TQt::blue, bool&nbsp;linkUnderline = TRUE )
+<h3 class=fn><a name="TQSimpleRichText-2"></a>TQSimpleRichText::TQSimpleRichText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="tqfont.html">TQFont</a>&nbsp;&amp;&nbsp;fnt, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;context, const&nbsp;<a href="tqstylesheet.html">TQStyleSheet</a>&nbsp;*&nbsp;sheet, const&nbsp;<a href="tqmimesourcefactory.html">TQMimeSourceFactory</a>&nbsp;*&nbsp;factory, int&nbsp;pageBreak = -1, const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;linkColor = TQt::blue, bool&nbsp;linkUnderline = TRUE )
</h3>
Constructs a TQSimpleRichText from the rich text string <em>text</em> and
the font <em>fnt</em>.
<p> This is a slightly more complex constructor for TQSimpleRichText
that takes an additional mime source factory <em>factory</em>, a page
break parameter <em>pageBreak</em> and a bool <em>linkUnderline</em>. <em>linkColor</em> is only provided for compatibility, but has no effect,
-as <a href="qcolorgroup.html">TQColorGroup</a>'s <a href="qcolorgroup.html#link">TQColorGroup::link</a>() color is used now.
+as <a href="tqcolorgroup.html">TQColorGroup</a>'s <a href="tqcolorgroup.html#link">TQColorGroup::link</a>() color is used now.
<p> <em>context</em> is the optional context of the rich text object. This
becomes important if <em>text</em> contains relative references, for
example within image tags. TQSimpleRichText always uses the default
@@ -146,7 +146,7 @@ been specified in the constructor, a null string is returned. The
context is the path to use to look up relative links, such as
image tags and anchor references.
-<h3 class=fn>void <a name="draw"></a>TQSimpleRichText::draw ( <a href="ntqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, int&nbsp;x, int&nbsp;y, const&nbsp;<a href="ntqrect.html">TQRect</a>&nbsp;&amp;&nbsp;clipRect, const&nbsp;<a href="qcolorgroup.html">TQColorGroup</a>&nbsp;&amp;&nbsp;cg, const&nbsp;<a href="ntqbrush.html">TQBrush</a>&nbsp;*&nbsp;paper = 0 ) const
+<h3 class=fn>void <a name="draw"></a>TQSimpleRichText::draw ( <a href="tqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, int&nbsp;x, int&nbsp;y, const&nbsp;<a href="ntqrect.html">TQRect</a>&nbsp;&amp;&nbsp;clipRect, const&nbsp;<a href="tqcolorgroup.html">TQColorGroup</a>&nbsp;&amp;&nbsp;cg, const&nbsp;<a href="tqbrush.html">TQBrush</a>&nbsp;*&nbsp;paper = 0 ) const
</h3>
Draws the formatted text with painter <em>p</em>, at position (<em>x</em>, <em>y</em>), clipped to <em>clipRect</em>. The clipping rectangle is given in the
rich text object's coordinates translated by (<em>x</em>, <em>y</em>). Passing
@@ -158,7 +158,7 @@ so passing a brush for <em>paper</em> is preferable to simply clearing
the area to be painted and then calling this without a brush.
<p>Examples: <a href="tqaction-application-example.html#x1158">action/application.cpp</a>, <a href="simple-application-example.html#x1576">application/application.cpp</a>, <a href="helpviewer-example.html#x1014">helpviewer/helpwindow.cpp</a>, and <a href="mdi-example.html#x2061">mdi/application.cpp</a>.
-<h3 class=fn>void <a name="draw-2"></a>TQSimpleRichText::draw ( <a href="ntqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, int&nbsp;x, int&nbsp;y, const&nbsp;<a href="ntqregion.html">TQRegion</a>&nbsp;&amp;&nbsp;clipRegion, const&nbsp;<a href="qcolorgroup.html">TQColorGroup</a>&nbsp;&amp;&nbsp;cg, const&nbsp;<a href="ntqbrush.html">TQBrush</a>&nbsp;*&nbsp;paper = 0 ) const
+<h3 class=fn>void <a name="draw-2"></a>TQSimpleRichText::draw ( <a href="tqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, int&nbsp;x, int&nbsp;y, const&nbsp;<a href="ntqregion.html">TQRegion</a>&nbsp;&amp;&nbsp;clipRegion, const&nbsp;<a href="tqcolorgroup.html">TQColorGroup</a>&nbsp;&amp;&nbsp;cg, const&nbsp;<a href="tqbrush.html">TQBrush</a>&nbsp;*&nbsp;paper = 0 ) const
</h3>
<p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> Use the version with clipRect instead. The region version has
@@ -176,11 +176,11 @@ Returns the height of the rich text object in pixels.
Returns TRUE if <em>pos</em> is within a text line of the rich text
object; otherwise returns FALSE.
-<h3 class=fn>void <a name="setDefaultFont"></a>TQSimpleRichText::setDefaultFont ( const&nbsp;<a href="ntqfont.html">TQFont</a>&nbsp;&amp;&nbsp;f )
+<h3 class=fn>void <a name="setDefaultFont"></a>TQSimpleRichText::setDefaultFont ( const&nbsp;<a href="tqfont.html">TQFont</a>&nbsp;&amp;&nbsp;f )
</h3>
Sets the default font for the rich text object to <em>f</em>
-<h3 class=fn>void <a name="setWidth"></a>TQSimpleRichText::setWidth ( <a href="ntqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, int&nbsp;w )
+<h3 class=fn>void <a name="setWidth"></a>TQSimpleRichText::setWidth ( <a href="tqpainter.html">TQPainter</a>&nbsp;*&nbsp;p, int&nbsp;w )
</h3>
Sets the width of the rich text object to <em>w</em> pixels,
recalculating the layout as if it were to be drawn with painter <em>p</em>.