From 397b7afa8e3f32268c4454bf4783ac2a5a799658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 15 Oct 2024 13:05:33 +0900 Subject: Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/httpd-example.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/httpd-example.html') diff --git a/doc/html/httpd-example.html b/doc/html/httpd-example.html index 06a1d69a4..7537218e2 100644 --- a/doc/html/httpd-example.html +++ b/doc/html/httpd-example.html @@ -51,7 +51,7 @@ sending the page, it closes the connection. #include <tqsocket.h> #include <tqregexp.h> #include <tqserversocket.h> -#include <ntqapplication.h> +#include <tqapplication.h> #include <tqmainwindow.h> #include <tqtextstream.h> #include <tqvbox.h> @@ -68,7 +68,7 @@ public: TQServerSocket(8080,1,parent) { if ( !ok() ) { - tqWarning("Failed to bind to port 8080"); + tqWarning("Failed to bind to port 8080"); exit( 1 ); } } @@ -144,7 +144,7 @@ public: connect( httpd, TQ_SIGNAL(newConnect()), TQ_SLOT(newConnect()) ); connect( httpd, TQ_SIGNAL(endConnect()), TQ_SLOT(endConnect()) ); connect( httpd, TQ_SIGNAL(wroteToClient()), TQ_SLOT(wroteToClient()) ); - connect( quit, TQ_SIGNAL(pressed()), tqApp, TQ_SLOT(quit()) ); + connect( quit, TQ_SIGNAL(pressed()), tqApp, TQ_SLOT(quit()) ); } ~HttpInfo() @@ -172,11 +172,11 @@ private: int main( int argc, char** argv ) { - TQApplication app( argc, argv ); + TQApplication app( argc, argv ); HttpInfo info; - app.setMainWidget( &info ); + app.setMainWidget( &info ); info.show(); - return app.exec(); + return app.exec(); } #include "httpd.moc" -- cgit v1.2.3