summaryrefslogtreecommitdiffstats
path: root/doc/html/mdi-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/mdi-example.html')
-rw-r--r--doc/html/mdi-example.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html
index 36aa1ec7c..aa29c5772 100644
--- a/doc/html/mdi-example.html
+++ b/doc/html/mdi-example.html
@@ -144,7 +144,7 @@ private:
#include &lt;<a href="tqmovie-h.html">tqmovie.h</a>&gt;
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqfiledialog-h.html">tqfiledialog.h</a>&gt;
-#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
+#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="tqprinter-h.html">tqprinter.h</a>&gt;
@@ -155,10 +155,10 @@ private:
#include &lt;<a href="tqtextedit-h.html">tqtextedit.h</a>&gt;
#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="tqpaintdevicemetrics-h.html">tqpaintdevicemetrics.h</a>&gt;
-#include &lt;<a href="qwhatsthis-h.html">ntqwhatsthis.h</a>&gt;
+#include &lt;<a href="tqwhatsthis-h.html">tqwhatsthis.h</a>&gt;
#include &lt;<a href="tqobjectlist-h.html">tqobjectlist.h</a>&gt;
#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
-#include &lt;<a href="qsimplerichtext-h.html">ntqsimplerichtext.h</a>&gt;
+#include &lt;<a href="tqsimplerichtext-h.html">tqsimplerichtext.h</a>&gt;
#include "filesave.xpm"
#include "fileopen.xpm"
@@ -203,13 +203,13 @@ const char * filePrintText = "Click this button to print the file you "
TQToolButton * filePrint
= new <a href="tqtoolbutton.html">TQToolButton</a>( printIcon, "Print File", TQString::null,
this, TQ_SLOT(print()), fileTools, "print file" );
-<a name="x2075"></a> TQWhatsThis::<a href="ntqwhatsthis.html#add">add</a>( filePrint, filePrintText );
+<a name="x2075"></a> TQWhatsThis::<a href="tqwhatsthis.html#add">add</a>( filePrint, filePrintText );
#endif
(void)TQWhatsThis::whatsThisButton( fileTools );
- TQWhatsThis::<a href="ntqwhatsthis.html#add">add</a>( fileOpen, fileOpenText );
- TQWhatsThis::<a href="ntqwhatsthis.html#add">add</a>( fileSave, fileSaveText );
+ TQWhatsThis::<a href="tqwhatsthis.html#add">add</a>( fileOpen, fileOpenText );
+ TQWhatsThis::<a href="tqwhatsthis.html#add">add</a>( fileSave, fileSaveText );
<a href="tqpopupmenu.html">TQPopupMenu</a> * file = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
<a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;File", file );
@@ -530,21 +530,21 @@ void <a name="f551"></a>MDIWindow::print( <a href="tqprinter.html">TQPrinter</a>
<a name="x2041"></a> int dpiy = metrics.<a href="tqpaintdevicemetrics.html#logicalDpiY">logicalDpiY</a>();
int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins
<a name="x2042"></a><a name="x2040"></a> <a href="tqrect.html">TQRect</a> view( margin, margin, metrics.<a href="tqpaintdevicemetrics.html#width">width</a>() - 2*margin, metrics.<a href="tqpaintdevicemetrics.html#height">height</a>() - 2*margin );
-<a name="x2067"></a> <a href="ntqsimplerichtext.html">TQSimpleRichText</a> richText( TQStyleSheet::<a href="tqstylesheet.html#convertFromPlainText">convertFromPlainText</a>(medit-&gt;<a href="tqtextedit.html#text">text</a>()),
+<a name="x2067"></a> <a href="tqsimplerichtext.html">TQSimpleRichText</a> richText( TQStyleSheet::<a href="tqstylesheet.html#convertFromPlainText">convertFromPlainText</a>(medit-&gt;<a href="tqtextedit.html#text">text</a>()),
TQFont(),
<a name="x2068"></a> medit-&gt;<a href="tqtextedit.html#context">context</a>(),
<a name="x2072"></a> medit-&gt;<a href="tqtextedit.html#styleSheet">styleSheet</a>(),
<a name="x2070"></a> medit-&gt;<a href="tqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>(),
view.<a href="tqrect.html#height">height</a>() );
-<a name="x2063"></a> richText.<a href="ntqsimplerichtext.html#setWidth">setWidth</a>( &amp;p, view.<a href="tqrect.html#width">width</a>() );
+<a name="x2063"></a> richText.<a href="tqsimplerichtext.html#setWidth">setWidth</a>( &amp;p, view.<a href="tqrect.html#width">width</a>() );
int page = 1;
do {
-<a name="x2061"></a> richText.<a href="ntqsimplerichtext.html#draw">draw</a>( &amp;p, margin, margin, view, colorGroup() );
+<a name="x2061"></a> richText.<a href="tqsimplerichtext.html#draw">draw</a>( &amp;p, margin, margin, view, colorGroup() );
<a name="x2057"></a> view.<a href="tqrect.html#moveBy">moveBy</a>( 0, view.<a href="tqrect.html#height">height</a>() );
p.<a href="tqpainter.html#translate">translate</a>( 0 , -view.<a href="tqrect.html#height">height</a>() );
<a name="x2066"></a><a name="x2046"></a> p.<a href="tqpainter.html#drawText">drawText</a>( view.<a href="tqrect.html#right">right</a>() - p.<a href="tqpainter.html#fontMetrics">fontMetrics</a>().width( TQString::<a href="tqstring.html#number">number</a>( page ) ),
view.<a href="tqrect.html#bottom">bottom</a>() + p.<a href="tqpainter.html#fontMetrics">fontMetrics</a>().ascent() + 5, TQString::number( page ) );
-<a name="x2062"></a> if ( view.<a href="tqrect.html#top">top</a>() - margin &gt;= richText.<a href="ntqsimplerichtext.html#height">height</a>() )
+<a name="x2062"></a> if ( view.<a href="tqrect.html#top">top</a>() - margin &gt;= richText.<a href="tqsimplerichtext.html#height">height</a>() )
break;
<a href="tqstring.html">TQString</a> msg( "Printing (page " );
msg += TQString::<a href="tqstring.html#number">number</a>( ++pageNo );