summaryrefslogtreecommitdiffstats
path: root/doc/html/qwerty-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-12 22:02:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-12 22:02:11 +0900
commit42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch)
tree0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/qwerty-example.html
parentfef846914f8db6dc117e206ef913d519bf6bb33e (diff)
downloadtqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz
tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r--doc/html/qwerty-example.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html
index b55650d7..1a224551 100644
--- a/doc/html/qwerty-example.html
+++ b/doc/html/qwerty-example.html
@@ -50,7 +50,7 @@ body { background: #ffffff; color: black; }
#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
-#include &lt;<a href="qmultilineedit-h.html">ntqmultilineedit.h</a>&gt;
+#include &lt;<a href="tqmultilineedit-h.html">tqmultilineedit.h</a>&gt;
#include &lt;<a href="tqprinter-h.html">tqprinter.h</a>&gt;
class Editor : public <a href="tqwidget.html">TQWidget</a>
@@ -84,7 +84,7 @@ private:
bool saveAs( const <a href="tqstring.html">TQString</a>&amp; fileName, int code=-1 );
void rebuildCodecList();
<a href="tqmenubar.html">TQMenuBar</a> *m;
- <a href="ntqmultilineedit.html">TQMultiLineEdit</a> *e;
+ <a href="tqmultilineedit.html">TQMultiLineEdit</a> *e;
#ifndef TQT_NO_PRINTER
<a href="tqprinter.html">TQPrinter</a> printer;
#endif
@@ -170,7 +170,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
edit-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;Select Font" , this, TQ_SLOT(<a href="tqwidget.html#font">font</a>()), ALT+Key_T );
#endif
changed = FALSE;
- e = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>( this, "editor" );
+ e = new <a href="tqmultilineedit.html">TQMultiLineEdit</a>( this, "editor" );
<a name="x400"></a> <a href="tqobject.html#connect">connect</a>( e, TQ_SIGNAL( <a href="tqtextedit.html#textChanged">textChanged</a>() ), this, TQ_SLOT( textChanged() ) );
// We use Unifont - if you have it installed you'll see all
@@ -256,7 +256,7 @@ void Editor::load( const <a href="tqstring.html">TQString</a>&amp; fileName, int
<a name="x363"></a> if ( !f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) )
return;
-<a name="x376"></a> e-&gt;<a href="ntqmultilineedit.html#setAutoUpdate">setAutoUpdate</a>( FALSE );
+<a name="x376"></a> e-&gt;<a href="tqmultilineedit.html#setAutoUpdate">setAutoUpdate</a>( FALSE );
<a href="tqtextstream.html">TQTextStream</a> t(&amp;f);
if ( code &gt;= Codec )
@@ -282,7 +282,7 @@ void Editor::load( const <a href="tqstring.html">TQString</a>&amp; fileName, int
<a name="x401"></a><a name="x398"></a> e-&gt;<a href="tqtextedit.html#setText">setText</a>( t.<a href="tqtextstream.html#read">read</a>() );
<a name="x362"></a> f.<a href="tqfile.html#close">close</a>();
- e-&gt;<a href="ntqmultilineedit.html#setAutoUpdate">setAutoUpdate</a>( TRUE );
+ e-&gt;<a href="tqmultilineedit.html#setAutoUpdate">setAutoUpdate</a>( TRUE );
<a name="x407"></a> e-&gt;<a href="tqwidget.html#repaint">repaint</a>();
<a href="tqwidget.html#setCaption">setCaption</a>( fileName );
@@ -388,7 +388,7 @@ void <a name="f244"></a>Editor::print()
<a name="x379"></a> const int MARGIN = metrics.<a href="tqpaintdevicemetrics.html#logicalDpiX">logicalDpiX</a>() / 2; // half-inch margin
int yPos = MARGIN; // y position for each line
-<a name="x375"></a> for( int i = 0 ; i &lt; e-&gt;<a href="ntqmultilineedit.html#numLines">numLines</a>() ; i++ ) {
+<a name="x375"></a> for( int i = 0 ; i &lt; e-&gt;<a href="tqmultilineedit.html#numLines">numLines</a>() ; i++ ) {
if ( printer.aborted() )
break;
<a name="x378"></a><a name="x369"></a> if ( yPos + fm.<a href="tqfontmetrics.html#lineSpacing">lineSpacing</a>() &gt; metrics.<a href="tqpaintdevicemetrics.html#height">height</a>() - MARGIN ) {
@@ -398,7 +398,7 @@ void <a name="f244"></a>Editor::print()
yPos = MARGIN; // back to top of page
}
<a name="x380"></a> p.<a href="tqpainter.html#drawText">drawText</a>( MARGIN, yPos, metrics.<a href="tqpaintdevicemetrics.html#width">width</a>() - 2*MARGIN,
-<a name="x377"></a> fm.<a href="tqfontmetrics.html#lineSpacing">lineSpacing</a>(), ExpandTabs, e-&gt;<a href="ntqmultilineedit.html#textLine">textLine</a>( i ) );
+<a name="x377"></a> fm.<a href="tqfontmetrics.html#lineSpacing">lineSpacing</a>(), ExpandTabs, e-&gt;<a href="tqmultilineedit.html#textLine">textLine</a>( i ) );
yPos += fm.<a href="tqfontmetrics.html#lineSpacing">lineSpacing</a>();
}
p.<a href="tqpainter.html#end">end</a>(); // send job to printer