summaryrefslogtreecommitdiffstats
path: root/examples/demo/textdrawing
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /examples/demo/textdrawing
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/demo/textdrawing')
-rw-r--r--examples/demo/textdrawing/helpwindow.cpp4
-rw-r--r--examples/demo/textdrawing/textedit.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/demo/textdrawing/helpwindow.cpp b/examples/demo/textdrawing/helpwindow.cpp
index 27d61d1ad..833caa179 100644
--- a/examples/demo/textdrawing/helpwindow.cpp
+++ b/examples/demo/textdrawing/helpwindow.cpp
@@ -216,7 +216,7 @@ void HelpWindow::aboutTQt()
void HelpWindow::openFile()
{
-#ifndef QT_NO_FILEDIALOG
+#ifndef TQT_NO_FILEDIALOG
TQString fn = TQFileDialog::getOpenFileName( TQString::null, TQString::null, this );
if ( !fn.isEmpty() )
browser->setSource( fn );
@@ -230,7 +230,7 @@ void HelpWindow::newWindow()
void HelpWindow::print()
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
TQPrinter printer;
printer.setFullPage(TRUE);
if ( printer.setup() ) {
diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp
index d76f16a0e..c564f21b6 100644
--- a/examples/demo/textdrawing/textedit.cpp
+++ b/examples/demo/textdrawing/textedit.cpp
@@ -271,7 +271,7 @@ void TextEdit::filePrint()
{
if ( !currentEditor() )
return;
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
TQPrinter printer;
printer.setFullPage(TRUE);
TQPaintDeviceMetrics screen( this );