summaryrefslogtreecommitdiffstats
path: root/tdeprint/tests/drawdemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/tests/drawdemo.cpp')
-rw-r--r--tdeprint/tests/drawdemo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/tests/drawdemo.cpp b/tdeprint/tests/drawdemo.cpp
index 76226e200..e60aae845 100644
--- a/tdeprint/tests/drawdemo.cpp
+++ b/tdeprint/tests/drawdemo.cpp
@@ -176,7 +176,7 @@ DrawView::DrawView()
//
DrawView::~DrawView()
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
delete printer;
#endif
}
@@ -208,7 +208,7 @@ void DrawView::drawIt( TQPainter *p )
void DrawView::printIt()
{
-#ifndef QT_NO_PRINTER
+#ifndef TQT_NO_PRINTER
if ( printer->setup( this ) ) {
TQPainter paint( printer );
drawIt( &paint );