summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqtextedit.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:44:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/ntqtextedit.html
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz
tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqtextedit.html')
-rw-r--r--doc/html/ntqtextedit.html52
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/ntqtextedit.html b/doc/html/ntqtextedit.html
index a8c964aac..01610e7af 100644
--- a/doc/html/ntqtextedit.html
+++ b/doc/html/ntqtextedit.html
@@ -644,7 +644,7 @@ spaces or newlines if possible. Break it anywhere otherwise.
</ul><p> <p>See also <a href="#wrapPolicy-prop">wrapPolicy</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQTextEdit"></a>TQTextEdit::TQTextEdit ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;context = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQTextEdit"></a>TQTextEdit::TQTextEdit ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;context = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a TQTextEdit called <em>name</em>, with parent <em>parent</em>. The
text edit will display the text <em>text</em> using context <em>context</em>.
@@ -671,20 +671,20 @@ Constructs an empty TQTextEdit called <em>name</em>, with parent <em>parent</em>
Returns the alignment of the current paragraph.
<p> <p>See also <a href="#setAlignment">setAlignment</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="anchorAt"></a>TQTextEdit::anchorAt ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, <a href="ntqt.html#AnchorAttribute-enum">AnchorAttribute</a>&nbsp;attr )
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="anchorAt"></a>TQTextEdit::anchorAt ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, <a href="ntqt.html#AnchorAttribute-enum">AnchorAttribute</a>&nbsp;attr )
</h3>
If there is an anchor at position <em>pos</em> (in contents
coordinates), the text for attribute <em>attr</em> is returned,
-otherwise <a href="ntqstring.html#TQString-null">TQString::null</a> is returned.
+otherwise <a href="tqstring.html#TQString-null">TQString::null</a> is returned.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="anchorAt-2"></a>TQTextEdit::anchorAt ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos )
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="anchorAt-2"></a>TQTextEdit::anchorAt ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> If there is an anchor at position <em>pos</em> (in contents
-coordinates), its <tt>href</tt> is returned, otherwise <a href="ntqstring.html#TQString-null">TQString::null</a> is
+coordinates), its <tt>href</tt> is returned, otherwise <a href="tqstring.html#TQString-null">TQString::null</a> is
returned.
-<h3 class=fn>void <a name="append"></a>TQTextEdit::append ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="append"></a>TQTextEdit::append ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text )<tt> [virtual slot]</tt>
</h3>
Appends a new paragraph with <em>text</em> to the end of the text edit. Note that
the undo/redo history is cleared by this function, and no undo
@@ -729,7 +729,7 @@ default color is used again.
Returns the color of the current format.
<p> <p>See also <a href="#setColor">setColor</a>() and <a href="#paper-prop">paper</a>.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="context"></a>TQTextEdit::context () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="context"></a>TQTextEdit::context () const
</h3>
Returns the context of the text edit. The context is a path which
the text edit's <a href="qmimesourcefactory.html">TQMimeSourceFactory</a> uses to resolve the locations
@@ -838,7 +838,7 @@ right of the text cursor is deleted.
Executes keyboard action <em>action</em>. This is normally called by a
key event handler.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="documentTitle"></a>TQTextEdit::documentTitle () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="documentTitle"></a>TQTextEdit::documentTitle () const
</h3><p>Returns the title of the document parsed from the text.
See the <a href="ntqtextedit.html#documentTitle-prop">"documentTitle"</a> property for details.
<h3 class=fn>void <a name="doubleClicked"></a>TQTextEdit::doubleClicked ( int&nbsp;para, int&nbsp;pos )<tt> [signal]</tt>
@@ -853,12 +853,12 @@ Ensures that the cursor is visible by scrolling the text edit if
necessary.
<p> <p>See also <a href="#setCursorPosition">setCursorPosition</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="family"></a>TQTextEdit::family () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="family"></a>TQTextEdit::family () const
</h3>
Returns the font family of the current format.
<p> <p>See also <a href="#setFamily">setFamily</a>(), <a href="#setCurrentFont">setCurrentFont</a>(), and <a href="#setPointSize">setPointSize</a>().
-<h3 class=fn>bool <a name="find"></a>TQTextEdit::find ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;expr, bool&nbsp;cs, bool&nbsp;wo, bool&nbsp;forward = TRUE, int&nbsp;*&nbsp;para = 0, int&nbsp;*&nbsp;index = 0 )<tt> [virtual]</tt>
+<h3 class=fn>bool <a name="find"></a>TQTextEdit::find ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;expr, bool&nbsp;cs, bool&nbsp;wo, bool&nbsp;forward = TRUE, int&nbsp;*&nbsp;para = 0, int&nbsp;*&nbsp;index = 0 )<tt> [virtual]</tt>
</h3>
Finds the next occurrence of the string, <em>expr</em>. Returns TRUE if
<em>expr</em> was found; otherwise returns FALSE.
@@ -931,29 +931,29 @@ Returns how many pixels high the text edit needs to be to display
all the text if the text edit is <em>w</em> pixels wide.
<p>Reimplemented from <a href="tqwidget.html#heightForWidth">TQWidget</a>.
-<h3 class=fn>void <a name="insert"></a>TQTextEdit::insert ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, uint&nbsp;insertionFlags = CheckNewLines | RemoveSelected )<tt> [slot]</tt>
+<h3 class=fn>void <a name="insert"></a>TQTextEdit::insert ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, uint&nbsp;insertionFlags = CheckNewLines | RemoveSelected )<tt> [slot]</tt>
</h3>
Inserts <em>text</em> at the current cursor position.
<p> The <em>insertionFlags</em> define how the text is inserted. If <a href="#TextInsertionFlags-enum">RedoIndentation</a> is set, the paragraph is re-indented. If <a href="#TextInsertionFlags-enum">CheckNewLines</a> is set, newline characters in <em>text</em> result in hard
line breaks (i.e. new paragraphs). If <tt>checkNewLine</tt> is not set,
the behaviour of the editor is undefined if the <em>text</em> contains
newlines. (It is not possible to change TQTextEdit's newline handling
-behavior, but you can use <a href="ntqstring.html#replace">TQString::replace</a>() to preprocess text
+behavior, but you can use <a href="tqstring.html#replace">TQString::replace</a>() to preprocess text
before inserting it.) If <a href="#TextInsertionFlags-enum">RemoveSelected</a> is set, any selected
text (in selection 0) is removed before the text is inserted.
<p> The default flags are <a href="#TextInsertionFlags-enum">CheckNewLines</a> | <a href="#TextInsertionFlags-enum">RemoveSelected</a>.
<p> If the widget is in <a href="ntqt.html#TextFormat-enum">LogText</a> mode this function will do nothing.
<p> <p>See also <a href="#paste">paste</a>() and <a href="#pasteSubType">pasteSubType</a>().
-<h3 class=fn>void <a name="insert-2"></a>TQTextEdit::insert ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, bool&nbsp;indent, bool&nbsp;checkNewLine = TRUE, bool&nbsp;removeSelected = TRUE )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="insert-2"></a>TQTextEdit::insert ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, bool&nbsp;indent, bool&nbsp;checkNewLine = TRUE, bool&nbsp;removeSelected = TRUE )<tt> [virtual slot]</tt>
</h3>
<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p>
-<h3 class=fn>void <a name="insertAt"></a>TQTextEdit::insertAt ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, int&nbsp;para, int&nbsp;index )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="insertAt"></a>TQTextEdit::insertAt ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, int&nbsp;para, int&nbsp;index )<tt> [virtual slot]</tt>
</h3>
Inserts <em>text</em> in the paragraph <em>para</em> at position <em>index</em>.
-<h3 class=fn>void <a name="insertParagraph"></a>TQTextEdit::insertParagraph ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, int&nbsp;para )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="insertParagraph"></a>TQTextEdit::insertParagraph ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, int&nbsp;para )<tt> [virtual slot]</tt>
</h3>
Inserts <em>text</em> as a new paragraph at position <em>para</em>. If <em>para</em>
is -1, the text is appended. Use <a href="#append">append</a>() if the append operation
@@ -1145,7 +1145,7 @@ this yourself.
<p> This signal is emitted if the user pressed the Return or the Enter
key.
-<h3 class=fn>void <a name="scrollToAnchor"></a>TQTextEdit::scrollToAnchor ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="scrollToAnchor"></a>TQTextEdit::scrollToAnchor ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )<tt> [virtual slot]</tt>
</h3>
Scrolls the text edit to make the text at the anchor called <em>name</em> visible, if it can be found in the document. If the anchor
isn't found no scrolling will occur. An anchor is defined using
@@ -1163,7 +1163,7 @@ selection 0. If <em>select</em> is FALSE any selected text is
unselected, i.e. the default selection (selection 0) is cleared.
<p> <p>See also <a href="#selectedText-prop">selectedText</a>.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedText"></a>TQTextEdit::selectedText () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedText"></a>TQTextEdit::selectedText () const
</h3><p>Returns the selected text (from selection 0) or an empty string if there is no currently selected text (in selection 0).
See the <a href="ntqtextedit.html#selectedText-prop">"selectedText"</a> property for details.
<h3 class=fn>void <a name="selectionChanged"></a>TQTextEdit::selectionChanged ()<tt> [signal]</tt>
@@ -1207,7 +1207,7 @@ nothing. Use <a href="tqwidget.html#setFont">setFont</a>() instead.
Sets the cursor to position <em>index</em> in paragraph <em>para</em>.
<p> <p>See also <a href="#getCursorPosition">getCursorPosition</a>().
-<h3 class=fn>void <a name="setFamily"></a>TQTextEdit::setFamily ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;fontFamily )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="setFamily"></a>TQTextEdit::setFamily ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;fontFamily )<tt> [virtual slot]</tt>
</h3>
Sets the font family of the current format to <em>fontFamily</em>.
<p> <p>See also <a href="#family">family</a>() and <a href="#setCurrentFont">setCurrentFont</a>().
@@ -1293,10 +1293,10 @@ See the <a href="ntqtextedit.html#tabChangesFocus-prop">"tabChangesFocus"</a> pr
<h3 class=fn>void <a name="setTabStopWidth"></a>TQTextEdit::setTabStopWidth ( int&nbsp;ts )<tt> [virtual slot]</tt>
</h3><p>Sets the tab stop width in pixels to <em>ts</em>.
See the <a href="ntqtextedit.html#tabStopWidth-prop">"tabStopWidth"</a> property for details.
-<h3 class=fn>void <a name="setText"></a>TQTextEdit::setText ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;txt )<tt> [slot]</tt>
+<h3 class=fn>void <a name="setText"></a>TQTextEdit::setText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;txt )<tt> [slot]</tt>
</h3><p>Sets the text edit's text to <em>txt</em>.
See the <a href="ntqtextedit.html#text-prop">"text"</a> property for details.
-<h3 class=fn>void <a name="setText-2"></a>TQTextEdit::setText ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;context )<tt> [virtual slot]</tt>
+<h3 class=fn>void <a name="setText-2"></a>TQTextEdit::setText ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;context )<tt> [virtual slot]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Changes the text of the text edit to the string <em>text</em> and the
@@ -1371,10 +1371,10 @@ See the <a href="ntqtextedit.html#tabChangesFocus-prop">"tabChangesFocus"</a> pr
<h3 class=fn>int <a name="tabStopWidth"></a>TQTextEdit::tabStopWidth () const
</h3><p>Returns the tab stop width in pixels.
See the <a href="ntqtextedit.html#tabStopWidth-prop">"tabStopWidth"</a> property for details.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQTextEdit::text () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQTextEdit::text () const
</h3><p>Returns the text edit's text.
See the <a href="ntqtextedit.html#text-prop">"text"</a> property for details.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text-2"></a>TQTextEdit::text ( int&nbsp;para ) const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text-2"></a>TQTextEdit::text ( int&nbsp;para ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns the text of paragraph <em>para</em>.
@@ -1477,7 +1477,7 @@ to disable all automatic formatting.
<p> Currently, the only automatic formatting feature provided is <a href="#AutoFormatting-enum">AutoBulletList</a>; future versions of TQt may offer more.
<p>Set this property's value with <a href="#setAutoFormatting">setAutoFormatting</a>() and get this property's value with <a href="#autoFormatting">autoFormatting</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="documentTitle-prop"></a>documentTitle</h3>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="documentTitle-prop"></a>documentTitle</h3>
<p>This property holds the title of the document parsed from the text.
<p>For <a href="ntqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <a href="ntqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt>&lt;title&gt;</tt> tags,
if present, otherwise an empty string.
@@ -1523,7 +1523,7 @@ text and select text; modifying the text is not possible.
<p> This property's default is FALSE.
<p>Set this property's value with <a href="#setReadOnly">setReadOnly</a>() and get this property's value with <a href="#isReadOnly">isReadOnly</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedText-prop"></a>selectedText</h3>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedText-prop"></a>selectedText</h3>
<p>This property holds the selected text (from selection 0) or an empty string if there is no currently selected text (in selection 0).
<p>The text is always returned as <a href="ntqt.html#TextFormat-enum">PlainText</a> if the <a href="#textFormat">textFormat</a>() is
<a href="ntqt.html#TextFormat-enum">PlainText</a> or <a href="ntqt.html#TextFormat-enum">AutoText</a>, otherwise it is returned as HTML.
@@ -1540,7 +1540,7 @@ the focus chain. The default is FALSE.
<p>This property holds the tab stop width in pixels.
<p>
<p>Set this property's value with <a href="#setTabStopWidth">setTabStopWidth</a>() and get this property's value with <a href="#tabStopWidth">tabStopWidth</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text-prop"></a>text</h3>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text-prop"></a>text</h3>
<p>This property holds the text edit's text.
<p>There is no default text.
<p> On setting, any previous text is deleted.
@@ -1549,7 +1549,7 @@ depending on the <a href="#textFormat">textFormat</a>(). The default setting is
i.e. the text edit auto-detects the format of the text.
<p> For richtext, calling <a href="#text">text</a>() on an editable TQTextEdit will cause
the text to be regenerated from the textedit. This may mean that
-the <a href="ntqstring.html">TQString</a> returned may not be exactly the same as the one that
+the <a href="tqstring.html">TQString</a> returned may not be exactly the same as the one that
was set.
<p> <p>See also <a href="#textFormat-prop">textFormat</a>.