diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qhttpheader.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qhttpheader.html')
-rw-r--r-- | doc/html/qhttpheader.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/qhttpheader.html b/doc/html/qhttpheader.html index fde3250f0..16a20267c 100644 --- a/doc/html/qhttpheader.html +++ b/doc/html/qhttpheader.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } <p>The TQHttpHeader class contains header information for HTTP. <a href="#details">More...</a> -<p><tt>#include <<a href="qhttp-h.html">qhttp.h</a>></tt> +<p><tt>#include <<a href="qhttp-h.html">ntqhttp.h</a>></tt> <p>Inherited by <a href="qhttpresponseheader.html">TQHttpResponseHeader</a> and <a href="qhttprequestheader.html">TQHttpRequestHeader</a>. <p><a href="qhttpheader-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -82,7 +82,7 @@ content is called the "value". You can get and set a header field's value by using its key with <a href="#value">value</a>() and <a href="#setValue">setValue</a>(), e.g. <pre> header.setValue( "content-type", "text/html" ); - <a href="qstring.html">TQString</a> contentType = header.value( "content-type" ); + <a href="ntqstring.html">TQString</a> contentType = header.value( "content-type" ); </pre> <p> Some fields are so common that getters and setters are provided @@ -103,7 +103,7 @@ Constructs an empty HTTP header. </h3> Constructs a copy of <em>header</em>. -<h3 class=fn><a name="TQHttpHeader-3"></a>TQHttpHeader::TQHttpHeader ( const <a href="qstring.html">TQString</a> & str ) +<h3 class=fn><a name="TQHttpHeader-3"></a>TQHttpHeader::TQHttpHeader ( const <a href="ntqstring.html">TQString</a> & str ) </h3> Constructs a HTTP header for <em>str</em>. <p> This constructor parses the string <em>str</em> for header fields and @@ -120,7 +120,7 @@ Destructor. Returns the value of the special HTTP header field <tt>content-length</tt>. <p> <p>See also <a href="#setContentLength">setContentLength</a>() and <a href="#hasContentLength">hasContentLength</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="contentType"></a>TQHttpHeader::contentType () const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="contentType"></a>TQHttpHeader::contentType () const </h3> Returns the value of the special HTTP header field <tt>content-type</tt>. <p> <p>See also <a href="#setContentType">setContentType</a>() and <a href="#hasContentType">hasContentType</a>(). @@ -137,7 +137,7 @@ Returns TRUE if the header has an entry for the the special HTTP header field <tt>content-type</tt>; otherwise returns FALSE. <p> <p>See also <a href="#contentType">contentType</a>() and <a href="#setContentType">setContentType</a>(). -<h3 class=fn>bool <a name="hasKey"></a>TQHttpHeader::hasKey ( const <a href="qstring.html">TQString</a> & key ) const +<h3 class=fn>bool <a name="hasKey"></a>TQHttpHeader::hasKey ( const <a href="ntqstring.html">TQString</a> & key ) const </h3> Returns TRUE if the HTTP header has an entry with the given <em>key</em>; otherwise returns FALSE. <p> <p>See also <a href="#value">value</a>(), <a href="#setValue">setValue</a>(), and <a href="#keys">keys</a>(). @@ -147,7 +147,7 @@ Returns TRUE if the HTTP header has an entry with the given <em>key</em>; otherw Returns TRUE if the HTTP header is valid; otherwise returns FALSE. <p> A TQHttpHeader is invalid if it was created by parsing a malformed string. -<h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="keys"></a>TQHttpHeader::keys () const +<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="keys"></a>TQHttpHeader::keys () const </h3> Returns a list of the keys in the HTTP header. <p> <p>See also <a href="#hasKey">hasKey</a>(). @@ -168,7 +168,7 @@ Returns a list of the keys in the HTTP header. </h3> Assigns <em>h</em> and returns a reference to this http header. -<h3 class=fn>void <a name="removeValue"></a>TQHttpHeader::removeValue ( const <a href="qstring.html">TQString</a> & key ) +<h3 class=fn>void <a name="removeValue"></a>TQHttpHeader::removeValue ( const <a href="ntqstring.html">TQString</a> & key ) </h3> Removes the entry with the key <em>key</em> from the HTTP header. <p> <p>See also <a href="#value">value</a>() and <a href="#setValue">setValue</a>(). @@ -179,14 +179,14 @@ Sets the value of the special HTTP header field <tt>content-length</tt> to <em>len</em>. <p> <p>See also <a href="#contentLength">contentLength</a>() and <a href="#hasContentLength">hasContentLength</a>(). -<h3 class=fn>void <a name="setContentType"></a>TQHttpHeader::setContentType ( const <a href="qstring.html">TQString</a> & type ) +<h3 class=fn>void <a name="setContentType"></a>TQHttpHeader::setContentType ( const <a href="ntqstring.html">TQString</a> & type ) </h3> Sets the value of the special HTTP header field <tt>content-type</tt> to <em>type</em>. <p> <p>See also <a href="#contentType">contentType</a>() and <a href="#hasContentType">hasContentType</a>(). <p>Example: <a href="archivesearch-example.html#x475">network/archivesearch/archivedialog.ui.h</a>. -<h3 class=fn>void <a name="setValue"></a>TQHttpHeader::setValue ( const <a href="qstring.html">TQString</a> & key, const <a href="qstring.html">TQString</a> & value ) +<h3 class=fn>void <a name="setValue"></a>TQHttpHeader::setValue ( const <a href="ntqstring.html">TQString</a> & key, const <a href="ntqstring.html">TQString</a> & value ) </h3> Sets the value of the entry with the <em>key</em> to <em>value</em>. <p> If no entry with <em>key</em> exists, a new entry with the given <em>key</em> @@ -195,14 +195,14 @@ exists, its value is discarded and replaced with the given <em>value</em>. <p> <p>See also <a href="#value">value</a>(), <a href="#hasKey">hasKey</a>(), and <a href="#removeValue">removeValue</a>(). <p>Example: <a href="archivesearch-example.html#x476">network/archivesearch/archivedialog.ui.h</a>. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="toString"></a>TQHttpHeader::toString () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQHttpHeader::toString () const<tt> [virtual]</tt> </h3> Returns a string representation of the HTTP header. <p> The string is suitable for use by the constructor that takes a -<a href="qstring.html">TQString</a>. It consists of lines with the format: key, colon, space, +<a href="ntqstring.html">TQString</a>. It consists of lines with the format: key, colon, space, value, "\r\n". -<h3 class=fn><a href="qstring.html">TQString</a> <a name="value"></a>TQHttpHeader::value ( const <a href="qstring.html">TQString</a> & key ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="value"></a>TQHttpHeader::value ( const <a href="ntqstring.html">TQString</a> & key ) const </h3> Returns the value for the entry with the given <em>key</em>. If no entry has this <em>key</em>, an empty string is returned. |