From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/qhttpheader.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/qhttpheader.html') 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; }

The TQHttpHeader class contains header information for HTTP. More... -

#include <qhttp.h> +

#include <ntqhttp.h>

Inherited by TQHttpResponseHeader and TQHttpRequestHeader.

List of all member functions.

Public Members

@@ -82,7 +82,7 @@ content is called the "value". You can get and set a header field's value by using its key with value() and setValue(), e.g.
     header.setValue( "content-type", "text/html" );
-    TQString contentType = header.value( "content-type" );
+    TQString contentType = header.value( "content-type" );
     

Some fields are so common that getters and setters are provided @@ -103,7 +103,7 @@ Constructs an empty HTTP header. Constructs a copy of header. -

TQHttpHeader::TQHttpHeader ( const TQString & str ) +

TQHttpHeader::TQHttpHeader ( const TQString & str )

Constructs a HTTP header for str.

This constructor parses the string str for header fields and @@ -120,7 +120,7 @@ Destructor. Returns the value of the special HTTP header field content-length.

See also setContentLength() and hasContentLength(). -

TQString TQHttpHeader::contentType () const +

TQString TQHttpHeader::contentType () const

Returns the value of the special HTTP header field content-type.

See also setContentType() and hasContentType(). @@ -137,7 +137,7 @@ Returns TRUE if the header has an entry for the the special HTTP header field content-type; otherwise returns FALSE.

See also contentType() and setContentType(). -

bool TQHttpHeader::hasKey ( const TQString & key ) const +

bool TQHttpHeader::hasKey ( const TQString & key ) const

Returns TRUE if the HTTP header has an entry with the given key; otherwise returns FALSE.

See also value(), setValue(), and keys(). @@ -147,7 +147,7 @@ Returns TRUE if the HTTP header has an entry with the given key; otherw Returns TRUE if the HTTP header is valid; otherwise returns FALSE.

A TQHttpHeader is invalid if it was created by parsing a malformed string. -

TQStringList TQHttpHeader::keys () const +

TQStringList TQHttpHeader::keys () const

Returns a list of the keys in the HTTP header.

See also hasKey(). @@ -168,7 +168,7 @@ Returns a list of the keys in the HTTP header. Assigns h and returns a reference to this http header. -

void TQHttpHeader::removeValue ( const TQString & key ) +

void TQHttpHeader::removeValue ( const TQString & key )

Removes the entry with the key key from the HTTP header.

See also value() and setValue(). @@ -179,14 +179,14 @@ Sets the value of the special HTTP header field content-length to len.

See also contentLength() and hasContentLength(). -

void TQHttpHeader::setContentType ( const TQString & type ) +

void TQHttpHeader::setContentType ( const TQString & type )

Sets the value of the special HTTP header field content-type to type.

See also contentType() and hasContentType().

Example: network/archivesearch/archivedialog.ui.h. -

void TQHttpHeader::setValue ( const TQString & key, const TQString & value ) +

void TQHttpHeader::setValue ( const TQString & key, const TQString & value )

Sets the value of the entry with the key to value.

If no entry with key exists, a new entry with the given key @@ -195,14 +195,14 @@ exists, its value is discarded and replaced with the given value.

See also value(), hasKey(), and removeValue().

Example: network/archivesearch/archivedialog.ui.h. -

TQString TQHttpHeader::toString () const [virtual] +

TQString TQHttpHeader::toString () const [virtual]

Returns a string representation of the HTTP header.

The string is suitable for use by the constructor that takes a -TQString. It consists of lines with the format: key, colon, space, +TQString. It consists of lines with the format: key, colon, space, value, "\r\n". -

TQString TQHttpHeader::value ( const TQString & key ) const +

TQString TQHttpHeader::value ( const TQString & key ) const

Returns the value for the entry with the given key. If no entry has this key, an empty string is returned. -- cgit v1.2.1