summaryrefslogtreecommitdiffstats
path: root/doc/html/richtext-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 12:56:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 12:56:43 +0900
commit0cf411b09cf5d8970b873a338a69eae98d5ce5d8 (patch)
tree107cf55759cc3138bb1e0035b479bcd92127403a /doc/html/richtext-example.html
parente6077c30d14e9d662e8843c554db86c0d366d0b6 (diff)
downloadtqt3-0cf411b09cf5d8970b873a338a69eae98d5ce5d8.tar.gz
tqt3-0cf411b09cf5d8970b873a338a69eae98d5ce5d8.zip
Rename text nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/richtext-example.html')
-rw-r--r--doc/html/richtext-example.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/richtext-example.html b/doc/html/richtext-example.html
index b14bf17b..f592e46e 100644
--- a/doc/html/richtext-example.html
+++ b/doc/html/richtext-example.html
@@ -64,7 +64,7 @@ public:
MyRichText( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );
protected:
- <a href="ntqtextview.html">TQTextView</a> *view;
+ <a href="tqtextview.html">TQTextView</a> *view;
<a href="ntqpushbutton.html">TQPushButton</a> *bClose, *bNext, *bPrev;
int num;
@@ -94,7 +94,7 @@ protected slots:
#include &lt;<a href="qhbox-h.html">ntqhbox.h</a>&gt;
#include &lt;<a href="qhbox-h.html">ntqhbox.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
-#include &lt;<a href="qtextview-h.html">ntqtextview.h</a>&gt;
+#include &lt;<a href="tqtextview-h.html">tqtextview.h</a>&gt;
#include &lt;<a href="qbrush-h.html">ntqbrush.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
@@ -161,16 +161,16 @@ static const char* sayings[] = {
{
<a href="ntqframe.html#setMargin">setMargin</a>( 5 );
- view = new <a href="ntqtextview.html">TQTextView</a>( this );
-<a name="x465"></a> view-&gt;<a href="ntqtextedit.html#setText">setText</a>( "This is a &lt;b&gt;Test&lt;/b&gt; with &lt;i&gt;italic&lt;/i&gt; &lt;u&gt;stuff&lt;/u&gt;" );
+ view = new <a href="tqtextview.html">TQTextView</a>( this );
+<a name="x465"></a> view-&gt;<a href="tqtextedit.html#setText">setText</a>( "This is a &lt;b&gt;Test&lt;/b&gt; with &lt;i&gt;italic&lt;/i&gt; &lt;u&gt;stuff&lt;/u&gt;" );
<a href="ntqbrush.html">TQBrush</a> paper;
<a name="x461"></a> paper.<a href="ntqbrush.html#setPixmap">setPixmap</a>( TQPixmap( "../richtext/marble.png" ) );
<a name="x460"></a> if ( paper.<a href="ntqbrush.html#pixmap">pixmap</a>() != 0 )
-<a name="x464"></a> view-&gt;<a href="ntqtextedit.html#setPaper">setPaper</a>( paper );
+<a name="x464"></a> view-&gt;<a href="tqtextedit.html#setPaper">setPaper</a>( paper );
else
- view-&gt;<a href="ntqtextedit.html#setPaper">setPaper</a>( white );
+ view-&gt;<a href="tqtextedit.html#setPaper">setPaper</a>( white );
- view-&gt;<a href="ntqtextedit.html#setText">setText</a>( sayings[0] );
+ view-&gt;<a href="tqtextedit.html#setText">setText</a>( sayings[0] );
<a name="x467"></a> view-&gt;<a href="tqwidget.html#setMinimumSize">setMinimumSize</a>( 450, 250 );
<a href="ntqhbox.html">TQHBox</a> *buttons = new <a href="ntqhbox.html">TQHBox</a>( this );
@@ -196,7 +196,7 @@ void <a name="f256"></a>MyRichText::prev()
num--;
- view-&gt;<a href="ntqtextedit.html#setText">setText</a>( sayings[num] );
+ view-&gt;<a href="tqtextedit.html#setText">setText</a>( sayings[num] );
if ( num == 0 )
bPrev-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
@@ -209,7 +209,7 @@ void <a name="f257"></a>MyRichText::next()
if ( !sayings[++num] )
return;
- view-&gt;<a href="ntqtextedit.html#setText">setText</a>( sayings[num] );
+ view-&gt;<a href="tqtextedit.html#setText">setText</a>( sayings[num] );
if ( !sayings[num + 1] )
bNext-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );