diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-16 19:11:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-16 19:11:00 +0900 |
commit | 82ecd83484c9fa1ede059986ab771e74e33e68ef (patch) | |
tree | d0e76f19632bb02fc55028625bdb903902e1bac1 /examples/opengl | |
parent | c55ef27a2c511c29a8a82d00bd2ede1fb02cfa41 (diff) | |
download | tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.tar.gz tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.zip |
Rename layout nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/box/globjwin.cpp | 2 | ||||
-rw-r--r-- | examples/opengl/glpixmap/globjwin.cpp | 2 | ||||
-rw-r--r-- | examples/opengl/overlay/globjwin.cpp | 2 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/README | 4 | ||||
-rw-r--r-- | examples/opengl/overlay_x11/overlay_x11.doc | 4 | ||||
-rw-r--r-- | examples/opengl/sharedbox/globjwin.cpp | 2 | ||||
-rw-r--r-- | examples/opengl/texture/globjwin.cpp | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/examples/opengl/box/globjwin.cpp b/examples/opengl/box/globjwin.cpp index 59fd0d7ae..bd41b765b 100644 --- a/examples/opengl/box/globjwin.cpp +++ b/examples/opengl/box/globjwin.cpp @@ -9,7 +9,7 @@ #include <tqpushbutton.h> #include <tqslider.h> -#include <ntqlayout.h> +#include <tqlayout.h> #include <tqframe.h> #include <tqmenubar.h> #include <tqpopupmenu.h> diff --git a/examples/opengl/glpixmap/globjwin.cpp b/examples/opengl/glpixmap/globjwin.cpp index db20c5331..408b4920b 100644 --- a/examples/opengl/glpixmap/globjwin.cpp +++ b/examples/opengl/glpixmap/globjwin.cpp @@ -16,7 +16,7 @@ #include <tqpushbutton.h> #include <tqslider.h> -#include <ntqlayout.h> +#include <tqlayout.h> #include <tqframe.h> #include <tqlabel.h> #include <tqmenubar.h> diff --git a/examples/opengl/overlay/globjwin.cpp b/examples/opengl/overlay/globjwin.cpp index 93d6a6b4e..69f1becd3 100644 --- a/examples/opengl/overlay/globjwin.cpp +++ b/examples/opengl/overlay/globjwin.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <ntqlayout.h> +#include <tqlayout.h> #include <tqframe.h> #include <tqmenubar.h> #include <tqpopupmenu.h> diff --git a/examples/opengl/overlay_x11/README b/examples/opengl/overlay_x11/README index d6afecfdc..1de87a43e 100644 --- a/examples/opengl/overlay_x11/README +++ b/examples/opengl/overlay_x11/README @@ -54,10 +54,10 @@ can put all kinds of TQt widgets (your own or those provided with Qt) on top of the OpenGL image (widget), e.g. pushbuttons etc., and they can be moved, resized, or removed without destroying the OpenGL image. -Using with geometry management: The QLayout classes will not allow you +Using with geometry management: The TQLayout classes will not allow you to put one widget (the overlay) on top of another (the OpenGL widget); that would defy the whole purpose of the automatic layout. The -solution is to add just one of them to the QLayout object. Have it +solution is to add just one of them to the TQLayout object. Have it keep a pointer to the other (i.e. the TQGLWidget knows about its overlay widget or vice versa). Implement the resizeEvent() method of the widget you put in the layout, and make it call setGeometry() on diff --git a/examples/opengl/overlay_x11/overlay_x11.doc b/examples/opengl/overlay_x11/overlay_x11.doc index 844621779..990795a16 100644 --- a/examples/opengl/overlay_x11/overlay_x11.doc +++ b/examples/opengl/overlay_x11/overlay_x11.doc @@ -59,10 +59,10 @@ can put all kinds of TQt widgets (your own or standard TQt widgets) on top of the OpenGL image (widget), e.g. pushbuttons etc., and they can be moved, resized, or removed without destroying the OpenGL image. -\i \e{Using with geometry management.} The QLayout classes don't permit +\i \e{Using with geometry management.} The TQLayout classes don't permit putting one widget (the overlay) on top of another (the OpenGL widget); that would defy the whole purpose of the automatic layout. -The solution is to add just one of them to the QLayout object. Have it +The solution is to add just one of them to the TQLayout object. Have it keep a pointer to the other (i.e. the TQGLWidget knows about its overlay widget or vice versa). Implement the resizeEvent() method of the widget you put in the layout, and make it call setGeometry() on diff --git a/examples/opengl/sharedbox/globjwin.cpp b/examples/opengl/sharedbox/globjwin.cpp index 709614385..33e7d10af 100644 --- a/examples/opengl/sharedbox/globjwin.cpp +++ b/examples/opengl/sharedbox/globjwin.cpp @@ -9,7 +9,7 @@ #include <tqpushbutton.h> #include <tqslider.h> -#include <ntqlayout.h> +#include <tqlayout.h> #include <tqframe.h> #include <tqmenubar.h> #include <tqpopupmenu.h> diff --git a/examples/opengl/texture/globjwin.cpp b/examples/opengl/texture/globjwin.cpp index 6a53492af..a14b6626e 100644 --- a/examples/opengl/texture/globjwin.cpp +++ b/examples/opengl/texture/globjwin.cpp @@ -9,7 +9,7 @@ #include <tqpushbutton.h> #include <tqslider.h> -#include <ntqlayout.h> +#include <tqlayout.h> #include <tqframe.h> #include <tqmenubar.h> #include <tqpopupmenu.h> |