diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /examples/opengl | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/glpixmap/globjwin.cpp | 2 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/README | 2 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/README.X11-OVERLAYS | 2 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/overlay_x11.doc | 2 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/rubberbandwidget.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp index a34dd3cd8..9a5b8bf11 100644 --- a/examples/opengl/glpixmap/globjwin.cpp +++ b/examples/opengl/glpixmap/globjwin.cpp @@ -25,7 +25,7 @@ #include <ntqkeycode.h> #include <ntqpixmap.h> #include <tqimage.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include "globjwin.h" #include "glbox.h" diff --git a/examples/opengl/overlay_x11/README b/examples/opengl/overlay_x11/README index 03dda2e83..f11c439df 100644 --- a/examples/opengl/overlay_x11/README +++ b/examples/opengl/overlay_x11/README @@ -64,7 +64,7 @@ the widget you put in the layout, and make it call setGeometry() on the other widget with its own geometry as parameters, thus keeping the two widgets' geometries synchronized. -Using with QPalette and QColorGroup: Instead of the somewhat +Using with QPalette and TQColorGroup: Instead of the somewhat simplistic setBackgroundColor( transparentColor ), you can use Qt's QPalette system for having your overlay widgets use transparent color for what you want. This way, the normal TQt widgets can be used as diff --git a/examples/opengl/overlay_x11/README.X11-OVERLAYS b/examples/opengl/overlay_x11/README.X11-OVERLAYS index 4e7a9b647..18bcb1e5f 100644 --- a/examples/opengl/overlay_x11/README.X11-OVERLAYS +++ b/examples/opengl/overlay_x11/README.X11-OVERLAYS @@ -47,7 +47,7 @@ Given the above, a QGLWidget will by default use the main plane visual, while all other widgets will use the overlay visual. Thus, one can place a normal widget on top of the QGLWidget, and do drawing in it, without destroying the image in the OpenGL window. In other words, -one can use all the drawing capabilities of QPainter to draw the +one can use all the drawing capabilities of TQPainter to draw the annotations, rubberbands, whatever. For the typical use of overlays, this is much easier than using OpenGL for rendering the annotations. diff --git a/examples/opengl/overlay_x11/overlay_x11.doc b/examples/opengl/overlay_x11/overlay_x11.doc index 143d64f8f..8b2f0a459 100644 --- a/examples/opengl/overlay_x11/overlay_x11.doc +++ b/examples/opengl/overlay_x11/overlay_x11.doc @@ -69,7 +69,7 @@ the widget you put in the layout, and make it call setGeometry() on the other widget with its own geometry as parameters, thus keeping the two widgets' geometries synchronized. -\i \e{Using together with QPalette and QColorGroup.} Instead of the +\i \e{Using together with QPalette and TQColorGroup.} Instead of the simplistic setBackgroundColor( transparentColor ), you can use Qt's QPalette system to make your overlay widgets use transparent color for what you want. This way, the normal TQt widgets diff --git a/examples/opengl/overlay_x11/rubberbandwidget.cpp b/examples/opengl/overlay_x11/rubberbandwidget.cpp index a11a81441..d0e60bdc5 100644 --- a/examples/opengl/overlay_x11/rubberbandwidget.cpp +++ b/examples/opengl/overlay_x11/rubberbandwidget.cpp @@ -11,7 +11,7 @@ *****************************************************************************/ #include "rubberbandwidget.h" -#include <ntqpainter.h> +#include <tqpainter.h> RubberbandWidget::RubberbandWidget( TQColor transparentColor, TQWidget *parent, |