From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- examples/mdi/application.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/mdi/application.cpp') diff --git a/examples/mdi/application.cpp b/examples/mdi/application.cpp index 1b8604f58..6ec40009f 100644 --- a/examples/mdi/application.cpp +++ b/examples/mdi/application.cpp @@ -69,7 +69,7 @@ ApplicationWindow::ApplicationWindow() = new TQToolButton( saveIcon, "Save File", TQString::null, this, SLOT(save()), fileTools, "save file" ); -#ifndef QT_NO_PRINTER +#ifndef TQT_NO_PRINTER printer = new TQPrinter( TQPrinter::HighResolution ); TQPixmap printIcon; @@ -99,7 +99,7 @@ ApplicationWindow::ApplicationWindow() file->setWhatsThis( id, fileSaveText ); id = file->insertItem( "Save &As...", this, SLOT(saveAs()) ); file->setWhatsThis( id, fileSaveText ); -#ifndef QT_NO_PRINTER +#ifndef TQT_NO_PRINTER file->insertSeparator(); id = file->insertItem( printIcon, "&Print...", this, SLOT(print()), CTRL+Key_P ); @@ -136,7 +136,7 @@ ApplicationWindow::ApplicationWindow() ApplicationWindow::~ApplicationWindow() { -#ifndef QT_NO_PRINTER +#ifndef TQT_NO_PRINTER delete printer; #endif } @@ -186,7 +186,7 @@ void ApplicationWindow::saveAs() void ApplicationWindow::print() { -#ifndef QT_NO_PRINTER +#ifndef TQT_NO_PRINTER MDIWindow* m = (MDIWindow*)ws->activeWindow(); if ( m ) m->print( printer ); @@ -394,7 +394,7 @@ void MDIWindow::saveAs() void MDIWindow::print( TQPrinter* printer) { -#ifndef QT_NO_PRINTER +#ifndef TQT_NO_PRINTER int pageNo = 1; if ( printer->setup(this) ) { // printer dialog -- cgit v1.2.3