summaryrefslogtreecommitdiffstats
path: root/doc/html/tqtextedit.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 15:05:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-12 19:18:55 +0900
commit7bc57326e69b9c3f0eaeda63e4a49b67ba611426 (patch)
tree015fd18fdc62bce380935d546b677aa965b090c6 /doc/html/tqtextedit.html
parentccbc1c3572fd0e26480c1432fff55d2909545538 (diff)
downloadtqt3-7bc57326e69b9c3f0eaeda63e4a49b67ba611426.tar.gz
tqt3-7bc57326e69b9c3f0eaeda63e4a49b67ba611426.zip
Rename style nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqtextedit.html')
-rw-r--r--doc/html/tqtextedit.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqtextedit.html b/doc/html/tqtextedit.html
index fc28e21b..29d52d81 100644
--- a/doc/html/tqtextedit.html
+++ b/doc/html/tqtextedit.html
@@ -305,7 +305,7 @@ plain text and HTML files (a subset of HTML 3.2 and 4). The
rendering style and the set of valid tags are defined by a
<a href="#styleSheet">styleSheet</a>(). Custom tags can be created and placed in a custom
style sheet. Change the style sheet with <a href="#setStyleSheet">setStyleSheet</a>(); see
-<a href="ntqstylesheet.html">TQStyleSheet</a> for details. The images identified by image tags are
+<a href="tqstylesheet.html">TQStyleSheet</a> for details. The images identified by image tags are
displayed if they can be interpreted using the text edit's
<a href="qmimesourcefactory.html">TQMimeSourceFactory</a>; see <a href="#setMimeSourceFactory">setMimeSourceFactory</a>().
<p> If you want a text browser with more navigation use <a href="tqtextbrowser.html">TQTextBrowser</a>.
@@ -449,15 +449,15 @@ custom tag, you could do the following:
<pre>
TQTextEdit * log = new TQTextEdit( this );
log-&gt;<a href="#setTextFormat">setTextFormat</a>( TQt::<a href="ntqt.html#TextFormat-enum">LogText</a> );
- <a href="qstylesheetitem.html">TQStyleSheetItem</a> * item = new <a href="qstylesheetitem.html">TQStyleSheetItem</a>( log-&gt;<a href="#styleSheet">styleSheet</a>(), "mytag" );
- item-&gt;<a href="qstylesheetitem.html#setColor">setColor</a>( "red" );
- item-&gt;<a href="qstylesheetitem.html#setFontWeight">setFontWeight</a>( TQFont::Bold );
- item-&gt;<a href="qstylesheetitem.html#setFontUnderline">setFontUnderline</a>( TRUE );
+ <a href="tqstylesheetitem.html">TQStyleSheetItem</a> * item = new <a href="tqstylesheetitem.html">TQStyleSheetItem</a>( log-&gt;<a href="#styleSheet">styleSheet</a>(), "mytag" );
+ item-&gt;<a href="tqstylesheetitem.html#setColor">setColor</a>( "red" );
+ item-&gt;<a href="tqstylesheetitem.html#setFontWeight">setFontWeight</a>( TQFont::Bold );
+ item-&gt;<a href="tqstylesheetitem.html#setFontUnderline">setFontUnderline</a>( TRUE );
log-&gt;<a href="#append">append</a>( "This is a &lt;mytag&gt;custom tag&lt;/mytag&gt;!" );
</pre>
Note that only the color, bold, underline and italic attributes of
-a <a href="qstylesheetitem.html">TQStyleSheetItem</a> is used in LogText mode.
+a <a href="tqstylesheetitem.html">TQStyleSheetItem</a> is used in LogText mode.
<p> Note that you can use <a href="#setMaxLogLines">setMaxLogLines</a>() to limit the number of
lines the widget can hold in LogText mode.
<p> There are a few things that you need to be aware of when the
@@ -1280,7 +1280,7 @@ inverted with <em>invertText</em>.
<p> This only works for <em>selNum</em> > 0. The default selection (<em>selNum</em> == 0) gets its attributes from the text edit's
<a href="tqwidget.html#colorGroup">colorGroup</a>().
-<h3 class=fn>void <a name="setStyleSheet"></a>TQTextEdit::setStyleSheet ( <a href="ntqstylesheet.html">TQStyleSheet</a>&nbsp;*&nbsp;styleSheet )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="setStyleSheet"></a>TQTextEdit::setStyleSheet ( <a href="tqstylesheet.html">TQStyleSheet</a>&nbsp;*&nbsp;styleSheet )<tt> [virtual slot]</tt>
</h3>
Sets the stylesheet to use with this text edit to <em>styleSheet</em>.
Changes will only take effect for new text added with <a href="#setText">setText</a>() or
@@ -1305,7 +1305,7 @@ context to <em>context</em>. Any previous text is removed.
depending on the <a href="#textFormat">textFormat</a>(). The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>,
i.e. the text edit auto-detects the format from <em>text</em>.
<p> For rich text the rendering style and available tags are defined
-by a <a href="#styleSheet">styleSheet</a>(); see <a href="ntqstylesheet.html">TQStyleSheet</a> for details.
+by a <a href="#styleSheet">styleSheet</a>(); see <a href="tqstylesheet.html">TQStyleSheet</a> for details.
<p> The optional <em>context</em> is a path which the text edit's
<a href="qmimesourcefactory.html">TQMimeSourceFactory</a> uses to resolve the locations of files and
images. (See <a href="#TQTextEdit">TQTextEdit::TQTextEdit</a>().) It is passed to the text
@@ -1343,9 +1343,9 @@ See the <a href="tqtextedit.html#wrapColumnOrWidth-prop">"wrapColumnOrWidth"</a>
<h3 class=fn>void <a name="setWrapPolicy"></a>TQTextEdit::setWrapPolicy ( <a href="tqtextedit.html#WrapPolicy-enum">WrapPolicy</a>&nbsp;policy )<tt> [virtual slot]</tt>
</h3><p>Sets the word wrap policy, at whitespace or anywhere to <em>policy</em>.
See the <a href="tqtextedit.html#wrapPolicy-prop">"wrapPolicy"</a> property for details.
-<h3 class=fn><a href="ntqstylesheet.html">TQStyleSheet</a>&nbsp;* <a name="styleSheet"></a>TQTextEdit::styleSheet () const
+<h3 class=fn><a href="tqstylesheet.html">TQStyleSheet</a>&nbsp;* <a name="styleSheet"></a>TQTextEdit::styleSheet () const
</h3>
-Returns the <a href="ntqstylesheet.html">TQStyleSheet</a> which is being used by this text edit.
+Returns the <a href="tqstylesheet.html">TQStyleSheet</a> which is being used by this text edit.
<p> <p>See also <a href="#setStyleSheet">setStyleSheet</a>().
<p>Examples: <a href="qaction-application-example.html#x1169">action/application.cpp</a>, <a href="simple-application-example.html#x1587">application/application.cpp</a>, <a href="helpviewer-example.html#x1031">helpviewer/helpwindow.cpp</a>, and <a href="mdi-example.html#x2072">mdi/application.cpp</a>.
@@ -1563,13 +1563,13 @@ verbatim, including spaces. Whenever a newline appears in the text
the text edit inserts a hard line break and begins a new
paragraph.
<li> RichText - rich text rendering. The available styles are
-defined in the default stylesheet <a href="ntqstylesheet.html#defaultSheet">TQStyleSheet::defaultSheet</a>().
+defined in the default stylesheet <a href="tqstylesheet.html#defaultSheet">TQStyleSheet::defaultSheet</a>().
<li> LogText - optimized mode for very large texts. Supports a very
limited set of formatting tags (color, bold, underline and italic
settings).
<li> AutoText - this is the default. The text edit autodetects which
rendering style is best, <a href="ntqt.html#TextFormat-enum">PlainText</a> or <a href="ntqt.html#TextFormat-enum">RichText</a>. This is done
-by using the <a href="ntqstylesheet.html#mightBeRichText">TQStyleSheet::mightBeRichText</a>() function.
+by using the <a href="tqstylesheet.html#mightBeRichText">TQStyleSheet::mightBeRichText</a>() function.
</ul>
<p>Set this property's value with <a href="#setTextFormat">setTextFormat</a>() and get this property's value with <a href="#textFormat">textFormat</a>().