summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-24 20:52:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-29 22:23:36 +0900
commit367ff3fb9e3933f6704c98359cdd8d934ace941f (patch)
tree7e03c953d16dcaf0e89f54079b8415a578a22893 /examples
parentd35eedcd87d59e716c6d49bbb6b634ef1a7660c5 (diff)
downloadtqt3-367ff3fb9e3933f6704c98359cdd8d934ace941f.tar.gz
tqt3-367ff3fb9e3933f6704c98359cdd8d934ace941f.zip
Rename global classes nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/opengl/fbm.c2
-rw-r--r--examples/drawdemo/drawdemo.cpp2
-rw-r--r--examples/life/patterns.cpp2
-rw-r--r--examples/tetrix/tqdragapp.cpp2
-rw-r--r--examples/toplevel/options.ui2
-rw-r--r--examples/toplevel/toplevel.doc2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/demo/opengl/fbm.c b/examples/demo/opengl/fbm.c
index 5bfa48441..010768e14 100644
--- a/examples/demo/opengl/fbm.c
+++ b/examples/demo/opengl/fbm.c
@@ -10,7 +10,7 @@
******************************************************************/
#if defined (_MSC_VER)
-#include <ntqglobal.h>
+#include <tqglobal.h>
#endif
#include <time.h>
diff --git a/examples/drawdemo/drawdemo.cpp b/examples/drawdemo/drawdemo.cpp
index bc3d6ae3c..6f34c746f 100644
--- a/examples/drawdemo/drawdemo.cpp
+++ b/examples/drawdemo/drawdemo.cpp
@@ -176,7 +176,7 @@ DrawView::DrawView()
// ourDrawFunctions-array.
for ( i=0; (n=ourDrawFunctions[i].name) != 0; i++ ) {
int w = fm.width( n );
- maxwidth = TQMAX(w,maxwidth); // TQMAX is a macro defined in ntqglobal.h
+ maxwidth = TQMAX(w,maxwidth); // TQMAX is a macro defined in tqglobal.h
// and returns the biggest of to values.
// Due to its macro nature one should use it with care and with
// constant parameters only.
diff --git a/examples/life/patterns.cpp b/examples/life/patterns.cpp
index 66c4c4d5b..b30b3b544 100644
--- a/examples/life/patterns.cpp
+++ b/examples/life/patterns.cpp
@@ -26,7 +26,7 @@
* other special, indirect and consequential damages.
*****************************************************************************/
-//#include <ntqglobal.h>
+//#include <tqglobal.h>
#define NUMPTS 63
diff --git a/examples/tetrix/tqdragapp.cpp b/examples/tetrix/tqdragapp.cpp
index b759403aa..37ed4e45c 100644
--- a/examples/tetrix/tqdragapp.cpp
+++ b/examples/tetrix/tqdragapp.cpp
@@ -11,7 +11,7 @@
#include "tqptrlist.h"
#include "tqintdict.h"
#include "tqpopupmenu.h"
-#include "ntqguardedptr.h"
+#include "tqguardedptr.h"
#include "tqcolor.h"
#include "tqwidget.h"
#include "tqfontmetrics.h"
diff --git a/examples/toplevel/options.ui b/examples/toplevel/options.ui
index 183f39b63..c78d74f4c 100644
--- a/examples/toplevel/options.ui
+++ b/examples/toplevel/options.ui
@@ -533,7 +533,7 @@ Note that this attribute is not supported on many windowing systems and will hav
</connection>
</connections>
<includes>
- <include location="global" impldecl="in declaration">ntqguardedptr.h</include>
+ <include location="global" impldecl="in declaration">tqguardedptr.h</include>
<include location="global" impldecl="in declaration">tqvbox.h</include>
<include location="global" impldecl="in implementation">tqfiledialog.h</include>
</includes>
diff --git a/examples/toplevel/toplevel.doc b/examples/toplevel/toplevel.doc
index f65adc546..b72a42cbc 100644
--- a/examples/toplevel/toplevel.doc
+++ b/examples/toplevel/toplevel.doc
@@ -104,7 +104,7 @@
The widget is created if it has not been created yet, or if it was
closed (since we use the \c WDestructiveClose flag). Note that the
window is not visible yet.
- \footnote The example uses QGuardedPtr to make sure that the
+ \footnote The example uses TQGuardedPtr to make sure that the
pointer is reset to zero when the widget object is destroyed
due to the \c WDestructiveClose flag. \endfootnote