diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /examples/mdi | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/mdi')
-rw-r--r-- | examples/mdi/application.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 |