summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-10 18:56:16 +0900
committerMichele Calgaro <[email protected]>2024-07-10 18:56:16 +0900
commit252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch)
treeb48be8863db3bc1c223ac270a258b5c1124cb0e3 /examples/network
parent87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff)
downloadtqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.tar.gz
tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.zip
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/archivesearch/archivedialog.ui4
-rw-r--r--examples/network/archivesearch/archivesearch.doc2
-rw-r--r--examples/network/clientserver/client/client.cpp2
-rw-r--r--examples/network/clientserver/clientserver.doc4
-rw-r--r--examples/network/clientserver/server/server.cpp4
-rw-r--r--examples/network/ftpclient/README2
-rw-r--r--examples/network/ftpclient/ftpclient.doc2
-rw-r--r--examples/network/ftpclient/ftpmainwindow.ui.h4
-rw-r--r--examples/network/httpd/README4
-rw-r--r--examples/network/httpd/httpd.cpp4
-rw-r--r--examples/network/httpd/httpd.doc2
-rw-r--r--examples/network/infoprotocol/infoclient/client.cpp2
-rw-r--r--examples/network/infoprotocol/infoserver/server.h4
-rw-r--r--examples/network/infoprotocol/infourlclient/client.cpp2
-rw-r--r--examples/network/infoprotocol/infourlclient/client.h2
-rw-r--r--examples/network/infoprotocol/infourlclient/qip.cpp6
-rw-r--r--examples/network/infoprotocol/infourlclient/qip.h2
-rw-r--r--examples/network/mail/mail.doc2
-rw-r--r--examples/network/mail/smtp.cpp4
-rw-r--r--examples/network/networkprotocol/main.cpp2
-rw-r--r--examples/network/networkprotocol/networkprotocol.doc2
-rw-r--r--examples/network/networkprotocol/nntp.cpp4
-rw-r--r--examples/network/networkprotocol/nntp.h4
-rw-r--r--examples/network/networkprotocol/view.cpp2
-rw-r--r--examples/network/networkprotocol/view.h2
-rw-r--r--examples/network/remotecontrol/ipcserver.cpp2
-rw-r--r--examples/network/remotecontrol/ipcserver.h2
-rw-r--r--examples/network/remotecontrol/remotectrlimpl.cpp4
-rw-r--r--examples/network/remotecontrol/startup.cpp2
29 files changed, 42 insertions, 42 deletions
diff --git a/examples/network/archivesearch/archivedialog.ui b/examples/network/archivesearch/archivedialog.ui
index b3942e117..c6314b993 100644
--- a/examples/network/archivesearch/archivedialog.ui
+++ b/examples/network/archivesearch/archivedialog.ui
@@ -112,8 +112,8 @@
</vbox>
</widget>
<includes>
- <include location="global" impldecl="in declaration">ntqhttp.h</include>
- <include location="global" impldecl="in declaration">ntqurl.h</include>
+ <include location="global" impldecl="in declaration">tqhttp.h</include>
+ <include location="global" impldecl="in declaration">tqurl.h</include>
<include location="global" impldecl="in declaration">ntqmessagebox.h</include>
<include location="global" impldecl="in declaration">ntqapplication.h</include>
<include location="global" impldecl="in declaration">ntqcursor.h</include>
diff --git a/examples/network/archivesearch/archivesearch.doc b/examples/network/archivesearch/archivesearch.doc
index 4027dcbc8..be0e3377b 100644
--- a/examples/network/archivesearch/archivesearch.doc
+++ b/examples/network/archivesearch/archivesearch.doc
@@ -8,7 +8,7 @@
\title A qt-interest mail archive search
This example does a search on the qt-interest mailinglist archives. It uses
- QHttp to issue the search command and to fetch the results. The GUI parts
+ TQHttp to issue the search command and to fetch the results. The GUI parts
were done using \link designer-manual.book TQt Designer\endlink.
<hr>
diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp
index 466867a94..81389ccc3 100644
--- a/examples/network/clientserver/client/client.cpp
+++ b/examples/network/clientserver/client/client.cpp
@@ -7,7 +7,7 @@
**
*****************************************************************************/
-#include <ntqsocket.h>
+#include <tqsocket.h>
#include <ntqapplication.h>
#include <ntqvbox.h>
#include <ntqhbox.h>
diff --git a/examples/network/clientserver/clientserver.doc b/examples/network/clientserver/clientserver.doc
index 67b72a5da..c46fa89a4 100644
--- a/examples/network/clientserver/clientserver.doc
+++ b/examples/network/clientserver/clientserver.doc
@@ -10,8 +10,8 @@
This example shows how two programs can communicate using sockets.
Two simple example programs are provided, a client program and a
- server program. Both use the QSocket class, and the server also uses
- QServerSocket class.
+ server program. Both use the TQSocket class, and the server also uses
+ TQServerSocket class.
The server listens on port number 4242 and accepts incoming connections.
It sends back every line it receives from the client, prepended with
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index 4a19f80b6..fef3b9f4a 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -7,8 +7,8 @@
**
*****************************************************************************/
-#include <ntqsocket.h>
-#include <ntqserversocket.h>
+#include <tqsocket.h>
+#include <tqserversocket.h>
#include <ntqapplication.h>
#include <ntqvbox.h>
#include <tqtextview.h>
diff --git a/examples/network/ftpclient/README b/examples/network/ftpclient/README
index 8b1bd7e5d..b12ed0aab 100644
--- a/examples/network/ftpclient/README
+++ b/examples/network/ftpclient/README
@@ -1,3 +1,3 @@
-This example is a small ftp client. It shows how to use the QFtp class.
+This example is a small ftp client. It shows how to use the TQFtp class.
This example needs the network extension.
diff --git a/examples/network/ftpclient/ftpclient.doc b/examples/network/ftpclient/ftpclient.doc
index 13be19168..c9de4fecc 100644
--- a/examples/network/ftpclient/ftpclient.doc
+++ b/examples/network/ftpclient/ftpclient.doc
@@ -7,7 +7,7 @@
\title An FTP client
- This example implements a FTP client. It uses QFtp to perform its FTP
+ This example implements a FTP client. It uses TQFtp to perform its FTP
commands. The GUI parts are done in the Designer.
<hr>
diff --git a/examples/network/ftpclient/ftpmainwindow.ui.h b/examples/network/ftpclient/ftpmainwindow.ui.h
index d29cbab31..0c32d1ad9 100644
--- a/examples/network/ftpclient/ftpmainwindow.ui.h
+++ b/examples/network/ftpclient/ftpmainwindow.ui.h
@@ -18,12 +18,12 @@
**
*****************************************************************************/
-#include <ntqftp.h>
+#include <tqftp.h>
#include <ntqlineedit.h>
#include <ntqspinbox.h>
#include <tqstatusbar.h>
#include <ntqmessagebox.h>
-#include <ntqfiledialog.h>
+#include <tqfiledialog.h>
#include <ntqprogressdialog.h>
#include <ntqapplication.h>
diff --git a/examples/network/httpd/README b/examples/network/httpd/README
index dc7229d4a..d16479f55 100644
--- a/examples/network/httpd/README
+++ b/examples/network/httpd/README
@@ -1,7 +1,7 @@
-This is an example for the QServerSocket class which is included in the
+This is an example for the TQServerSocket class which is included in the
network module.
It is a simple http daemon. After starting it you can connect to port
8080 with a web browser and an html page is shown. The program does
not really parse the http request; so it is not of much use except for
-being a small example for QServerSocket.
+being a small example for TQServerSocket.
diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp
index cdd96101f..57d897c81 100644
--- a/examples/network/httpd/httpd.cpp
+++ b/examples/network/httpd/httpd.cpp
@@ -7,9 +7,9 @@
**
*****************************************************************************/
#include <stdlib.h>
-#include <ntqsocket.h>
+#include <tqsocket.h>
#include <tqregexp.h>
-#include <ntqserversocket.h>
+#include <tqserversocket.h>
#include <ntqapplication.h>
#include <tqmainwindow.h>
#include <tqtextstream.h>
diff --git a/examples/network/httpd/httpd.doc b/examples/network/httpd/httpd.doc
index de1e0be9f..b2aef7b91 100644
--- a/examples/network/httpd/httpd.doc
+++ b/examples/network/httpd/httpd.doc
@@ -7,7 +7,7 @@
\title A simple HTTP daemon
- This example shows how to use the QServerSocket class. It is a very
+ This example shows how to use the TQServerSocket class. It is a very
simple implementation of a HTTP daemon that listens on port 8080 and
sends back a simple HTML page back for every GET request it gets. After
sending the page, it closes the connection.
diff --git a/examples/network/infoprotocol/infoclient/client.cpp b/examples/network/infoprotocol/infoclient/client.cpp
index 597099a64..696f35063 100644
--- a/examples/network/infoprotocol/infoclient/client.cpp
+++ b/examples/network/infoprotocol/infoclient/client.cpp
@@ -7,7 +7,7 @@
**
*****************************************************************************/
-#include <ntqsocket.h>
+#include <tqsocket.h>
#include <ntqapplication.h>
#include <tqtextedit.h>
#include <ntqlineedit.h>
diff --git a/examples/network/infoprotocol/infoserver/server.h b/examples/network/infoprotocol/infoserver/server.h
index 637a4996b..c5662697f 100644
--- a/examples/network/infoprotocol/infoserver/server.h
+++ b/examples/network/infoprotocol/infoserver/server.h
@@ -10,8 +10,8 @@
#ifndef SERVER_H
#define SERVER_H
-#include <ntqsocket.h>
-#include <ntqserversocket.h>
+#include <tqsocket.h>
+#include <tqserversocket.h>
#include "infodata.h"
#include "serverbase.h"
diff --git a/examples/network/infoprotocol/infourlclient/client.cpp b/examples/network/infoprotocol/infourlclient/client.cpp
index ebe574373..ee1a85c85 100644
--- a/examples/network/infoprotocol/infourlclient/client.cpp
+++ b/examples/network/infoprotocol/infourlclient/client.cpp
@@ -10,7 +10,7 @@
#include <ntqapplication.h>
#include <tqtextedit.h>
#include <ntqpushbutton.h>
-#include <ntqfiledialog.h>
+#include <tqfiledialog.h>
#include "qip.h"
#include "client.h"
diff --git a/examples/network/infoprotocol/infourlclient/client.h b/examples/network/infoprotocol/infourlclient/client.h
index 43641efb5..ef8e01473 100644
--- a/examples/network/infoprotocol/infourlclient/client.h
+++ b/examples/network/infoprotocol/infourlclient/client.h
@@ -10,7 +10,7 @@
#ifndef CLIENT_H
#define CLIENT_H
-#include <ntqurloperator.h>
+#include <tqurloperator.h>
#include "clientbase.h"
diff --git a/examples/network/infoprotocol/infourlclient/qip.cpp b/examples/network/infoprotocol/infourlclient/qip.cpp
index 87c209a4a..e9ba7aeb9 100644
--- a/examples/network/infoprotocol/infourlclient/qip.cpp
+++ b/examples/network/infoprotocol/infourlclient/qip.cpp
@@ -7,9 +7,9 @@
**
*****************************************************************************/
-#include <ntqsocket.h>
-#include <ntqurlinfo.h>
-#include <ntqurloperator.h>
+#include <tqsocket.h>
+#include <tqurlinfo.h>
+#include <tqurloperator.h>
#include <tqtextstream.h>
#include "qip.h"
diff --git a/examples/network/infoprotocol/infourlclient/qip.h b/examples/network/infoprotocol/infourlclient/qip.h
index c88ed8a0a..859009bef 100644
--- a/examples/network/infoprotocol/infourlclient/qip.h
+++ b/examples/network/infoprotocol/infourlclient/qip.h
@@ -10,7 +10,7 @@
#ifndef TQIP_H
#define TQIP_H
-#include <ntqnetworkprotocol.h>
+#include <tqnetworkprotocol.h>
class TQSocket;
diff --git a/examples/network/mail/mail.doc b/examples/network/mail/mail.doc
index 009f15520..4985d1cbe 100644
--- a/examples/network/mail/mail.doc
+++ b/examples/network/mail/mail.doc
@@ -7,7 +7,7 @@
\title A simple mail client
- This example shows how to use the QSocket class. The client can only be
+ This example shows how to use the TQSocket class. The client can only be
used to send mails. The interesting part is the implementation of the
SMTP protocol.
diff --git a/examples/network/mail/smtp.cpp b/examples/network/mail/smtp.cpp
index 0d10a9b30..e04468a42 100644
--- a/examples/network/mail/smtp.cpp
+++ b/examples/network/mail/smtp.cpp
@@ -10,8 +10,8 @@
#include "smtp.h"
#include <tqtextstream.h>
-#include <ntqsocket.h>
-#include <ntqdns.h>
+#include <tqsocket.h>
+#include <tqdns.h>
#include <tqtimer.h>
#include <ntqapplication.h>
#include <ntqmessagebox.h>
diff --git a/examples/network/networkprotocol/main.cpp b/examples/network/networkprotocol/main.cpp
index db00b6a98..76f8fce5a 100644
--- a/examples/network/networkprotocol/main.cpp
+++ b/examples/network/networkprotocol/main.cpp
@@ -8,7 +8,7 @@
*****************************************************************************/
#include <ntqapplication.h>
-#include <ntqnetwork.h>
+#include <tqnetwork.h>
#include "nntp.h"
#include "view.h"
diff --git a/examples/network/networkprotocol/networkprotocol.doc b/examples/network/networkprotocol/networkprotocol.doc
index ea0079767..95a8ea0d1 100644
--- a/examples/network/networkprotocol/networkprotocol.doc
+++ b/examples/network/networkprotocol/networkprotocol.doc
@@ -7,7 +7,7 @@
\title A simple NNTP implementation
- This example shows how to implement your own QNetworkProtocol. The
+ This example shows how to implement your own TQNetworkProtocol. The
protocol that was chosen for this example is NTTP. Please note that this
implementation is very simple since it is designed to be an example. It
should not be used as a real NNTP implemention.
diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp
index 870c2c7f9..08c2c18c9 100644
--- a/examples/network/networkprotocol/nntp.cpp
+++ b/examples/network/networkprotocol/nntp.cpp
@@ -8,9 +8,9 @@
*****************************************************************************/
#include "nntp.h"
-#include <ntqurlinfo.h>
+#include <tqurlinfo.h>
#include <stdlib.h>
-#include <ntqurloperator.h>
+#include <tqurloperator.h>
#include <tqstringlist.h>
#include <tqregexp.h>
diff --git a/examples/network/networkprotocol/nntp.h b/examples/network/networkprotocol/nntp.h
index c09a3ea4a..cca84a0f2 100644
--- a/examples/network/networkprotocol/nntp.h
+++ b/examples/network/networkprotocol/nntp.h
@@ -10,8 +10,8 @@
#ifndef NNTP_H
#define NNTP_H
-#include <ntqsocket.h>
-#include <ntqnetworkprotocol.h>
+#include <tqsocket.h>
+#include <tqnetworkprotocol.h>
class Nntp : public TQNetworkProtocol
{
diff --git a/examples/network/networkprotocol/view.cpp b/examples/network/networkprotocol/view.cpp
index 070b8a7cd..15084c5c5 100644
--- a/examples/network/networkprotocol/view.cpp
+++ b/examples/network/networkprotocol/view.cpp
@@ -12,7 +12,7 @@
#include <ntqlabel.h>
#include <ntqpushbutton.h>
#include <ntqmultilineedit.h>
-#include <ntqfiledialog.h>
+#include <tqfiledialog.h>
View::View()
: TQVBox()
diff --git a/examples/network/networkprotocol/view.h b/examples/network/networkprotocol/view.h
index 8fc9a43a9..9a5583ff8 100644
--- a/examples/network/networkprotocol/view.h
+++ b/examples/network/networkprotocol/view.h
@@ -12,7 +12,7 @@
#include <ntqvbox.h>
#include <tqcstring.h>
-#include <ntqurloperator.h>
+#include <tqurloperator.h>
class TQMultiLineEdit;
diff --git a/examples/network/remotecontrol/ipcserver.cpp b/examples/network/remotecontrol/ipcserver.cpp
index 05f6fdb8f..a64e70e6b 100644
--- a/examples/network/remotecontrol/ipcserver.cpp
+++ b/examples/network/remotecontrol/ipcserver.cpp
@@ -1,6 +1,6 @@
#include "ipcserver.h"
-#include <ntqsocket.h>
+#include <tqsocket.h>
#include <ntqvariant.h>
#include <tqimage.h>
#include <ntqpalette.h>
diff --git a/examples/network/remotecontrol/ipcserver.h b/examples/network/remotecontrol/ipcserver.h
index 81b6c9c95..0cb4289dd 100644
--- a/examples/network/remotecontrol/ipcserver.h
+++ b/examples/network/remotecontrol/ipcserver.h
@@ -1,7 +1,7 @@
#ifndef IPCSERVER_H
#define IPCSERVER_H
-#include <ntqserversocket.h>
+#include <tqserversocket.h>
class IpcServer : public TQServerSocket
{
diff --git a/examples/network/remotecontrol/remotectrlimpl.cpp b/examples/network/remotecontrol/remotectrlimpl.cpp
index 716eb0fef..9df3c5c9e 100644
--- a/examples/network/remotecontrol/remotectrlimpl.cpp
+++ b/examples/network/remotecontrol/remotectrlimpl.cpp
@@ -2,8 +2,8 @@
#include <ntqpushbutton.h>
#include <ntqlineedit.h>
-#include <ntqsocket.h>
-#include <ntqfiledialog.h>
+#include <tqsocket.h>
+#include <tqfiledialog.h>
#include <ntqcolordialog.h>
#include <tqimage.h>
diff --git a/examples/network/remotecontrol/startup.cpp b/examples/network/remotecontrol/startup.cpp
index 95e33e260..985ee4965 100644
--- a/examples/network/remotecontrol/startup.cpp
+++ b/examples/network/remotecontrol/startup.cpp
@@ -3,7 +3,7 @@
#include "maindialog.h"
#include "ipcserver.h"
-#include <ntqsocket.h>
+#include <tqsocket.h>
#include <ntqlabel.h>
static const TQ_UINT16 ipcPort = 54923;