summaryrefslogtreecommitdiffstats
path: root/examples/demo
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
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')
-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 383f555d..e04be631 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 80fae5c1..84ad4e50 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 7dc54955..984aa1f4 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 45b7afa1..9f5de278 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 27d61d1a..833caa17 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 d76f16a0..c564f21b 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 );