summaryrefslogtreecommitdiffstats
path: root/examples/demo/textdrawing
diff options
context:
space:
mode:
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 );