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.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html
index 94cf3aafe..50684724d 100644
--- a/doc/html/mdi-example.html
+++ b/doc/html/mdi-example.html
@@ -195,7 +195,7 @@ const char * filePrintText = "Click this button to print the file you "
= new <a href="ntqtoolbutton.html">TQToolButton</a>( saveIcon, "Save File", TQString::null,
this, SLOT(save()), fileTools, "save file" );
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
printer = new <a href="ntqprinter.html">TQPrinter</a>( TQPrinter::HighResolution );
<a href="ntqpixmap.html">TQPixmap</a> printIcon;
@@ -225,7 +225,7 @@ const char * filePrintText = "Click this button to print the file you "
file-&gt;<a href="ntqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileSaveText );
id = file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Save &amp;As...", this, SLOT(saveAs()) );
file-&gt;<a href="ntqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileSaveText );
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
id = file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( printIcon, "&amp;Print...",
this, SLOT(print()), CTRL+Key_P );
@@ -262,7 +262,7 @@ const char * filePrintText = "Click this button to print the file you "
ApplicationWindow::~ApplicationWindow()
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
delete printer;
#endif
}
@@ -312,7 +312,7 @@ void <a name="f539"></a>ApplicationWindow::saveAs()
void <a name="f540"></a>ApplicationWindow::print()
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
MDIWindow* m = (MDIWindow*)ws-&gt;<a href="ntqworkspace.html#activeWindow">activeWindow</a>();
if ( m )
m-&gt;print( printer );
@@ -520,7 +520,7 @@ void <a name="f550"></a>MDIWindow::saveAs()
void <a name="f551"></a>MDIWindow::print( <a href="ntqprinter.html">TQPrinter</a>* printer)
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
int pageNo = 1;
<a name="x2052"></a> if ( printer-&gt;<a href="ntqprinter.html#setup">setup</a>(this) ) { // printer dialog