summaryrefslogtreecommitdiffstats
path: root/examples/demo
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo')
-rw-r--r--examples/demo/dnd/styledbutton.cpp6
-rw-r--r--examples/demo/dnd/styledbutton.h4
-rw-r--r--examples/demo/qthumbwheel.cpp2
-rw-r--r--examples/demo/qthumbwheel.h4
-rw-r--r--examples/demo/textdrawing/helpwindow.cpp4
-rw-r--r--examples/demo/textdrawing/textedit.cpp2
6 files changed, 11 insertions, 11 deletions
diff --git a/examples/demo/dnd/styledbutton.cpp b/examples/demo/dnd/styledbutton.cpp
index 383f555d2..e04be6317 100644
--- a/examples/demo/dnd/styledbutton.cpp
+++ b/examples/demo/dnd/styledbutton.cpp
@@ -229,7 +229,7 @@ void StyledButton::mousePressEvent(TQMouseEvent* e)
void StyledButton::mouseMoveEvent(TQMouseEvent* e)
{
TQButton::mouseMoveEvent( e );
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
if ( !mousePressed )
return;
if ( ( pressPos - e->pos() ).manhattanLength() > TQApplication::startDragDistance() ) {
@@ -256,7 +256,7 @@ void StyledButton::mouseMoveEvent(TQMouseEvent* e)
#endif
}
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
void StyledButton::dragEnterEvent( TQDragEnterEvent *e )
{
setFocus();
@@ -305,4 +305,4 @@ void StyledButton::dropEvent( TQDropEvent *e )
e->ignore();
}
}
-#endif // QT_NO_DRAGANDDROP
+#endif // TQT_NO_DRAGANDDROP
diff --git a/examples/demo/dnd/styledbutton.h b/examples/demo/dnd/styledbutton.h
index 80fae5c10..84ad4e500 100644
--- a/examples/demo/dnd/styledbutton.h
+++ b/examples/demo/dnd/styledbutton.h
@@ -82,12 +82,12 @@ signals:
protected:
void mousePressEvent(TQMouseEvent*);
void mouseMoveEvent(TQMouseEvent*);
-#ifndef QT_NO_DRAGANDDROP
+#ifndef TQT_NO_DRAGANDDROP
void dragEnterEvent ( TQDragEnterEvent * );
void dragMoveEvent ( TQDragMoveEvent * );
void dragLeaveEvent ( TQDragLeaveEvent * );
void dropEvent ( TQDropEvent * );
-#endif // QT_NO_DRAGANDDROP
+#endif // TQT_NO_DRAGANDDROP
void drawButton( TQPainter* );
void drawButtonLabel( TQPainter* );
void resizeEvent( TQResizeEvent* );
diff --git a/examples/demo/qthumbwheel.cpp b/examples/demo/qthumbwheel.cpp
index 7dc549550..984aa1f43 100644
--- a/examples/demo/qthumbwheel.cpp
+++ b/examples/demo/qthumbwheel.cpp
@@ -40,7 +40,7 @@
#include "qthumbwheel.h"
-#ifndef QT_NO_THUMBWHEEL
+#ifndef TQT_NO_THUMBWHEEL
#include <ntqpainter.h>
#include <ntqdrawutil.h>
#include <ntqpixmap.h>
diff --git a/examples/demo/qthumbwheel.h b/examples/demo/qthumbwheel.h
index 45b7afa13..9f5de2783 100644
--- a/examples/demo/qthumbwheel.h
+++ b/examples/demo/qthumbwheel.h
@@ -46,7 +46,7 @@
#include "ntqrangecontrol.h"
#endif // QT_H
-#ifndef QT_NO_THUMBWHEEL
+#ifndef TQT_NO_THUMBWHEEL
class TQThumbWheel : public TQFrame, public TQRangeControl
{
@@ -114,6 +114,6 @@ inline double TQThumbWheel::transmissionRatio() const
return rat;
}
-#endif // QT_NO_WHEEL
+#endif // TQT_NO_WHEEL
#endif // TQWHEEL_H
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 );