summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 12:56:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 12:56:43 +0900
commit0cf411b09cf5d8970b873a338a69eae98d5ce5d8 (patch)
tree107cf55759cc3138bb1e0035b479bcd92127403a /examples
parente6077c30d14e9d662e8843c554db86c0d366d0b6 (diff)
downloadtqt3-0cf411b09cf5d8970b873a338a69eae98d5ce5d8.tar.gz
tqt3-0cf411b09cf5d8970b873a338a69eae98d5ce5d8.zip
Rename text nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples')
-rw-r--r--examples/README4
-rw-r--r--examples/action/application.cpp4
-rw-r--r--examples/addressbook/centralwidget.cpp2
-rw-r--r--examples/application/application.cpp4
-rw-r--r--examples/chart/element.cpp2
-rw-r--r--examples/demo/frame.cpp2
-rw-r--r--examples/demo/i18n/i18n.cpp2
-rw-r--r--examples/demo/opengl/glinfotext.h2
-rw-r--r--examples/demo/textdrawing/example.html4
-rw-r--r--examples/demo/textdrawing/helpwindow.cpp2
-rw-r--r--examples/demo/textdrawing/helpwindow.h2
-rw-r--r--examples/demo/textdrawing/textedit.cpp2
-rw-r--r--examples/fonts/simple-qfont-demo/viewer.cpp2
-rw-r--r--examples/helpviewer/helpwindow.cpp2
-rw-r--r--examples/helpviewer/helpwindow.h2
-rw-r--r--examples/i18n/main.cpp2
-rw-r--r--examples/mdi/application.cpp4
-rw-r--r--examples/network/clientserver/client/client.cpp4
-rw-r--r--examples/network/clientserver/server/server.cpp4
-rw-r--r--examples/network/httpd/httpd.cpp4
-rw-r--r--examples/network/infoprotocol/infoclient/client.cpp4
-rw-r--r--examples/network/infoprotocol/infoserver/server.cpp4
-rw-r--r--examples/network/infoprotocol/infourlclient/client.cpp2
-rw-r--r--examples/network/infoprotocol/infourlclient/qip.cpp2
-rw-r--r--examples/network/mail/smtp.cpp2
-rw-r--r--examples/process/process.cpp2
-rw-r--r--examples/qdir/qdir.cpp6
-rw-r--r--examples/qwerty/qwerty.cpp4
-rw-r--r--examples/richtext/richtext.cpp2
-rw-r--r--examples/textedit/textedit.cpp2
-rw-r--r--examples/thread/prodcons/prodcons.cpp2
-rw-r--r--examples/widgets/widgets.cpp2
32 files changed, 45 insertions, 45 deletions
diff --git a/examples/README b/examples/README
index 05632097..454a9b68 100644
--- a/examples/README
+++ b/examples/README
@@ -297,7 +297,7 @@ regexptester
This little application is useful for testing regular expressions.
richtext
- This example shows the use of QTextView (a read/only QTextEdit
+ This example shows the use of TQTextView (a read/only TQTextEdit
subclass).
rot13
@@ -368,7 +368,7 @@ tetrix
work of art.
textedit
- A simple text editor based on QTextEdit.
+ A simple text editor based on TQTextEdit.
themes
This examples demonstrates how to draw widgets in different styles
diff --git a/examples/action/application.cpp b/examples/action/application.cpp
index 9fbf22e3..25822a3c 100644
--- a/examples/action/application.cpp
+++ b/examples/action/application.cpp
@@ -15,7 +15,7 @@
#include <ntqtoolbutton.h>
#include <ntqpopupmenu.h>
#include <ntqmenubar.h>
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqfile.h>
#include <ntqfiledialog.h>
#include <ntqstatusbar.h>
@@ -23,7 +23,7 @@
#include <ntqprinter.h>
#include <ntqapplication.h>
#include <ntqaccel.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqpainter.h>
#include <ntqpaintdevicemetrics.h>
#include <ntqwhatsthis.h>
diff --git a/examples/addressbook/centralwidget.cpp b/examples/addressbook/centralwidget.cpp
index 5b504850..e5a10147 100644
--- a/examples/addressbook/centralwidget.cpp
+++ b/examples/addressbook/centralwidget.cpp
@@ -19,7 +19,7 @@
#include <ntqlabel.h>
#include <ntqcheckbox.h>
#include <ntqfile.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
ABCentralWidget::ABCentralWidget( TQWidget *parent, const char *name )
: TQWidget( parent, name )
diff --git a/examples/application/application.cpp b/examples/application/application.cpp
index 32c291f0..e92bdddb 100644
--- a/examples/application/application.cpp
+++ b/examples/application/application.cpp
@@ -15,7 +15,7 @@
#include <ntqtoolbutton.h>
#include <ntqpopupmenu.h>
#include <ntqmenubar.h>
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqfile.h>
#include <ntqfiledialog.h>
#include <ntqstatusbar.h>
@@ -23,7 +23,7 @@
#include <ntqprinter.h>
#include <ntqapplication.h>
#include <ntqaccel.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqpainter.h>
#include <ntqpaintdevicemetrics.h>
#include <ntqwhatsthis.h>
diff --git a/examples/chart/element.cpp b/examples/chart/element.cpp
index 21826028..240a0eea 100644
--- a/examples/chart/element.cpp
+++ b/examples/chart/element.cpp
@@ -1,7 +1,7 @@
#include "element.h"
#include <tqstringlist.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
const char FIELD_SEP = ':';
const char PROPOINT_SEP = ';';
diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp
index 1fed9f83..d243e714 100644
--- a/examples/demo/frame.cpp
+++ b/examples/demo/frame.cpp
@@ -21,7 +21,7 @@
#include <ntqsignalmapper.h>
#include <ntqdict.h>
#include <ntqdir.h>
-#include <ntqtextcodec.h>
+#include <tqtextcodec.h>
#include <stdlib.h>
#include <ntqbuttongroup.h>
#include <ntqtoolbutton.h>
diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp
index 53397659..053455ce 100644
--- a/examples/demo/i18n/i18n.cpp
+++ b/examples/demo/i18n/i18n.cpp
@@ -15,7 +15,7 @@
#include <ntqapplication.h>
#include <tqwidgetlist.h>
#include <ntqlabel.h>
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
static int windowIdNumber = 5000;
diff --git a/examples/demo/opengl/glinfotext.h b/examples/demo/opengl/glinfotext.h
index 99142809..833a3dd3 100644
--- a/examples/demo/opengl/glinfotext.h
+++ b/examples/demo/opengl/glinfotext.h
@@ -1,5 +1,5 @@
#include <ntqlayout.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqfont.h>
#include "glinfo.h"
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html
index bb4eb99d..dd62518b 100644
--- a/examples/demo/textdrawing/example.html
+++ b/examples/demo/textdrawing/example.html
@@ -103,7 +103,7 @@ the other widget (called the TQLabel's "buddy"). Example:
(the <a href="ntqlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also
use the <a href="#191701">setBuddy</a>() function to accomplish the same.
<p>
-<p>See also <a href="ntqlineedit.html">TQLineEdit</a>, <a href="ntqtextview.html">TQTextView</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqmovie.html">TQMovie</a> and <a href="guibooks.html#fowler">GUI Design Handbook: Label</a>
+<p>See also <a href="ntqlineedit.html">TQLineEdit</a>, <a href="tqtextview.html">TQTextView</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqmovie.html">TQMovie</a> and <a href="guibooks.html#fowler">GUI Design Handbook: Label</a>
<p>Examples:
<a href="cursor-cursor-cpp.html#TQLabel">cursor/cursor.cpp</a>
<a href="layout-layout-cpp.html#TQLabel">layout/layout.cpp</a>
@@ -294,7 +294,7 @@ the format of <em>text.</em>
the buddy accelerator key is updated from the new text.
<p>The label resizes itself if auto-resizing is enabled.
<p>Note that Qlabel is well suited to display small rich text documents
-only. For large documents, use <a href="ntqtextview.html">TQTextView</a> instead. It will flicker
+only. For large documents, use <a href="tqtextview.html">TQTextView</a> instead. It will flicker
less on resize and can also provide a scrollbar if necessary.
<p>See also <a href="#72cf09">text</a>(), <a href="#5de3f9">setTextFormat</a>(), <a href="#191701">setBuddy</a>() and <a href="#1f406e">setAlignment</a>().
<p>Examples:
diff --git a/examples/demo/textdrawing/helpwindow.cpp b/examples/demo/textdrawing/helpwindow.cpp
index 55d1e588..a6fd6df6 100644
--- a/examples/demo/textdrawing/helpwindow.cpp
+++ b/examples/demo/textdrawing/helpwindow.cpp
@@ -16,7 +16,7 @@
#include <ntqtoolbutton.h>
#include <ntqiconset.h>
#include <ntqfile.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqstylesheet.h>
#include <ntqmessagebox.h>
#include <ntqfiledialog.h>
diff --git a/examples/demo/textdrawing/helpwindow.h b/examples/demo/textdrawing/helpwindow.h
index 9f05d001..998cc17a 100644
--- a/examples/demo/textdrawing/helpwindow.h
+++ b/examples/demo/textdrawing/helpwindow.h
@@ -11,7 +11,7 @@
#define HELPWINDOW_H
#include <ntqmainwindow.h>
-#include <ntqtextbrowser.h>
+#include <tqtextbrowser.h>
#include <tqstringlist.h>
#include <tqmap.h>
#include <ntqdir.h>
diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp
index 5e203ed1..b287fad4 100644
--- a/examples/demo/textdrawing/textedit.cpp
+++ b/examples/demo/textdrawing/textedit.cpp
@@ -9,7 +9,7 @@
#include "textedit.h"
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqaction.h>
#include <ntqmenubar.h>
#include <ntqpopupmenu.h>
diff --git a/examples/fonts/simple-qfont-demo/viewer.cpp b/examples/fonts/simple-qfont-demo/viewer.cpp
index 36628c40..88c202e3 100644
--- a/examples/fonts/simple-qfont-demo/viewer.cpp
+++ b/examples/fonts/simple-qfont-demo/viewer.cpp
@@ -2,7 +2,7 @@
#include "viewer.h"
#include <tqstring.h>
#include <tqstringlist.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqpushbutton.h>
#include <ntqlayout.h>
diff --git a/examples/helpviewer/helpwindow.cpp b/examples/helpviewer/helpwindow.cpp
index 49a74efb..315ea62e 100644
--- a/examples/helpviewer/helpwindow.cpp
+++ b/examples/helpviewer/helpwindow.cpp
@@ -16,7 +16,7 @@
#include <ntqtoolbutton.h>
#include <ntqiconset.h>
#include <ntqfile.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqstylesheet.h>
#include <ntqmessagebox.h>
#include <ntqfiledialog.h>
diff --git a/examples/helpviewer/helpwindow.h b/examples/helpviewer/helpwindow.h
index e912eaec..311b4ff4 100644
--- a/examples/helpviewer/helpwindow.h
+++ b/examples/helpviewer/helpwindow.h
@@ -11,7 +11,7 @@
#define HELPWINDOW_H
#include <ntqmainwindow.h>
-#include <ntqtextbrowser.h>
+#include <tqtextbrowser.h>
#include <tqstringlist.h>
#include <tqmap.h>
#include <ntqdir.h>
diff --git a/examples/i18n/main.cpp b/examples/i18n/main.cpp
index 8e8e8661..269115e9 100644
--- a/examples/i18n/main.cpp
+++ b/examples/i18n/main.cpp
@@ -17,7 +17,7 @@
#include <ntqbuttongroup.h>
#include <ntqpushbutton.h>
#include <ntqsignalmapper.h>
-#include <ntqtextcodec.h>
+#include <tqtextcodec.h>
#include <stdlib.h>
#if defined(Q_OS_UNIX)
diff --git a/examples/mdi/application.cpp b/examples/mdi/application.cpp
index 67e759b5..b7bb67cc 100644
--- a/examples/mdi/application.cpp
+++ b/examples/mdi/application.cpp
@@ -25,8 +25,8 @@
#include <ntqapplication.h>
#include <ntqpushbutton.h>
#include <ntqaccel.h>
-#include <ntqtextstream.h>
-#include <ntqtextedit.h>
+#include <tqtextstream.h>
+#include <tqtextedit.h>
#include <ntqpainter.h>
#include <ntqpaintdevicemetrics.h>
#include <ntqwhatsthis.h>
diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp
index aba0fef0..466867a9 100644
--- a/examples/network/clientserver/client/client.cpp
+++ b/examples/network/clientserver/client/client.cpp
@@ -11,11 +11,11 @@
#include <ntqapplication.h>
#include <ntqvbox.h>
#include <ntqhbox.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqlineedit.h>
#include <ntqlabel.h>
#include <ntqpushbutton.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
class Client : public TQVBox
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index 3d974cb5..4a19f80b 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -11,10 +11,10 @@
#include <ntqserversocket.h>
#include <ntqapplication.h>
#include <ntqvbox.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqlabel.h>
#include <ntqpushbutton.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <stdlib.h>
diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp
index 09942bcc..8f89b547 100644
--- a/examples/network/httpd/httpd.cpp
+++ b/examples/network/httpd/httpd.cpp
@@ -12,10 +12,10 @@
#include <ntqserversocket.h>
#include <ntqapplication.h>
#include <ntqmainwindow.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqvbox.h>
#include <ntqlabel.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqpushbutton.h>
// HttpDaemon is the the class that implements the simple HTTP server.
diff --git a/examples/network/infoprotocol/infoclient/client.cpp b/examples/network/infoprotocol/infoclient/client.cpp
index c1d05b6c..597099a6 100644
--- a/examples/network/infoprotocol/infoclient/client.cpp
+++ b/examples/network/infoprotocol/infoclient/client.cpp
@@ -9,11 +9,11 @@
#include <ntqsocket.h>
#include <ntqapplication.h>
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqlineedit.h>
#include <ntqlabel.h>
#include <ntqpushbutton.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqlistbox.h>
#include "client.h"
diff --git a/examples/network/infoprotocol/infoserver/server.cpp b/examples/network/infoprotocol/infoserver/server.cpp
index d71de659..a651d38a 100644
--- a/examples/network/infoprotocol/infoserver/server.cpp
+++ b/examples/network/infoprotocol/infoserver/server.cpp
@@ -7,9 +7,9 @@
**
*****************************************************************************/
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqpushbutton.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqapplication.h>
#include <ntqmessagebox.h>
#include <stdlib.h>
diff --git a/examples/network/infoprotocol/infourlclient/client.cpp b/examples/network/infoprotocol/infourlclient/client.cpp
index c3101639..ebe57437 100644
--- a/examples/network/infoprotocol/infourlclient/client.cpp
+++ b/examples/network/infoprotocol/infourlclient/client.cpp
@@ -8,7 +8,7 @@
*****************************************************************************/
#include <ntqapplication.h>
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqpushbutton.h>
#include <ntqfiledialog.h>
diff --git a/examples/network/infoprotocol/infourlclient/qip.cpp b/examples/network/infoprotocol/infourlclient/qip.cpp
index aed84838..87c209a4 100644
--- a/examples/network/infoprotocol/infourlclient/qip.cpp
+++ b/examples/network/infoprotocol/infourlclient/qip.cpp
@@ -10,7 +10,7 @@
#include <ntqsocket.h>
#include <ntqurlinfo.h>
#include <ntqurloperator.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include "qip.h"
diff --git a/examples/network/mail/smtp.cpp b/examples/network/mail/smtp.cpp
index e9a34b28..99d5d206 100644
--- a/examples/network/mail/smtp.cpp
+++ b/examples/network/mail/smtp.cpp
@@ -9,7 +9,7 @@
#include "smtp.h"
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqsocket.h>
#include <ntqdns.h>
#include <ntqtimer.h>
diff --git a/examples/process/process.cpp b/examples/process/process.cpp
index b235e18b..5eb16e15 100644
--- a/examples/process/process.cpp
+++ b/examples/process/process.cpp
@@ -10,7 +10,7 @@
#include <tqobject.h>
#include <ntqprocess.h>
#include <ntqvbox.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqpushbutton.h>
#include <ntqapplication.h>
#include <ntqmessagebox.h>
diff --git a/examples/qdir/qdir.cpp b/examples/qdir/qdir.cpp
index b2cf108b..d6236e52 100644
--- a/examples/qdir/qdir.cpp
+++ b/examples/qdir/qdir.cpp
@@ -11,10 +11,10 @@
#include "ntqdir.h"
#include <ntqapplication.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqfileinfo.h>
#include <ntqfile.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqhbox.h>
#include <ntqspinbox.h>
#include <ntqlabel.h>
@@ -26,7 +26,7 @@
#include <ntqpushbutton.h>
#include <ntqtoolbutton.h>
#include <ntqfile.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqtooltip.h>
#include <stdlib.h>
diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp
index 928fd27a..74758db2 100644
--- a/examples/qwerty/qwerty.cpp
+++ b/examples/qwerty/qwerty.cpp
@@ -12,14 +12,14 @@
#include <ntqfile.h>
#include <ntqfiledialog.h>
#include <ntqpopupmenu.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqpainter.h>
#include <ntqmessagebox.h>
#include <ntqpaintdevicemetrics.h>
#include <tqptrlist.h>
#include <ntqfontdialog.h>
-#include <ntqtextcodec.h>
+#include <tqtextcodec.h>
const bool no_writing = FALSE;
diff --git a/examples/richtext/richtext.cpp b/examples/richtext/richtext.cpp
index b166017a..ea958913 100644
--- a/examples/richtext/richtext.cpp
+++ b/examples/richtext/richtext.cpp
@@ -12,7 +12,7 @@
#include <ntqhbox.h>
#include <ntqhbox.h>
#include <ntqpushbutton.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqbrush.h>
#include <ntqapplication.h>
diff --git a/examples/textedit/textedit.cpp b/examples/textedit/textedit.cpp
index fdc6402f..a814e6cc 100644
--- a/examples/textedit/textedit.cpp
+++ b/examples/textedit/textedit.cpp
@@ -9,7 +9,7 @@
#include "textedit.h"
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqaction.h>
#include <ntqmenubar.h>
#include <ntqpopupmenu.h>
diff --git a/examples/thread/prodcons/prodcons.cpp b/examples/thread/prodcons/prodcons.cpp
index 2716378c..d8cb4311 100644
--- a/examples/thread/prodcons/prodcons.cpp
+++ b/examples/thread/prodcons/prodcons.cpp
@@ -10,7 +10,7 @@
#include <ntqevent.h>
#include <ntqlabel.h>
#include <ntqcstring.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <ntqfile.h>
#include <stdio.h>
diff --git a/examples/widgets/widgets.cpp b/examples/widgets/widgets.cpp
index 8ea7e0ca..40f4056d 100644
--- a/examples/widgets/widgets.cpp
+++ b/examples/widgets/widgets.cpp
@@ -43,7 +43,7 @@
#include <ntqsplitter.h>
#include <ntqlistview.h>
#include <ntqheader.h>
-#include <ntqtextbrowser.h>
+#include <tqtextbrowser.h>
#include <ntqfiledialog.h>
#include <ntqaccel.h>
#include <ntqmetaobject.h>