summaryrefslogtreecommitdiffstats
path: root/doc/html/httpd-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/httpd-example.html')
-rw-r--r--doc/html/httpd-example.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/httpd-example.html b/doc/html/httpd-example.html
index 32b502475..124439989 100644
--- a/doc/html/httpd-example.html
+++ b/doc/html/httpd-example.html
@@ -54,10 +54,10 @@ sending the page, it closes the connection.
#include &lt;<a href="qserversocket-h.html">ntqserversocket.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
-#include &lt;<a href="qtextstream-h.html">ntqtextstream.h</a>&gt;
+#include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
-#include &lt;<a href="qtextview-h.html">ntqtextview.h</a>&gt;
+#include &lt;<a href="tqtextview-h.html">tqtextview.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
// HttpDaemon is the the class that implements the simple HTTP server.
@@ -102,8 +102,8 @@ private slots:
<a name="x727"></a> if ( socket-&gt;<a href="ntqsocket.html#canReadLine">canReadLine</a>() ) {
<a name="x733"></a><a name="x730"></a> <a href="tqstringlist.html">TQStringList</a> tokens = TQStringList::<a href="tqstringlist.html#split">split</a>( TQRegExp("[ \r\n][ \r\n]*"), socket-&gt;<a href="ntqsocket.html#readLine">readLine</a>() );
if ( tokens[0] == "GET" ) {
- <a href="ntqtextstream.html">TQTextStream</a> os( socket );
-<a name="x735"></a> os.<a href="ntqtextstream.html#setEncoding">setEncoding</a>( TQTextStream::UnicodeUTF8 );
+ <a href="tqtextstream.html">TQTextStream</a> os( socket );
+<a name="x735"></a> os.<a href="tqtextstream.html#setEncoding">setEncoding</a>( TQTextStream::UnicodeUTF8 );
os &lt;&lt; "HTTP/1.0 200 Ok\r\n"
"Content-Type: text/html; charset=\"utf-8\"\r\n"
"\r\n"
@@ -139,7 +139,7 @@ public:
<a name="x726"></a> ).arg( httpd-&gt;<a href="ntqserversocket.html#port">port</a>() );
<a href="ntqlabel.html">TQLabel</a> *lb = new <a href="ntqlabel.html">TQLabel</a>( itext, this );
lb-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignHCenter );
- infoText = new <a href="ntqtextview.html">TQTextView</a>( this );
+ infoText = new <a href="tqtextview.html">TQTextView</a>( this );
<a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "quit" , this );
connect( httpd, TQ_SIGNAL(newConnect()), TQ_SLOT(newConnect()) );
@@ -155,19 +155,19 @@ public:
private slots:
void newConnect()
{
-<a name="x734"></a> infoText-&gt;<a href="ntqtextedit.html#append">append</a>( "New connection" );
+<a name="x734"></a> infoText-&gt;<a href="tqtextedit.html#append">append</a>( "New connection" );
}
void endConnect()
{
- infoText-&gt;<a href="ntqtextedit.html#append">append</a>( "Connection closed\n\n" );
+ infoText-&gt;<a href="tqtextedit.html#append">append</a>( "Connection closed\n\n" );
}
void wroteToClient()
{
- infoText-&gt;<a href="ntqtextedit.html#append">append</a>( "Wrote to client" );
+ infoText-&gt;<a href="tqtextedit.html#append">append</a>( "Wrote to client" );
}
private:
- <a href="ntqtextview.html">TQTextView</a> *infoText;
+ <a href="tqtextview.html">TQTextView</a> *infoText;
};