diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /examples/network/httpd | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt-252a2ec8.tar.gz tqt-252a2ec8.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/network/httpd')
-rw-r--r-- | examples/network/httpd/README | 4 | ||||
-rw-r--r-- | examples/network/httpd/httpd.cpp | 4 | ||||
-rw-r--r-- | examples/network/httpd/httpd.doc | 2 |
3 files changed, 5 insertions, 5 deletions
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. |