From 6dec101d43dcbd4195c47d54bd388db1a8d7230e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 17 Jun 2012 17:28:28 -0500 Subject: Automated update from Qt3 --- doc/html/clientserver-example.html | 2 +- doc/html/datastreamformat.html | 84 +++++++++++++++--------------- doc/html/ntqbuffer.html | 8 +-- doc/html/ntqdatastream.html | 104 ++++++++++++++++++------------------- doc/html/ntqdns.html | 8 +-- doc/html/ntqfile.html | 8 +-- doc/html/ntqftp.html | 12 ++--- doc/html/ntqhostaddress.html | 24 ++++----- doc/html/ntqhttp.html | 16 +++--- doc/html/ntqiodevice.html | 18 +++---- doc/html/ntqlocale.html | 32 ++++++------ doc/html/ntqmemarray.html | 4 +- doc/html/ntqserversocket.html | 12 ++--- doc/html/ntqsocket.html | 44 ++++++++-------- doc/html/ntqsocketdevice.html | 36 ++++++------- doc/html/ntqstring.html | 32 ++++++------ doc/html/ntqvariant.html | 24 ++++----- doc/html/qassistantclient-h.html | 2 +- doc/html/qaxbase.html | 6 +-- doc/html/qaxserver.html | 4 +- doc/html/qbuffer-h.html | 8 +-- doc/html/qcstring-h.html | 2 +- doc/html/qdatastream-h.html | 80 ++++++++++++++-------------- doc/html/qdns-h.html | 12 ++--- doc/html/qfile-h.html | 10 ++-- doc/html/qfontmanager_qws-h.html | 16 +++--- doc/html/qftp-h.html | 6 +-- doc/html/qgl-h.html | 2 +- doc/html/qglobal-h.html | 36 ++++++------- doc/html/qhostaddress-h.html | 14 ++--- doc/html/qhttp-h.html | 8 +-- doc/html/qiodevice-h.html | 12 ++--- doc/html/qlocale-h.html | 28 +++++----- doc/html/qmap-h.html | 6 +-- doc/html/qpen-h.html | 2 +- doc/html/qprocess-h.html | 2 +- doc/html/qserversocket-h.html | 8 +-- doc/html/qsizepolicy-h.html | 16 +++--- doc/html/qsocket-h.html | 26 +++++----- doc/html/qsocketdevice-h.html | 24 ++++----- doc/html/qstring-h.html | 32 ++++++------ doc/html/qvaluelist-h.html | 6 +-- doc/html/qvaluevector-h.html | 6 +-- doc/html/qvariant-h.html | 16 +++--- doc/html/qwidget-h.html | 4 +- doc/html/qwidgetfactory-h.html | 4 +- doc/html/qwindowdefs-h.html | 2 +- 47 files changed, 434 insertions(+), 434 deletions(-) (limited to 'doc/html') diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index 93a9f300..85c38108 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -237,7 +237,7 @@ class Client : public TQVBox { TQ_OBJECT public: - Client( const TQString &host, Q_UINT16 port ) + Client( const TQString &host, TQ_UINT16 port ) { // GUI layout infoText = new TQTextView( this ); diff --git a/doc/html/datastreamformat.html b/doc/html/datastreamformat.html index 577fcc54..a0ed8cf2 100644 --- a/doc/html/datastreamformat.html +++ b/doc/html/datastreamformat.html @@ -39,27 +39,27 @@ and how they are represented.

It is best to always cast integers to a TQt integer type when writing, and to read back into the same TQt integer type when reading.

- - -
Q_INT8 +
TQ_INT8
  • signed byte
-
Q_INT16 +
TQ_INT16
  • signed 16 bit integer
-
Q_INT32 +
TQ_INT32
  • signed 32 bit integer
-
Q_UINT8 +
TQ_UINT8
  • unsigned byte
-
Q_UINT16 +
TQ_UINT16
  • unsigned 16 bit integer
-
Q_UINT32 +
TQ_UINT32
  • unsigned 32 bit integer
@@ -73,34 +73,34 @@ and to read back into the same TQt integer type when reading.
char *
    -
  • The size of the string including the terminating 0 (Q_UINT32) +
  • The size of the string including the terminating 0 (TQ_UINT32)
  • The string bytes including the terminating 0
-The null string is represented as (Q_UINT32) 0. +The null string is represented as (TQ_UINT32) 0.
TQBitArray
    -
  • The array size (Q_UINT32) +
  • The array size (TQ_UINT32)
  • The array bits, i.e. (size + 7)/8 bytes
TQBrush
    -
  • The brush style (Q_UINT8) +
  • The brush style (TQ_UINT8)
  • The brush color (TQColor)
  • If style is CustomPattern, the brush pixmap (TQPixmap)
TQByteArray
    -
  • The array size (Q_UINT32) +
  • The array size (TQ_UINT32)
  • The array bytes, i.e. size bytes
TQCString
    -
  • The size of the string including the terminating 0 (Q_UINT32) +
  • The size of the string including the terminating 0 (TQ_UINT32)
  • The string bytes including the terminating 0
-The null string is represented as (Q_UINT32) 0. +The null string is represented as (TQ_UINT32) 0.
TQColor -
  • RGB value serialized as a Q_UINT32
+
  • RGB value serialized as a TQ_UINT32
TQColorGroup
  • foreground (TQBrush) @@ -120,12 +120,12 @@ The null string is represented as (Q_UINT32) 0.
TQCursor
    -
  • Shape id (Q_INT16) +
  • Shape id (TQ_INT16)
  • If shape is BitmapCursor: The bitmap (TQPixmap), mask (TQPixmap) and hot spot (TQPoint)
TQDate
    -
  • Julian day (Q_UINT32) +
  • Julian day (TQ_UINT32)
TQDateTime
    @@ -135,11 +135,11 @@ The null string is represented as (Q_UINT32) 0.
TQFont
  • The family (TQCString) -
  • The point size (Q_INT16) -
  • The style hint (Q_UINT8) -
  • The char set (Q_UINT8) -
  • The weight (Q_UINT8) -
  • The font bits (Q_UINT8) +
  • The point size (TQ_INT16) +
  • The style hint (TQ_UINT8) +
  • The char set (TQ_UINT8) +
  • The weight (TQ_UINT8) +
  • The font bits (TQ_UINT8)
TQImage
    @@ -151,7 +151,7 @@ that.
TQMap
    -
  • The number of items (Q_UINT32) +
  • The number of items (TQ_UINT32)
  • For all items, the key and value
TQPalette @@ -162,13 +162,13 @@ that.
TQPen
    -
  • The pen styles (Q_UINT8) -
  • The pen width (Q_UINT8) +
  • The pen styles (TQ_UINT8) +
  • The pen width (TQ_UINT8)
  • The pen color (TQColor)
TQPicture
    -
  • The size of the picture data (Q_UINT32) +
  • The size of the picture data (TQ_UINT32)
  • The raw bytes of picture data (char)
TQPixmap @@ -177,51 +177,51 @@ that.
TQPoint
    -
  • The x coordinate (Q_INT32) -
  • The y coordinate (Q_INT32) +
  • The x coordinate (TQ_INT32) +
  • The y coordinate (TQ_INT32)
TQPointArray
    -
  • The array size (Q_UINT32) +
  • The array size (TQ_UINT32)
  • The array points (TQPoint)
TQRect
    -
  • left (Q_INT32) -
  • top (Q_INT32) -
  • right (Q_INT32) -
  • bottom (Q_INT32) +
  • left (TQ_INT32) +
  • top (TQ_INT32) +
  • right (TQ_INT32) +
  • bottom (TQ_INT32)
TQRegion
    -
  • The size of the data, i.e. 8 + 16 * (number of rectangles) (Q_UINT32) -
  • TQRGN_RECTS (Q_INT32) -
  • The number of rectangles (Q_UINT32) +
  • The size of the data, i.e. 8 + 16 * (number of rectangles) (TQ_UINT32) +
  • TQRGN_RECTS (TQ_INT32) +
  • The number of rectangles (TQ_UINT32)
  • The rectangles in sequential order (TQRect)
TQSize
    -
  • width (Q_INT32) -
  • height (Q_INT32) +
  • width (TQ_INT32) +
  • height (TQ_INT32)
TQString
    -
  • If the string is null: 0xffffffff (Q_UINT32)
    -otherwise: The string length (Q_UINT32) followed by the +
  • If the string is null: 0xffffffff (TQ_UINT32)
    +otherwise: The string length (TQ_UINT32) followed by the data in UTF-16
TQTime
    -
  • Milliseconds since midnight (Q_UINT32) +
  • Milliseconds since midnight (TQ_UINT32)
TQValueList
    -
  • The number of list elements (Q_UINT32) +
  • The number of list elements (TQ_UINT32)
  • All the elements in sequential order
TQVariant
    -
  • The type of the data (Q_UINT32) +
  • The type of the data (TQ_UINT32)
  • The data of the specified type
TQWMatrix diff --git a/doc/html/ntqbuffer.html b/doc/html/ntqbuffer.html index 7f0714de..2b208c29 100644 --- a/doc/html/ntqbuffer.html +++ b/doc/html/ntqbuffer.html @@ -44,8 +44,8 @@ body { background: #ffffff; color: black; }
  • ~TQBuffer ()
  • TQByteArray buffer () const
  • bool setBuffer ( TQByteArray buf )
  • -
  • virtual Q_LONG writeBlock ( const char * p, Q_ULONG len )
  • -
  • Q_LONG writeBlock ( const TQByteArray & data )
  • +
  • virtual TQ_LONG writeBlock ( const char * p, TQ_ULONG len )
  • +
  • TQ_LONG writeBlock ( const TQByteArray & data )

  • Detailed Description

    @@ -120,7 +120,7 @@ Replaces the buffer's contents with buf and returns TRUE. modified because TQByteArray is an explicitly shared class.

    See also buffer(), open(), and close(). -

    Q_LONG TQBuffer::writeBlock ( const char * p, Q_ULONG len ) [virtual] +

    TQ_LONG TQBuffer::writeBlock ( const char * p, TQ_ULONG len ) [virtual]

    Writes len bytes from p into the buffer at the current index position, overwriting any characters there and extending the @@ -129,7 +129,7 @@ buffer if necessary. Returns the number of bytes actually written.

    See also readBlock().

    Reimplemented from TQIODevice. -

    Q_LONG TQBuffer::writeBlock ( const TQByteArray & data ) +

    TQ_LONG TQBuffer::writeBlock ( const TQByteArray & data )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    This convenience function is the same as calling diff --git a/doc/html/ntqdatastream.html b/doc/html/ntqdatastream.html index a20fd8ea..0cea7575 100644 --- a/doc/html/ntqdatastream.html +++ b/doc/html/ntqdatastream.html @@ -55,29 +55,29 @@ to a TQIODevice.

  • void setPrintableData ( bool enable )
  • int version () const
  • void setVersion ( int v )
  • -
  • TQDataStream & operator>> ( Q_INT8 & i )
  • -
  • TQDataStream & operator>> ( Q_UINT8 & i )
  • -
  • TQDataStream & operator>> ( Q_INT16 & i )
  • -
  • TQDataStream & operator>> ( Q_UINT16 & i )
  • -
  • TQDataStream & operator>> ( Q_INT32 & i )
  • -
  • TQDataStream & operator>> ( Q_UINT32 & i )
  • -
  • TQDataStream & operator>> ( Q_INT64 & i )
  • -
  • TQDataStream & operator>> ( Q_UINT64 & i )
  • -
  • TQDataStream & operator>> ( Q_LONG & i )
  • -
  • TQDataStream & operator>> ( Q_ULONG & i )
  • +
  • TQDataStream & operator>> ( TQ_INT8 & i )
  • +
  • TQDataStream & operator>> ( TQ_UINT8 & i )
  • +
  • TQDataStream & operator>> ( TQ_INT16 & i )
  • +
  • TQDataStream & operator>> ( TQ_UINT16 & i )
  • +
  • TQDataStream & operator>> ( TQ_INT32 & i )
  • +
  • TQDataStream & operator>> ( TQ_UINT32 & i )
  • +
  • TQDataStream & operator>> ( TQ_INT64 & i )
  • +
  • TQDataStream & operator>> ( TQ_UINT64 & i )
  • +
  • TQDataStream & operator>> ( TQ_LONG & i )
  • +
  • TQDataStream & operator>> ( TQ_ULONG & i )
  • TQDataStream & operator>> ( float & f )
  • TQDataStream & operator>> ( double & f )
  • TQDataStream & operator>> ( char *& s )
  • -
  • TQDataStream & operator<< ( Q_INT8 i )
  • -
  • TQDataStream & operator<< ( Q_UINT8 i )
  • -
  • TQDataStream & operator<< ( Q_INT16 i )
  • -
  • TQDataStream & operator<< ( Q_UINT16 i )
  • -
  • TQDataStream & operator<< ( Q_INT32 i )
  • -
  • TQDataStream & operator<< ( Q_UINT32 i )
  • -
  • TQDataStream & operator<< ( Q_INT64 i )
  • -
  • TQDataStream & operator<< ( Q_UINT64 i )
  • -
  • TQDataStream & operator<< ( Q_LONG i )
  • -
  • TQDataStream & operator<< ( Q_ULONG i )
  • +
  • TQDataStream & operator<< ( TQ_INT8 i )
  • +
  • TQDataStream & operator<< ( TQ_UINT8 i )
  • +
  • TQDataStream & operator<< ( TQ_INT16 i )
  • +
  • TQDataStream & operator<< ( TQ_UINT16 i )
  • +
  • TQDataStream & operator<< ( TQ_INT32 i )
  • +
  • TQDataStream & operator<< ( TQ_UINT32 i )
  • +
  • TQDataStream & operator<< ( TQ_INT64 i )
  • +
  • TQDataStream & operator<< ( TQ_UINT64 i )
  • +
  • TQDataStream & operator<< ( TQ_LONG i )
  • +
  • TQDataStream & operator<< ( TQ_ULONG i )
  • TQDataStream & operator<< ( float f )
  • TQDataStream & operator<< ( double f )
  • TQDataStream & operator<< ( const char * s )
  • @@ -113,7 +113,7 @@ data to. The TQFile class is an example of an IO devi file.open( IO_WriteOnly ); TQDataStream stream( &file ); // we will serialize the data into the file stream << "the answer is"; // serialize a string - stream << (Q_INT32)42; // serialize an integer + stream << (TQ_INT32)42; // serialize an integer

    Example (read binary data from a stream): @@ -122,7 +122,7 @@ data to. The TQFile class is an example of an IO devi file.open( IO_ReadOnly ); TQDataStream stream( &file ); // read the data serialized from the file TQString str; - Q_INT32 a; + TQ_INT32 a; stream >> str >> a; // extract "the answer is" and 42 @@ -161,8 +161,8 @@ number to give yourself room for future expansion. For example: TQDataStream stream( &file ); // Write a header with a "magic number" and a version - stream << (Q_UINT32)0xA0B0C0D0; - stream << (Q_INT32)123; + stream << (TQ_UINT32)0xA0B0C0D0; + stream << (TQ_INT32)123; // Write the data stream << [lots of interesting data] @@ -175,13 +175,13 @@ number to give yourself room for future expansion. For example: TQDataStream stream( &file ); // Read and check the header - Q_UINT32 magic; + TQ_UINT32 magic; stream >> magic; if ( magic != 0xA0B0C0D0 ) return XXX_BAD_FILE_FORMAT; // Read the version - Q_INT32 version; + TQ_INT32 version; stream >> version; if ( version < 100 ) return XXX_BAD_FILE_TOO_OLD; @@ -212,11 +212,11 @@ written to the stream using writeRawBytes(). Notice encoding/decoding of the data must be done by you.

    A similar pair of functions is readBytes() and writeBytes(). These differ from their raw counterparts as follows: readBytes() -reads a Q_UINT32 which is taken to be the length of the data to be +reads a TQ_UINT32 which is taken to be the length of the data to be read, then that number of bytes is read into the preallocated -char*; writeBytes() writes a Q_UINT32 containing the length of the +char*; writeBytes() writes a TQ_UINT32 containing the length of the data, followed by the data. Notice that any encoding/decoding of -the data (apart from the length Q_UINT32) must be done by you. +the data (apart from the length TQ_UINT32) must be done by you.

    See also TQTextStream, TQVariant, and Input/Output and Networking.


    Member Type Documentation

    @@ -304,60 +304,60 @@ device is somewhere before the end position. returns FALSE.

    See also setPrintableData(). -

    TQDataStream & TQDataStream::operator<< ( Q_INT8 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_INT8 i )

    Writes a signed byte, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_UINT8 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_UINT8 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes an unsigned byte, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_INT16 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_INT16 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes a signed 16-bit integer, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_UINT16 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_UINT16 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes an unsigned 16-bit integer, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_INT32 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_INT32 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes a signed 32-bit integer, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_UINT32 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_UINT32 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes an unsigned integer, i, to the stream as a 32-bit -unsigned integer (Q_UINT32). Returns a reference to the stream. +unsigned integer (TQ_UINT32). Returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_INT64 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_INT64 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes a signed 64-bit integer, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_UINT64 i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_UINT64 i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes an unsigned 64-bit integer, i, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_LONG i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_LONG i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes a signed integer i, of the system's word length, to the stream and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator<< ( Q_ULONG i ) +

    TQDataStream & TQDataStream::operator<< ( TQ_ULONG i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Writes an unsigned integer i, of the system's word length, to @@ -382,60 +382,60 @@ This is an overloaded member function, provided for convenience. It behaves esse reference to the stream.

    The string is serialized using writeBytes(). -

    TQDataStream & TQDataStream::operator>> ( Q_INT8 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_INT8 & i )

    Reads a signed byte from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_UINT8 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_UINT8 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads an unsigned byte from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_INT16 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_INT16 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads a signed 16-bit integer from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_UINT16 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_UINT16 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads an unsigned 16-bit integer from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_INT32 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_INT32 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads a signed 32-bit integer from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_UINT32 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_UINT32 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads an unsigned 32-bit integer from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_INT64 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_INT64 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads a signed 64-bit integer from the stream into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_UINT64 & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_UINT64 & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads an unsigned 64-bit integer from the stream, into i, and returns a reference to the stream. -

    TQDataStream & TQDataStream::operator>> ( Q_LONG & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_LONG & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads a signed integer of the system's word length from the stream into i, and returns a reference to the stream.

    -

    TQDataStream & TQDataStream::operator>> ( Q_ULONG & i ) +

    TQDataStream & TQDataStream::operator>> ( TQ_ULONG & i )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads an unsigned integer of the system's word length from the @@ -470,7 +470,7 @@ the stream.

    The buffer s is allocated using new. Destroy it with the delete[] operator. If the length is zero or s cannot be allocated, s is set to 0.

    The l parameter will be set to the length of the buffer. -

    The serialization format is a Q_UINT32 length specifier first, +

    The serialization format is a TQ_UINT32 length specifier first, then l bytes of data. Note that the data is not encoded.

    See also readRawBytes() and writeBytes(). @@ -547,7 +547,7 @@ Unsets the IO device. This is the same as calling setDevice Writes the length specifier len and the buffer s to the stream and returns a reference to the stream. -

    The len is serialized as a Q_UINT32, followed by len bytes +

    The len is serialized as a TQ_UINT32, followed by len bytes from s. Note that the data is not encoded.

    See also writeRawBytes() and readBytes(). diff --git a/doc/html/ntqdns.html b/doc/html/ntqdns.html index 049dc526..f3efeff6 100644 --- a/doc/html/ntqdns.html +++ b/doc/html/ntqdns.html @@ -215,7 +215,7 @@ Returns a list of mail servers if the record type is class TQDns::MailServer contains the following public variables:

    • TQString TQDns::MailServer::name -
    • Q_UINT16 TQDns::MailServer::priority +
    • TQ_UINT16 TQDns::MailServer::priority

    Note that if you want to iterate over the list, you should iterate over a copy, e.g. @@ -265,9 +265,9 @@ Returns a list of servers if the record type is SrvTQDns::Server contains the following public variables:

    • TQString TQDns::Server::name -
    • Q_UINT16 TQDns::Server::priority -
    • Q_UINT16 TQDns::Server::weight -
    • Q_UINT16 TQDns::Server::port +
    • TQ_UINT16 TQDns::Server::priority +
    • TQ_UINT16 TQDns::Server::weight +
    • TQ_UINT16 TQDns::Server::port

    Note that if you want to iterate over the list, you should iterate over a copy, e.g. diff --git a/doc/html/ntqfile.html b/doc/html/ntqfile.html index 61ebcb6a..682aee20 100644 --- a/doc/html/ntqfile.html +++ b/doc/html/ntqfile.html @@ -55,8 +55,8 @@ body { background: #ffffff; color: black; }

  • virtual void flush ()
  • virtual Offset size () const
  • virtual bool atEnd () const
  • -
  • virtual Q_LONG readLine ( char * p, Q_ULONG maxlen )
  • -
  • Q_LONG readLine ( TQString & s, Q_ULONG maxlen )
  • +
  • virtual TQ_LONG readLine ( char * p, TQ_ULONG maxlen )
  • +
  • TQ_LONG readLine ( TQString & s, TQ_ULONG maxlen )
  • virtual int getch ()
  • virtual int putch ( int ch )
  • virtual int ungetch ( int ch )
  • @@ -391,7 +391,7 @@ Writes the character ch to the file. This convenience function returns all of the remaining data in the device. -

    Q_LONG TQFile::readLine ( char * p, Q_ULONG maxlen ) [virtual] +

    TQ_LONG TQFile::readLine ( char * p, TQ_ULONG maxlen ) [virtual]

    Reads a line of text.

    Reads bytes from the file into the char* p, until end-of-line @@ -404,7 +404,7 @@ flag.

    See also readBlock() and TQTextStream::readLine().

    Reimplemented from TQIODevice. -

    Q_LONG TQFile::readLine ( TQString & s, Q_ULONG maxlen ) +

    TQ_LONG TQFile::readLine ( TQString & s, TQ_ULONG maxlen )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Reads a line of text. diff --git a/doc/html/ntqftp.html b/doc/html/ntqftp.html index 9a3b6a92..40527178 100644 --- a/doc/html/ntqftp.html +++ b/doc/html/ntqftp.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; }

  • enum State { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing }
  • enum Error { NoError, UnknownError, HostNotFound, ConnectionRefused, NotConnected }
  • enum Command { None, ConnectToHost, Login, Close, List, Cd, Get, Put, Remove, Mkdir, Rmdir, Rename, RawCommand }
  • -
  • int connectToHost ( const TQString & host, Q_UINT16 port = 21 )
  • +
  • int connectToHost ( const TQString & host, TQ_UINT16 port = 21 )
  • int login ( const TQString & user = TQString::null, const TQString & password = TQString::null )
  • int close ()
  • int list ( const TQString & dir = TQString::null )
  • @@ -57,8 +57,8 @@ body { background: #ffffff; color: black; }
  • int rmdir ( const TQString & dir )
  • int rename ( const TQString & oldname, const TQString & newname )
  • int rawCommand ( const TQString & command )
  • -
  • Q_ULONG bytesAvailable () const
  • -
  • Q_LONG readBlock ( char * data, Q_ULONG maxlen )
  • +
  • TQ_ULONG bytesAvailable () const
  • +
  • TQ_LONG readBlock ( char * data, TQ_ULONG maxlen )
  • TQByteArray readAll ()
  • int currentId () const
  • TQIODevice * currentDevice () const
  • @@ -315,7 +315,7 @@ complete successfully.

    See also clearPendingCommands().

    Example: network/ftpclient/ftpmainwindow.ui.h. -

    Q_ULONG TQFtp::bytesAvailable () const +

    TQ_ULONG TQFtp::bytesAvailable () const

    Returns the number of bytes that can be read from the data socket at the moment. @@ -373,7 +373,7 @@ the processing; otherwise error is FALSE.

    See also commandFinished() and done().

    Example: network/ftpclient/ftpmainwindow.ui.h. -

    int TQFtp::connectToHost ( const TQString & host, Q_UINT16 port = 21 ) +

    int TQFtp::connectToHost ( const TQString & host, TQ_UINT16 port = 21 )

    Connects to the FTP server host using port port.

    The stateChanged() signal is emitted when the state of the @@ -603,7 +603,7 @@ Reads all the bytes available from the data socket and returns them.

    See also get(), readyRead(), bytesAvailable(), and readBlock(). -

    Q_LONG TQFtp::readBlock ( char * data, Q_ULONG maxlen ) +

    TQ_LONG TQFtp::readBlock ( char * data, TQ_ULONG maxlen )

    Reads maxlen bytes from the data socket into data and returns the number of bytes read. Returns -1 if an error occurred. diff --git a/doc/html/ntqhostaddress.html b/doc/html/ntqhostaddress.html index 2efa94de..322e933d 100644 --- a/doc/html/ntqhostaddress.html +++ b/doc/html/ntqhostaddress.html @@ -38,19 +38,19 @@ body { background: #ffffff; color: black; }

    Public Members

    • TQHostAddress ()
    • -
    • TQHostAddress ( Q_UINT32 ip4Addr )
    • -
    • TQHostAddress ( Q_UINT8 * ip6Addr )
    • +
    • TQHostAddress ( TQ_UINT32 ip4Addr )
    • +
    • TQHostAddress ( TQ_UINT8 * ip6Addr )
    • TQHostAddress ( const Q_IPV6ADDR & ip6Addr )
    • TQHostAddress ( const TQHostAddress & address )
    • virtual ~TQHostAddress ()
    • TQHostAddress & operator= ( const TQHostAddress & address )
    • -
    • void setAddress ( Q_UINT32 ip4Addr )
    • -
    • void setAddress ( Q_UINT8 * ip6Addr )
    • +
    • void setAddress ( TQ_UINT32 ip4Addr )
    • +
    • void setAddress ( TQ_UINT8 * ip6Addr )
    • bool setAddress ( const TQString & address )
    • bool isIp4Addr () const  (obsolete)
    • -
    • Q_UINT32 ip4Addr () const  (obsolete)
    • +
    • TQ_UINT32 ip4Addr () const  (obsolete)
    • bool isIPv4Address () const
    • -
    • Q_UINT32 toIPv4Address () const
    • +
    • TQ_UINT32 toIPv4Address () const
    • bool isIPv6Address () const
    • Q_IPV6ADDR toIPv6Address () const
    • TQString toString () const
    • @@ -79,11 +79,11 @@ to a host. Creates a host address object with the IP address 0.0.0.0. -

      TQHostAddress::TQHostAddress ( Q_UINT32 ip4Addr ) +

      TQHostAddress::TQHostAddress ( TQ_UINT32 ip4Addr )

      Creates a host address object for the IPv4 address ip4Addr. -

      TQHostAddress::TQHostAddress ( Q_UINT8 * ip6Addr ) +

      TQHostAddress::TQHostAddress ( TQ_UINT8 * ip6Addr )

      Creates a host address object with the specified IPv6 address.

      ip6Addr must be a 16 byte array in network byte order @@ -101,7 +101,7 @@ Creates a copy of address. Destroys the host address object. -

      Q_UINT32 TQHostAddress::ip4Addr () const +

      TQ_UINT32 TQHostAddress::ip4Addr () const

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      Use toIPv4Address() instead. @@ -137,11 +137,11 @@ returns a reference to this object. Returns TRUE if this host address is the same as other; otherwise returns FALSE. -

      void TQHostAddress::setAddress ( Q_UINT32 ip4Addr ) +

      void TQHostAddress::setAddress ( TQ_UINT32 ip4Addr )

      Set the IPv4 address specified by ip4Addr. -

      void TQHostAddress::setAddress ( Q_UINT8 * ip6Addr ) +

      void TQHostAddress::setAddress ( TQ_UINT8 * ip6Addr )

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

      Set the IPv6 address specified by ip6Addr. @@ -156,7 +156,7 @@ representation address (e.g. "127.0.0.1"). Returns TRUE and sets the address if the address was successfully parsed; otherwise returns FALSE and leaves the address unchanged. -

      Q_UINT32 TQHostAddress::toIPv4Address () const +

      TQ_UINT32 TQHostAddress::toIPv4Address () const

      Returns the IPv4 address as a number.

      For example, if the address is 127.0.0.1, the returned value is diff --git a/doc/html/ntqhttp.html b/doc/html/ntqhttp.html index 5bc3db1f..0b13c8fd 100644 --- a/doc/html/ntqhttp.html +++ b/doc/html/ntqhttp.html @@ -40,11 +40,11 @@ body { background: #ffffff; color: black; }

      • TQHttp ()
      • TQHttp ( TQObject * parent, const char * name = 0 )
      • -
      • TQHttp ( const TQString & hostname, Q_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )
      • +
      • TQHttp ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )
      • virtual ~TQHttp ()
      • enum State { Unconnected, HostLookup, Connecting, Sending, Reading, Connected, Closing }
      • enum Error { NoError, UnknownError, HostNotFound, ConnectionRefused, UnexpectedClose, InvalidResponseHeader, WrongContentLength, Aborted }
      • -
      • int setHost ( const TQString & hostname, Q_UINT16 port = 80 )
      • +
      • int setHost ( const TQString & hostname, TQ_UINT16 port = 80 )
      • int get ( const TQString & path, TQIODevice * to = 0 )
      • int post ( const TQString & path, TQIODevice * data, TQIODevice * to = 0 )
      • int post ( const TQString & path, const TQByteArray & data, TQIODevice * to = 0 )
      • @@ -52,8 +52,8 @@ body { background: #ffffff; color: black; }
      • int request ( const TQHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )
      • int request ( const TQHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )
      • int closeConnection ()
      • -
      • Q_ULONG bytesAvailable () const
      • -
      • Q_LONG readBlock ( char * data, Q_ULONG maxlen )
      • +
      • TQ_ULONG bytesAvailable () const
      • +
      • TQ_LONG readBlock ( char * data, TQ_ULONG maxlen )
      • TQByteArray readAll ()
      • int currentId () const
      • TQIODevice * currentSourceDevice () const
      • @@ -266,7 +266,7 @@ Constructs a TQHttp object. Constructs a TQHttp object. The parameters parent and name are passed on to the TQObject constructor. -

        TQHttp::TQHttp ( const TQString & hostname, Q_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 ) +

        TQHttp::TQHttp ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )

        Constructs a TQHttp object. Subsequent requests are done by connecting to the server hostname on port port. The @@ -289,7 +289,7 @@ requests left and the done() signal is emitted (with the TRUE).

        See also clearPendingRequests(). -

        Q_ULONG TQHttp::bytesAvailable () const +

        TQ_ULONG TQHttp::bytesAvailable () const

        Returns the number of bytes that can be read from the response content at the moment. @@ -480,7 +480,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Reads all the bytes from the response content and returns them.

        See also get(), post(), request(), readyRead(), bytesAvailable(), and readBlock(). -

        Q_LONG TQHttp::readBlock ( char * data, Q_ULONG maxlen ) +

        TQ_LONG TQHttp::readBlock ( char * data, TQ_ULONG maxlen )

        Reads maxlen bytes from the response content into data and returns the number of bytes read. Returns -1 if an error occurred. @@ -550,7 +550,7 @@ the processing; otherwise error is FALSE. is available. The header is passed in resp.

        See also get(), post(), head(), request(), and readyRead(). -

        int TQHttp::setHost ( const TQString & hostname, Q_UINT16 port = 80 ) +

        int TQHttp::setHost ( const TQString & hostname, TQ_UINT16 port = 80 )

        Sets the HTTP server that is used for requests to hostname on port port. diff --git a/doc/html/ntqiodevice.html b/doc/html/ntqiodevice.html index 16b77679..8452d22c 100644 --- a/doc/html/ntqiodevice.html +++ b/doc/html/ntqiodevice.html @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }

        List of all member functions.

        Public Members

          -
        • typedef Q_ULONG Offset
        • +
        • typedef TQ_ULONG Offset
        • TQIODevice ()
        • virtual ~TQIODevice ()
        • int flags () const
        • @@ -68,10 +68,10 @@ body { background: #ffffff; color: black; }
        • virtual bool at ( Offset pos )
        • virtual bool atEnd () const
        • bool reset ()
        • -
        • virtual Q_LONG readBlock ( char * data, Q_ULONG maxlen ) = 0
        • -
        • virtual Q_LONG writeBlock ( const char * data, Q_ULONG len ) = 0
        • -
        • virtual Q_LONG readLine ( char * data, Q_ULONG maxlen )
        • -
        • Q_LONG writeBlock ( const TQByteArray & data )
        • +
        • virtual TQ_LONG readBlock ( char * data, TQ_ULONG maxlen ) = 0
        • +
        • virtual TQ_LONG writeBlock ( const char * data, TQ_ULONG len ) = 0
        • +
        • virtual TQ_LONG readLine ( char * data, TQ_ULONG maxlen )
        • +
        • TQ_LONG writeBlock ( const TQByteArray & data )
        • virtual TQByteArray readAll ()
        • virtual int getch () = 0
        • virtual int putch ( int ch ) = 0
        • @@ -414,7 +414,7 @@ binary data. Cannot be combined with IO_Raw. This convenience function returns all of the remaining data in the device. -

          Q_LONG TQIODevice::readBlock ( char * data, Q_ULONG maxlen ) [pure virtual] +

          TQ_LONG TQIODevice::readBlock ( char * data, TQ_ULONG maxlen ) [pure virtual]

          Reads at most maxlen bytes from the I/O device into data and @@ -427,7 +427,7 @@ return 0 if there are no bytes to read.

          Example: distributor/distributor.ui.h.

          Reimplemented in TQSocket and TQSocketDevice. -

          Q_LONG TQIODevice::readLine ( char * data, Q_ULONG maxlen ) [virtual] +

          TQ_LONG TQIODevice::readLine ( char * data, TQ_ULONG maxlen ) [virtual]

          Reads a line of text, (or up to maxlen bytes if a newline isn't encountered) plus a terminating '\0' into data. If there is a @@ -523,7 +523,7 @@ the index position if it is not zero.

          See also getch() and putch().

          Reimplemented in TQFile and TQSocket. -

          Q_LONG TQIODevice::writeBlock ( const char * data, Q_ULONG len ) [pure virtual] +

          TQ_LONG TQIODevice::writeBlock ( const char * data, TQ_ULONG len ) [pure virtual]

          Writes len bytes from data to the I/O device and returns the @@ -534,7 +534,7 @@ number of bytes actually written.

          Example: distributor/distributor.ui.h.

          Reimplemented in TQBuffer, TQSocket, and TQSocketDevice. -

          Q_LONG TQIODevice::writeBlock ( const TQByteArray & data ) +

          TQ_LONG TQIODevice::writeBlock ( const TQByteArray & data )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          This convenience function is the same as calling writeBlock( diff --git a/doc/html/ntqlocale.html b/doc/html/ntqlocale.html index 9f675f2e..9dafb639 100644 --- a/doc/html/ntqlocale.html +++ b/doc/html/ntqlocale.html @@ -53,20 +53,20 @@ string representations in various languages.

        • ushort toUShort ( const TQString & s, bool * ok = 0 ) const
        • int toInt ( const TQString & s, bool * ok = 0 ) const
        • uint toUInt ( const TQString & s, bool * ok = 0 ) const
        • -
        • Q_LONG toLong ( const TQString & s, bool * ok = 0 ) const
        • -
        • Q_ULONG toULong ( const TQString & s, bool * ok = 0 ) const
        • -
        • Q_LLONG toLongLong ( const TQString & s, bool * ok = 0 ) const
        • -
        • Q_ULLONG toULongLong ( const TQString & s, bool * ok = 0 ) const
        • +
        • TQ_LONG toLong ( const TQString & s, bool * ok = 0 ) const
        • +
        • TQ_ULONG toULong ( const TQString & s, bool * ok = 0 ) const
        • +
        • TQ_LLONG toLongLong ( const TQString & s, bool * ok = 0 ) const
        • +
        • TQ_ULLONG toULongLong ( const TQString & s, bool * ok = 0 ) const
        • float toFloat ( const TQString & s, bool * ok = 0 ) const
        • double toDouble ( const TQString & s, bool * ok = 0 ) const
        • TQString toString ( short i ) const
        • TQString toString ( ushort i ) const
        • TQString toString ( int i ) const
        • TQString toString ( uint i ) const
        • -
        • TQString toString ( Q_LONG i ) const
        • -
        • TQString toString ( Q_ULONG i ) const
        • -
        • TQString toString ( Q_LLONG i ) const
        • -
        • TQString toString ( Q_ULLONG i ) const
        • +
        • TQString toString ( TQ_LONG i ) const
        • +
        • TQString toString ( TQ_ULONG i ) const
        • +
        • TQString toString ( TQ_LLONG i ) const
        • +
        • TQString toString ( TQ_ULLONG i ) const
        • TQString toString ( float i, char f = 'g', int prec = 6 ) const
        • TQString toString ( double i, char f = 'g', int prec = 6 ) const
        @@ -718,7 +718,7 @@ success by setting *ok to true.

        This function ignores leading and trailing whitespace.

        See also toString(). -

        Q_LONG TQLocale::toLong ( const TQString & s, bool * ok = 0 ) const +

        TQ_LONG TQLocale::toLong ( const TQString & s, bool * ok = 0 ) const

        Returns the long int represented by the localized string s, or 0 if the conversion failed. @@ -727,7 +727,7 @@ Returns the long int represented by the localized string s, or

        This function ignores leading and trailing whitespace.

        See also toString(). -

        Q_LLONG TQLocale::toLongLong ( const TQString & s, bool * ok = 0 ) const +

        TQ_LLONG TQLocale::toLongLong ( const TQString & s, bool * ok = 0 ) const

        Returns the long long int represented by the localized string s, or 0 if the conversion failed.

        If ok is not 0, reports failure by setting @@ -744,7 +744,7 @@ Returns the short int represented by the localized string s, or

        This function ignores leading and trailing whitespace.

        See also toString(). -

        TQString TQLocale::toString ( Q_LLONG i ) const +

        TQString TQLocale::toString ( TQ_LLONG i ) const

        Returns a localized string representation of i.

        See also toLongLong(). @@ -773,19 +773,19 @@ Returns a localized string representation of i.

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        See also toUInt(). -

        TQString TQLocale::toString ( Q_LONG i ) const +

        TQString TQLocale::toString ( TQ_LONG i ) const

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        See also toLong(). -

        TQString TQLocale::toString ( Q_ULONG i ) const +

        TQString TQLocale::toString ( TQ_ULONG i ) const

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        See also toULong(). -

        TQString TQLocale::toString ( Q_ULLONG i ) const +

        TQString TQLocale::toString ( TQ_ULLONG i ) const

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        See also toULongLong(). @@ -812,7 +812,7 @@ or 0 if the conversion failed.

        This function ignores leading and trailing whitespace.

        See also toString(). -

        Q_ULONG TQLocale::toULong ( const TQString & s, bool * ok = 0 ) const +

        TQ_ULONG TQLocale::toULong ( const TQString & s, bool * ok = 0 ) const

        Returns the unsigned long int represented by the localized string s, or 0 if the conversion failed. @@ -821,7 +821,7 @@ Returns the unsigned long int represented by the localized string

        This function ignores leading and trailing whitespace.

        See also toString(). -

        Q_ULLONG TQLocale::toULongLong ( const TQString & s, bool * ok = 0 ) const +

        TQ_ULLONG TQLocale::toULongLong ( const TQString & s, bool * ok = 0 ) const

        Returns the unsigned long long int represented by the localized string s, or 0 if the conversion failed. diff --git a/doc/html/ntqmemarray.html b/doc/html/ntqmemarray.html index 32f1e251..c20eeb6c 100644 --- a/doc/html/ntqmemarray.html +++ b/doc/html/ntqmemarray.html @@ -84,7 +84,7 @@ body { background: #ffffff; color: black; }

      Related Functions

        -
      • Q_UINT16 qChecksum ( const char * data, uint len )
      • +
      • TQ_UINT16 qChecksum ( const char * data, uint len )
      • TQDataStream & operator<< ( TQDataStream & s, const TQByteArray & a )
      • TQDataStream & operator>> ( TQDataStream & s, TQByteArray & a )
      @@ -542,7 +542,7 @@ to the stream. reference to the stream.

      See also Format of the TQDataStream operators. -

      Q_UINT16 qChecksum ( const char * data, uint len ) +

      TQ_UINT16 qChecksum ( const char * data, uint len )

      Returns the CRC-16 checksum of len bytes starting at data. diff --git a/doc/html/ntqserversocket.html b/doc/html/ntqserversocket.html index 976dc816..ac0707af 100644 --- a/doc/html/ntqserversocket.html +++ b/doc/html/ntqserversocket.html @@ -38,12 +38,12 @@ body { background: #ffffff; color: black; }

      List of all member functions.

      Public Members

        -
      • TQServerSocket ( Q_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )
      • -
      • TQServerSocket ( const TQHostAddress & address, Q_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )
      • +
      • TQServerSocket ( TQ_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )
      • +
      • TQServerSocket ( const TQHostAddress & address, TQ_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )
      • TQServerSocket ( TQObject * parent = 0, const char * name = 0 )
      • virtual ~TQServerSocket ()
      • bool ok () const
      • -
      • Q_UINT16 port () const
      • +
      • TQ_UINT16 port () const
      • int socket () const
      • virtual void setSocket ( int socket )
      • TQHostAddress address () const
      • @@ -72,7 +72,7 @@ TQServerSocket cannot accept or reject connections conditionally.)

        See also TQSocket, TQSocketDevice, TQHostAddress, TQSocketNotifier, and Input/Output and Networking.


        Member Function Documentation

        -

        TQServerSocket::TQServerSocket ( Q_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 ) +

        TQServerSocket::TQServerSocket ( TQ_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )

        Creates a server socket object, that will serve the given port on all the addresses of this host. If port is 0, TQServerSocket @@ -84,7 +84,7 @@ constructor. that you don't accept any connections at all; you should specify a value larger than 0. -

        TQServerSocket::TQServerSocket ( const TQHostAddress & address, Q_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 ) +

        TQServerSocket::TQServerSocket ( const TQHostAddress & address, TQ_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )

        Creates a server socket object, that will serve the given port only on the given address. Use backlog to specify how many @@ -132,7 +132,7 @@ newly accepted connection. Returns TRUE if the construction succeeded; otherwise returns FALSE. -

        Q_UINT16 TQServerSocket::port () const +

        TQ_UINT16 TQServerSocket::port () const

        Returns the port number on which this server socket listens. This is always non-zero; if you specify 0 in the constructor, diff --git a/doc/html/ntqsocket.html b/doc/html/ntqsocket.html index 7faad57d..925fc857 100644 --- a/doc/html/ntqsocket.html +++ b/doc/html/ntqsocket.html @@ -47,7 +47,7 @@ body { background: #ffffff; color: black; }
      • virtual void setSocket ( int socket )
      • TQSocketDevice * socketDevice ()
      • virtual void setSocketDevice ( TQSocketDevice * device )
      • -
      • virtual void connectToHost ( const TQString & host, Q_UINT16 port )
      • +
      • virtual void connectToHost ( const TQString & host, TQ_UINT16 port )
      • TQString peerName () const
      • virtual bool open ( int m )
      • virtual void close ()
      • @@ -56,24 +56,24 @@ body { background: #ffffff; color: black; }
      • virtual Offset at () const
      • virtual bool at ( Offset index )
      • virtual bool atEnd () const
      • -
      • Q_ULONG bytesAvailable () const
      • -
      • Q_ULONG waitForMore ( int msecs, bool * timeout ) const
      • -
      • Q_ULONG waitForMore ( int msecs ) const
      • -
      • Q_ULONG bytesToWrite () const
      • +
      • TQ_ULONG bytesAvailable () const
      • +
      • TQ_ULONG waitForMore ( int msecs, bool * timeout ) const
      • +
      • TQ_ULONG waitForMore ( int msecs ) const
      • +
      • TQ_ULONG bytesToWrite () const
      • void clearPendingData ()
      • -
      • virtual Q_LONG readBlock ( char * data, Q_ULONG maxlen )
      • -
      • virtual Q_LONG writeBlock ( const char * data, Q_ULONG len )
      • +
      • virtual TQ_LONG readBlock ( char * data, TQ_ULONG maxlen )
      • +
      • virtual TQ_LONG writeBlock ( const char * data, TQ_ULONG len )
      • virtual int getch ()
      • virtual int putch ( int ch )
      • virtual int ungetch ( int ch )
      • bool canReadLine () const
      • virtual TQString readLine ()
      • -
      • Q_UINT16 port () const
      • -
      • Q_UINT16 peerPort () const
      • +
      • TQ_UINT16 port () const
      • +
      • TQ_UINT16 peerPort () const
      • TQHostAddress address () const
      • TQHostAddress peerAddress () const
      • -
      • void setReadBufferSize ( Q_ULONG bufSize )
      • -
      • Q_ULONG readBufferSize () const
      • +
      • void setReadBufferSize ( TQ_ULONG bufSize )
      • +
      • TQ_ULONG readBufferSize () const

      Signals

        @@ -197,7 +197,7 @@ index forward means skipping incoming data. Returns TRUE if there is no more data to read; otherwise returns FALSE.

        Reimplemented from TQIODevice. -

        Q_ULONG TQSocket::bytesAvailable () const +

        TQ_ULONG TQSocket::bytesAvailable () const

        Returns the number of incoming bytes that can be read, i.e. the size of the input buffer. Equivalent to size(). @@ -206,7 +206,7 @@ arrived on the socket.

        See also bytesToWrite().

        Example: network/networkprotocol/nntp.cpp. -

        Q_ULONG TQSocket::bytesToWrite () const +

        TQ_ULONG TQSocket::bytesToWrite () const

        Returns the number of bytes that are waiting to be written, i.e. the size of the output buffer. @@ -258,7 +258,7 @@ At this point, the delayedCloseFinished() si

        Examples: network/clientserver/client/client.cpp, network/httpd/httpd.cpp, and network/networkprotocol/nntp.cpp.

        Reimplemented from TQIODevice. -

        void TQSocket::connectToHost ( const TQString & host, Q_UINT16 port ) [virtual] +

        void TQSocket::connectToHost ( const TQString & host, TQ_UINT16 port ) [virtual]

        Attempts to make a connection to host on the specified port and return immediately. @@ -350,7 +350,7 @@ Returns the host name as specified to the connectToHost function. An empty string is returned if none has been set.

        Example: network/mail/smtp.cpp. -

        Q_UINT16 TQSocket::peerPort () const +

        TQ_UINT16 TQSocket::peerPort () const

        Returns the peer's host port number, normally as specified to the connectToHost() function. If none has been set, this function @@ -358,7 +358,7 @@ returns 0.

        Note that TQt always uses native byte order, i.e. 67 is 67 in TQt; there is no need to call htons(). -

        Q_UINT16 TQSocket::port () const +

        TQ_UINT16 TQSocket::port () const

        Returns the host port number of this socket, in native byte order. @@ -369,14 +369,14 @@ Writes the character ch to the output buffer.

        See also getch().

        Reimplemented from TQIODevice. -

        Q_LONG TQSocket::readBlock ( char * data, Q_ULONG maxlen ) [virtual] +

        TQ_LONG TQSocket::readBlock ( char * data, TQ_ULONG maxlen ) [virtual]

        Reads maxlen bytes from the socket into data and returns the number of bytes read. Returns -1 if an error occurred.

        Example: network/networkprotocol/nntp.cpp.

        Reimplemented from TQIODevice. -

        Q_ULONG TQSocket::readBufferSize () const +

        TQ_ULONG TQSocket::readBufferSize () const

        Returns the size of the read buffer.

        See also setReadBufferSize(). @@ -400,7 +400,7 @@ you need to receive more data to be able to process it.

        See also readBlock(), readLine(), and bytesAvailable().

        Examples: network/clientserver/client/client.cpp, network/httpd/httpd.cpp, network/mail/smtp.cpp, and network/networkprotocol/nntp.cpp. -

        void TQSocket::setReadBufferSize ( Q_ULONG bufSize ) +

        void TQSocket::setReadBufferSize ( TQ_ULONG bufSize )

        Sets the size of the TQSocket's internal read buffer to bufSize.

        Usually TQSocket reads all data that is available from the operating @@ -463,7 +463,7 @@ prepends the character ch to the read buffer so that the next read returns this character as the first character of the output.

        Reimplemented from TQIODevice. -

        Q_ULONG TQSocket::waitForMore ( int msecs, bool * timeout ) const +

        TQ_ULONG TQSocket::waitForMore ( int msecs, bool * timeout ) const

        Wait up to msecs milliseconds for more data to be available.

        If msecs is -1 the call will block indefinitely. @@ -477,10 +477,10 @@ closed the connection. driven applications.

        See also bytesAvailable(). -

        Q_ULONG TQSocket::waitForMore ( int msecs ) const +

        TQ_ULONG TQSocket::waitForMore ( int msecs ) const

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        -

        Q_LONG TQSocket::writeBlock ( const char * data, Q_ULONG len ) [virtual] +

        TQ_LONG TQSocket::writeBlock ( const char * data, TQ_ULONG len ) [virtual]

        Writes len bytes to the socket from data and returns the number of bytes written. Returns -1 if an error occurred. diff --git a/doc/html/ntqsocketdevice.html b/doc/html/ntqsocketdevice.html index c3a4afc7..7328da11 100644 --- a/doc/html/ntqsocketdevice.html +++ b/doc/html/ntqsocketdevice.html @@ -57,17 +57,17 @@ body { background: #ffffff; color: black; }
      • virtual void setReceiveBufferSize ( uint size )
      • int sendBufferSize () const
      • virtual void setSendBufferSize ( uint size )
      • -
      • virtual bool connect ( const TQHostAddress & addr, Q_UINT16 port )
      • -
      • virtual bool bind ( const TQHostAddress & address, Q_UINT16 port )
      • +
      • virtual bool connect ( const TQHostAddress & addr, TQ_UINT16 port )
      • +
      • virtual bool bind ( const TQHostAddress & address, TQ_UINT16 port )
      • virtual bool listen ( int backlog )
      • virtual int accept ()
      • -
      • Q_LONG bytesAvailable () const
      • -
      • Q_LONG waitForMore ( int msecs, bool * timeout = 0 ) const
      • -
      • virtual Q_LONG readBlock ( char * data, Q_ULONG maxlen )
      • -
      • virtual Q_LONG writeBlock ( const char * data, Q_ULONG len )
      • -
      • virtual Q_LONG writeBlock ( const char * data, Q_ULONG len, const TQHostAddress & host, Q_UINT16 port )
      • -
      • Q_UINT16 port () const
      • -
      • Q_UINT16 peerPort () const
      • +
      • TQ_LONG bytesAvailable () const
      • +
      • TQ_LONG waitForMore ( int msecs, bool * timeout = 0 ) const
      • +
      • virtual TQ_LONG readBlock ( char * data, TQ_ULONG maxlen )
      • +
      • virtual TQ_LONG writeBlock ( const char * data, TQ_ULONG len )
      • +
      • virtual TQ_LONG writeBlock ( const char * data, TQ_ULONG len, const TQHostAddress & host, TQ_UINT16 port )
      • +
      • TQ_UINT16 port () const
      • +
      • TQ_UINT16 peerPort () const
      • TQHostAddress address () const
      • TQHostAddress peerAddress () const
      • enum Error { NoError, AlreadyBound, Inaccessible, NoResources, InternalError, Bug = InternalError, Impossible, NoFiles, ConnectionRefused, NetworkFailure, UnknownError }
      • @@ -199,7 +199,7 @@ sockets at the same time, and FALSE if this socket claims exclusive ownership.

        See also setAddressReusable(). -

        bool TQSocketDevice::bind ( const TQHostAddress & address, Q_UINT16 port ) [virtual] +

        bool TQSocketDevice::bind ( const TQHostAddress & address, TQ_UINT16 port ) [virtual]

        Assigns a name to an unnamed socket. The name is the host address address and the port number port. If the operation succeeds, @@ -217,7 +217,7 @@ otherwise returns FALSE. ioctlsocket() function is broken.

        See also setBlocking() and isValid(). -

        Q_LONG TQSocketDevice::bytesAvailable () const +

        TQ_LONG TQSocketDevice::bytesAvailable () const

        Returns the number of bytes available for reading, or -1 if an error occurred. @@ -228,7 +228,7 @@ incorrect number. The only safe way to determine the amount of data on the socket is to read it using readBlock(). TQSocket has workarounds to deal with this problem. -

        bool TQSocketDevice::connect ( const TQHostAddress & addr, Q_UINT16 port ) [virtual] +

        bool TQSocketDevice::connect ( const TQHostAddress & addr, TQ_UINT16 port ) [virtual]

        Connects to the IP address and port specified by addr and port. Returns TRUE if it establishes a connection; otherwise returns FALSE. If it returns FALSE, error() explains why. @@ -262,7 +262,7 @@ sensible as soon as a sensible value is available.

        Note that for Datagram sockets, this is the source port of the last packet received. -

        Q_UINT16 TQSocketDevice::peerPort () const +

        TQ_UINT16 TQSocketDevice::peerPort () const

        Returns the port number of the port this socket device is connected to. This may be 0 for a while, but is set to something @@ -270,7 +270,7 @@ sensible as soon as a sensible value is available.

        Note that for Datagram sockets, this is the source port of the last packet received, and that it is in native byte order. -

        Q_UINT16 TQSocketDevice::port () const +

        TQ_UINT16 TQSocketDevice::port () const

        Returns the port number of this socket device. This may be 0 for a while, but is set to something sensible as soon as a sensible @@ -289,7 +289,7 @@ tries to determine the protocol family of the socket; if this fails, it returns Unknown.

        See also Protocol and setSocket(). -

        Q_LONG TQSocketDevice::readBlock ( char * data, Q_ULONG maxlen ) [virtual] +

        TQ_LONG TQSocketDevice::readBlock ( char * data, TQ_ULONG maxlen ) [virtual]

        Reads maxlen bytes from the socket into data and returns the number of bytes read. Returns -1 if an error occurred. Returning 0 @@ -376,7 +376,7 @@ Returns the socket number, or -1 if it is an invalid socket. or TQSocketDevice::Datagram.

        See also socket(). -

        Q_LONG TQSocketDevice::waitForMore ( int msecs, bool * timeout = 0 ) const +

        TQ_LONG TQSocketDevice::waitForMore ( int msecs, bool * timeout = 0 ) const

        Wait up to msecs milliseconds for more data to be available. If msecs is -1 the call will block indefinitely. @@ -391,14 +391,14 @@ closed the connection. driven applications.

        See also bytesAvailable(). -

        Q_LONG TQSocketDevice::writeBlock ( const char * data, Q_ULONG len ) [virtual] +

        TQ_LONG TQSocketDevice::writeBlock ( const char * data, TQ_ULONG len ) [virtual]

        Writes len bytes to the socket from data and returns the number of bytes written. Returns -1 if an error occurred.

        This is used for TQSocketDevice::Stream sockets.

        Reimplemented from TQIODevice. -

        Q_LONG TQSocketDevice::writeBlock ( const char * data, Q_ULONG len, const TQHostAddress & host, Q_UINT16 port ) [virtual] +

        TQ_LONG TQSocketDevice::writeBlock ( const char * data, TQ_ULONG len, const TQHostAddress & host, TQ_UINT16 port ) [virtual]

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        Writes len bytes to the socket from data and returns the diff --git a/doc/html/ntqstring.html b/doc/html/ntqstring.html index e6c5edfe..e15ba9ba 100644 --- a/doc/html/ntqstring.html +++ b/doc/html/ntqstring.html @@ -61,8 +61,8 @@ and the classic C '\0'-terminated char array.

      • TQString copy () const  (obsolete)
      • TQString arg ( long a, int fieldWidth = 0, int base = 10 ) const
      • TQString arg ( ulong a, int fieldWidth = 0, int base = 10 ) const
      • -
      • TQString arg ( Q_LLONG a, int fieldWidth = 0, int base = 10 ) const
      • -
      • TQString arg ( Q_ULLONG a, int fieldWidth = 0, int base = 10 ) const
      • +
      • TQString arg ( TQ_LLONG a, int fieldWidth = 0, int base = 10 ) const
      • +
      • TQString arg ( TQ_ULLONG a, int fieldWidth = 0, int base = 10 ) const
      • TQString arg ( int a, int fieldWidth = 0, int base = 10 ) const
      • TQString arg ( uint a, int fieldWidth = 0, int base = 10 ) const
      • TQString arg ( short a, int fieldWidth = 0, int base = 10 ) const
      • @@ -144,8 +144,8 @@ and the classic C '\0'-terminated char array.
      • uint toUInt ( bool * ok = 0, int base = 10 ) const
      • long toLong ( bool * ok = 0, int base = 10 ) const
      • ulong toULong ( bool * ok = 0, int base = 10 ) const
      • -
      • Q_LLONG toLongLong ( bool * ok = 0, int base = 10 ) const
      • -
      • Q_ULLONG toULongLong ( bool * ok = 0, int base = 10 ) const
      • +
      • TQ_LLONG toLongLong ( bool * ok = 0, int base = 10 ) const
      • +
      • TQ_ULLONG toULongLong ( bool * ok = 0, int base = 10 ) const
      • float toFloat ( bool * ok = 0 ) const
      • double toDouble ( bool * ok = 0 ) const
      • TQString & setNum ( short n, int base = 10 )
      • @@ -154,8 +154,8 @@ and the classic C '\0'-terminated char array.
      • TQString & setNum ( uint n, int base = 10 )
      • TQString & setNum ( long n, int base = 10 )
      • TQString & setNum ( ulong n, int base = 10 )
      • -
      • TQString & setNum ( Q_LLONG n, int base = 10 )
      • -
      • TQString & setNum ( Q_ULLONG n, int base = 10 )
      • +
      • TQString & setNum ( TQ_LLONG n, int base = 10 )
      • +
      • TQString & setNum ( TQ_ULLONG n, int base = 10 )
      • TQString & setNum ( float n, char f = 'g', int prec = 6 )
      • TQString & setNum ( double n, char f = 'g', int prec = 6 )
      • void setExpand ( uint index, TQChar c )  (obsolete)
      • @@ -199,8 +199,8 @@ and the classic C '\0'-terminated char array.
        • TQString number ( long n, int base = 10 )
        • TQString number ( ulong n, int base = 10 )
        • -
        • TQString number ( Q_LLONG n, int base = 10 )
        • -
        • TQString number ( Q_ULLONG n, int base = 10 )
        • +
        • TQString number ( TQ_LLONG n, int base = 10 )
        • +
        • TQString number ( TQ_ULLONG n, int base = 10 )
        • TQString number ( int n, int base = 10 )
        • TQString number ( uint n, int base = 10 )
        • TQString number ( double n, char f = 'g', int prec = 6 )
        • @@ -507,14 +507,14 @@ This is an overloaded member function, provided for convenience. It behaves esse be between 2 and 36. If base is 10, the '%L' syntax can be used to produce localized strings. -

          TQString TQString::arg ( Q_LLONG a, int fieldWidth = 0, int base = 10 ) const +

          TQString TQString::arg ( TQ_LLONG a, int fieldWidth = 0, int base = 10 ) const

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          a is expressed in base base, which is 10 by default and must be between 2 and 36. If base is 10, the '%L' syntax can be used to produce localized strings. -

          TQString TQString::arg ( Q_ULLONG a, int fieldWidth = 0, int base = 10 ) const +

          TQString TQString::arg ( TQ_ULLONG a, int fieldWidth = 0, int base = 10 ) const

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          a is expressed in base base, which is 10 by default and must @@ -1183,12 +1183,12 @@ between 2 and 36. The returned string is in "C" locale. This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          See also setNum(). -

          TQString TQString::number ( Q_LLONG n, int base = 10 ) [static] +

          TQString TQString::number ( TQ_LLONG n, int base = 10 ) [static]

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          See also setNum(). -

          TQString TQString::number ( Q_ULLONG n, int base = 10 ) [static] +

          TQString TQString::number ( TQ_ULLONG n, int base = 10 ) [static]

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          See also setNum(). @@ -1780,7 +1780,7 @@ string, and sets the length of the string to newLen. Any new space allocated contains arbitrary data.

          See also reserve() and truncate(). -

          TQString & TQString::setNum ( Q_LLONG n, int base = 10 ) +

          TQString & TQString::setNum ( TQ_LLONG n, int base = 10 )

          Sets the string to the printed value of n in base base and returns a reference to the string. The returned string is in "C" locale. @@ -1833,7 +1833,7 @@ returns a reference to the string.

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          -

          TQString & TQString::setNum ( Q_ULLONG n, int base = 10 ) +

          TQString & TQString::setNum ( TQ_ULLONG n, int base = 10 )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Sets the string to the printed value of n in base base and @@ -2072,7 +2072,7 @@ FALSE; otherwise *ok is set to TRUE. localized input, see toDouble().

          See also number(). -

          Q_LLONG TQString::toLongLong ( bool * ok = 0, int base = 10 ) const +

          TQ_LLONG TQString::toLongLong ( bool * ok = 0, int base = 10 ) const

          Returns the string converted to a long long using base base, which is 10 by default and must be between 2 and 36 or 0. If base is 0, the base is determined automatically using the @@ -2148,7 +2148,7 @@ FALSE; otherwise *ok is set to TRUE. localized input, see toDouble().

          See also number(). -

          Q_ULLONG TQString::toULongLong ( bool * ok = 0, int base = 10 ) const +

          TQ_ULLONG TQString::toULongLong ( bool * ok = 0, int base = 10 ) const

          Returns the string converted to an unsigned long long using base base, which is 10 by default and must be between 2 and 36 or 0. If base is 0, the base is determined automatically using the diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index 8f517bf7..b07fde3e 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -72,8 +72,8 @@ body { background: #ffffff; color: black; }
        • TQVariant ( const TQMap<TQString, TQVariant> & val )
        • TQVariant ( int val )
        • TQVariant ( uint val )
        • -
        • TQVariant ( Q_LLONG val )
        • -
        • TQVariant ( Q_ULLONG val )
        • +
        • TQVariant ( TQ_LLONG val )
        • +
        • TQVariant ( TQ_ULLONG val )
        • TQVariant ( bool val, int )
        • TQVariant ( double val )
        • TQVariant ( TQSizePolicy val )
        • @@ -114,8 +114,8 @@ body { background: #ffffff; color: black; }
        • const TQPen toPen () const
        • int toInt ( bool * ok = 0 ) const
        • uint toUInt ( bool * ok = 0 ) const
        • -
        • Q_LLONG toLongLong ( bool * ok = 0 ) const
        • -
        • Q_ULLONG toULongLong ( bool * ok = 0 ) const
        • +
        • TQ_LLONG toLongLong ( bool * ok = 0 ) const
        • +
        • TQ_ULLONG toULongLong ( bool * ok = 0 ) const
        • bool toBool () const
        • double toDouble ( bool * ok = 0 ) const
        • const TQValueList<TQVariant> toList () const
        • @@ -155,8 +155,8 @@ body { background: #ffffff; color: black; }
        • TQPen & asPen ()
        • int & asInt ()
        • uint & asUInt ()
        • -
        • Q_LLONG & asLongLong ()
        • -
        • Q_ULLONG & asULongLong ()
        • +
        • TQ_LLONG & asLongLong ()
        • +
        • TQ_ULLONG & asULongLong ()
        • bool & asBool ()
        • double & asDouble ()
        • TQValueList<TQVariant> & asList ()
        • @@ -442,11 +442,11 @@ Constructs a new variant with an integer value, val. Constructs a new variant with an unsigned integer value, val. -

          TQVariant::TQVariant ( Q_LLONG val ) +

          TQVariant::TQVariant ( TQ_LLONG val )

          Constructs a new variant with a long long integer value, val. -

          TQVariant::TQVariant ( Q_ULLONG val ) +

          TQVariant::TQVariant ( TQ_ULLONG val )

          Constructs a new variant with an unsigned long long integer value, val. @@ -598,7 +598,7 @@ over a copy, e.g. -

          Q_LLONG & TQVariant::asLongLong () +

          TQ_LLONG & TQVariant::asLongLong ()

          Returns the variant's value as long long reference. @@ -725,7 +725,7 @@ possible then the variant is set to an invalid time. Returns the variant's value as unsigned int reference. -

          Q_ULLONG & TQVariant::asULongLong () +

          TQ_ULLONG & TQVariant::asULongLong ()

          Returns the variant's value as unsigned long long reference. @@ -989,7 +989,7 @@ over a copy, e.g.

          See also asList(). -

          Q_LLONG TQVariant::toLongLong ( bool * ok = 0 ) const +

          TQ_LLONG TQVariant::toLongLong ( bool * ok = 0 ) const

          Returns the variant as a long long int if the variant can be cast to LongLong; otherwise returns 0. @@ -1109,7 +1109,7 @@ to UInt; otherwise returns 0. converted to an unsigned int; otherwise *ok is set to FALSE.

          See also asUInt() and canCast(). -

          Q_ULLONG TQVariant::toULongLong ( bool * ok = 0 ) const +

          TQ_ULLONG TQVariant::toULongLong ( bool * ok = 0 ) const

          Returns the variant as as an unsigned long long int if the variant can be cast to ULongLong; otherwise returns 0. diff --git a/doc/html/qassistantclient-h.html b/doc/html/qassistantclient-h.html index a703019c..602bdfe5 100644 --- a/doc/html/qassistantclient-h.html +++ b/doc/html/qassistantclient-h.html @@ -107,7 +107,7 @@ private slots: private: TQSocket *socket; TQProcess *proc; - Q_UINT16 port; + TQ_UINT16 port; TQString host, assistantCommand, pageBuffer; bool opened; }; diff --git a/doc/html/qaxbase.html b/doc/html/qaxbase.html index 85cd20a0..517c32ab 100644 --- a/doc/html/qaxbase.html +++ b/doc/html/qaxbase.html @@ -165,9 +165,9 @@ type that is used in the prototype of signals and slots for out-parameters.
    TQDateTime&
    CY -Q_LLONG -Q_LLONG -Q_LLONG& +TQ_LLONG +TQ_LLONG +TQ_LLONG&
    OLE_COLOR TQColor diff --git a/doc/html/qaxserver.html b/doc/html/qaxserver.html index 5b4e1d02..84d939fe 100644 --- a/doc/html/qaxserver.html +++ b/doc/html/qaxserver.html @@ -443,10 +443,10 @@ the TQt data types and the equivalent COM data types. double double
    Q_LLONG +TQ_LLONG CY
    Q_ULLONG +TQ_ULLONG CY
    TQColor diff --git a/doc/html/qbuffer-h.html b/doc/html/qbuffer-h.html index 4b4e9f6f..fd7a0814 100644 --- a/doc/html/qbuffer-h.html +++ b/doc/html/qbuffer-h.html @@ -101,11 +101,11 @@ public: Offset at() const; bool at( Offset ); - Q_LONG readBlock( char *p, Q_ULONG ); - Q_LONG writeBlock( const char *p, Q_ULONG ); - Q_LONG writeBlock( const TQByteArray& data ) + TQ_LONG readBlock( char *p, TQ_ULONG ); + TQ_LONG writeBlock( const char *p, TQ_ULONG ); + TQ_LONG writeBlock( const TQByteArray& data ) { return TQIODevice::writeBlock(data); } - Q_LONG readLine( char *p, Q_ULONG ); + TQ_LONG readLine( char *p, TQ_ULONG ); int getch(); int putch( int ); diff --git a/doc/html/qcstring-h.html b/doc/html/qcstring-h.html index 8d777fb6..c38665f6 100644 --- a/doc/html/qcstring-h.html +++ b/doc/html/qcstring-h.html @@ -134,7 +134,7 @@ Q_EXPORT inline int cstrncmp( const char *str1, const char *str2, uint len ) // tqChecksum: Internet checksum -Q_EXPORT Q_UINT16 tqChecksum( const char *s, uint len ); +Q_EXPORT TQ_UINT16 tqChecksum( const char *s, uint len ); /***************************************************************************** TQByteArray class diff --git a/doc/html/qdatastream-h.html b/doc/html/qdatastream-h.html index 3f3fd641..4043590e 100644 --- a/doc/html/qdatastream-h.html +++ b/doc/html/qdatastream-h.html @@ -108,34 +108,34 @@ public: int version() const; void setVersion( int ); - TQDataStream &operator>>( Q_INT8 &i ); - TQDataStream &operator>>( Q_UINT8 &i ); - TQDataStream &operator>>( Q_INT16 &i ); - TQDataStream &operator>>( Q_UINT16 &i ); - TQDataStream &operator>>( Q_INT32 &i ); - TQDataStream &operator>>( Q_UINT32 &i ); - TQDataStream &operator>>( Q_INT64 &i ); - TQDataStream &operator>>( Q_UINT64 &i ); + TQDataStream &operator>>( TQ_INT8 &i ); + TQDataStream &operator>>( TQ_UINT8 &i ); + TQDataStream &operator>>( TQ_INT16 &i ); + TQDataStream &operator>>( TQ_UINT16 &i ); + TQDataStream &operator>>( TQ_INT32 &i ); + TQDataStream &operator>>( TQ_UINT32 &i ); + TQDataStream &operator>>( TQ_INT64 &i ); + TQDataStream &operator>>( TQ_UINT64 &i ); #if !defined(Q_OS_WIN64) - TQDataStream &operator>>( Q_LONG &i ); - TQDataStream &operator>>( Q_ULONG &i ); + TQDataStream &operator>>( TQ_LONG &i ); + TQDataStream &operator>>( TQ_ULONG &i ); #endif TQDataStream &operator>>( float &f ); TQDataStream &operator>>( double &f ); TQDataStream &operator>>( char *&str ); - TQDataStream &operator<<( Q_INT8 i ); - TQDataStream &operator<<( Q_UINT8 i ); - TQDataStream &operator<<( Q_INT16 i ); - TQDataStream &operator<<( Q_UINT16 i ); - TQDataStream &operator<<( Q_INT32 i ); - TQDataStream &operator<<( Q_UINT32 i ); - TQDataStream &operator<<( Q_INT64 i ); - TQDataStream &operator<<( Q_UINT64 i ); + TQDataStream &operator<<( TQ_INT8 i ); + TQDataStream &operator<<( TQ_UINT8 i ); + TQDataStream &operator<<( TQ_INT16 i ); + TQDataStream &operator<<( TQ_UINT16 i ); + TQDataStream &operator<<( TQ_INT32 i ); + TQDataStream &operator<<( TQ_UINT32 i ); + TQDataStream &operator<<( TQ_INT64 i ); + TQDataStream &operator<<( TQ_UINT64 i ); #if !defined(Q_OS_WIN64) - TQDataStream &operator<<( Q_LONG i ); - TQDataStream &operator<<( Q_ULONG i ); + TQDataStream &operator<<( TQ_LONG i ); + TQDataStream &operator<<( TQ_ULONG i ); #endif TQDataStream &operator<<( float f ); TQDataStream &operator<<( double f ); @@ -191,38 +191,38 @@ inline int TQDataStream::version() const inline void TQDataStream::setVersion( int v ) { ver = v; } -inline TQDataStream &TQDataStream::operator>>( Q_UINT8 &i ) -{ return *this >> (Q_INT8&)i; } +inline TQDataStream &TQDataStream::operator>>( TQ_UINT8 &i ) +{ return *this >> (TQ_INT8&)i; } -inline TQDataStream &TQDataStream::operator>>( Q_UINT16 &i ) -{ return *this >> (Q_INT16&)i; } +inline TQDataStream &TQDataStream::operator>>( TQ_UINT16 &i ) +{ return *this >> (TQ_INT16&)i; } -inline TQDataStream &TQDataStream::operator>>( Q_UINT32 &i ) -{ return *this >> (Q_INT32&)i; } +inline TQDataStream &TQDataStream::operator>>( TQ_UINT32 &i ) +{ return *this >> (TQ_INT32&)i; } -inline TQDataStream &TQDataStream::operator>>( Q_UINT64 &i ) -{ return *this >> (Q_INT64&)i; } +inline TQDataStream &TQDataStream::operator>>( TQ_UINT64 &i ) +{ return *this >> (TQ_INT64&)i; } #if !defined(Q_OS_WIN64) -inline TQDataStream &TQDataStream::operator>>( Q_ULONG &i ) -{ return *this >> (Q_LONG&)i; } +inline TQDataStream &TQDataStream::operator>>( TQ_ULONG &i ) +{ return *this >> (TQ_LONG&)i; } #endif -inline TQDataStream &TQDataStream::operator<<( Q_UINT8 i ) -{ return *this << (Q_INT8)i; } +inline TQDataStream &TQDataStream::operator<<( TQ_UINT8 i ) +{ return *this << (TQ_INT8)i; } -inline TQDataStream &TQDataStream::operator<<( Q_UINT16 i ) -{ return *this << (Q_INT16)i; } +inline TQDataStream &TQDataStream::operator<<( TQ_UINT16 i ) +{ return *this << (TQ_INT16)i; } -inline TQDataStream &TQDataStream::operator<<( Q_UINT32 i ) -{ return *this << (Q_INT32)i; } +inline TQDataStream &TQDataStream::operator<<( TQ_UINT32 i ) +{ return *this << (TQ_INT32)i; } -inline TQDataStream &TQDataStream::operator<<( Q_UINT64 i ) -{ return *this << (Q_INT64)i; } +inline TQDataStream &TQDataStream::operator<<( TQ_UINT64 i ) +{ return *this << (TQ_INT64)i; } #if !defined(Q_OS_WIN64) -inline TQDataStream &TQDataStream::operator<<( Q_ULONG i ) -{ return *this << (Q_LONG)i; } +inline TQDataStream &TQDataStream::operator<<( TQ_ULONG i ) +{ return *this << (TQ_LONG)i; } #endif #endif // QT_NO_DATASTREAM diff --git a/doc/html/qdns-h.html b/doc/html/qdns-h.html index 9df9446b..4110a238 100644 --- a/doc/html/qdns-h.html +++ b/doc/html/qdns-h.html @@ -129,22 +129,22 @@ public: class TQM_EXPORT_DNS MailServer { public: - MailServer( const TQString & n=TQString::null, Q_UINT16 p=0 ) + MailServer( const TQString & n=TQString::null, TQ_UINT16 p=0 ) :name(n), priority(p) {} TQString name; - Q_UINT16 priority; + TQ_UINT16 priority; Q_DUMMY_COMPARISON_OPERATOR(MailServer) }; TQValueList<MailServer> mailServers() const; class TQM_EXPORT_DNS Server { public: - Server(const TQString & n=TQString::null, Q_UINT16 p=0, Q_UINT16 w=0, Q_UINT16 po=0 ) + Server(const TQString & n=TQString::null, TQ_UINT16 p=0, TQ_UINT16 w=0, TQ_UINT16 po=0 ) : name(n), priority(p), weight(w), port(po) {} TQString name; - Q_UINT16 priority; - Q_UINT16 weight; - Q_UINT16 port; + TQ_UINT16 priority; + TQ_UINT16 weight; + TQ_UINT16 port; Q_DUMMY_COMPARISON_OPERATOR(Server) }; TQValueList<Server> servers() const; diff --git a/doc/html/qfile-h.html b/doc/html/qfile-h.html index 5a45c947..763c4c5e 100644 --- a/doc/html/qfile-h.html +++ b/doc/html/qfile-h.html @@ -120,12 +120,12 @@ public: bool at( Offset ); bool atEnd() const; - Q_LONG readBlock( char *data, Q_ULONG len ); - Q_LONG writeBlock( const char *data, Q_ULONG len ); - Q_LONG writeBlock( const TQByteArray& data ) + TQ_LONG readBlock( char *data, TQ_ULONG len ); + TQ_LONG writeBlock( const char *data, TQ_ULONG len ); + TQ_LONG writeBlock( const TQByteArray& data ) { return TQIODevice::writeBlock(data); } - Q_LONG readLine( char *data, Q_ULONG maxlen ); - Q_LONG readLine( TQString &, Q_ULONG maxlen ); + TQ_LONG readLine( char *data, TQ_ULONG maxlen ); + TQ_LONG readLine( TQString &, TQ_ULONG maxlen ); int getch(); int putch( int ); diff --git a/doc/html/qfontmanager_qws-h.html b/doc/html/qfontmanager_qws-h.html index 8c8da752..1ea95d14 100644 --- a/doc/html/qfontmanager_qws-h.html +++ b/doc/html/qfontmanager_qws-h.html @@ -91,16 +91,16 @@ class TQFontDef; class TQ_PACKED TQGlyphMetrics { public: - Q_UINT8 linestep; - Q_UINT8 width; - Q_UINT8 height; - Q_UINT8 flags; + TQ_UINT8 linestep; + TQ_UINT8 width; + TQ_UINT8 height; + TQ_UINT8 flags; - Q_INT8 bearingx; // Difference from pen position to glyph's left bbox - Q_UINT8 advance; // Difference between pen positions - Q_INT8 bearingy; // Used for putting characters on baseline + TQ_INT8 bearingx; // Difference from pen position to glyph's left bbox + TQ_UINT8 advance; // Difference between pen positions + TQ_INT8 bearingy; // Used for putting characters on baseline - Q_INT8 reserved; // Do not use + TQ_INT8 reserved; // Do not use // Flags: // RendererOwnsData - the renderer is responsible for glyph data diff --git a/doc/html/qftp-h.html b/doc/html/qftp-h.html index d38aeb58..21d9a29b 100644 --- a/doc/html/qftp-h.html +++ b/doc/html/qftp-h.html @@ -138,7 +138,7 @@ public: RawCommand }; - int connectToHost( const TQString &host, Q_UINT16 port=21 ); + int connectToHost( const TQString &host, TQ_UINT16 port=21 ); int login( const TQString &user=TQString::null, const TQString &password=TQString::null ); int close(); int list( const TQString &dir=TQString::null ); @@ -153,8 +153,8 @@ public: int rawCommand( const TQString &command ); - Q_ULONG bytesAvailable() const; - Q_LONG readBlock( char *data, Q_ULONG maxlen ); + TQ_ULONG bytesAvailable() const; + TQ_LONG readBlock( char *data, TQ_ULONG maxlen ); TQByteArray readAll(); int currentId() const; diff --git a/doc/html/qgl-h.html b/doc/html/qgl-h.html index 048af28b..3309d1f1 100644 --- a/doc/html/qgl-h.html +++ b/doc/html/qgl-h.html @@ -271,7 +271,7 @@ protected: void* vi; void* cx; #if defined(Q_WS_X11) - Q_UINT32 gpm; + TQ_UINT32 gpm; #endif #endif TQGLFormat glFormat; diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html index 14ea0fe5..9f399867 100644 --- a/doc/html/qglobal-h.html +++ b/doc/html/qglobal-h.html @@ -744,40 +744,40 @@ typedef int INT32; // 32 bit signed typedef unsigned int UINT32; // 32 bit unsigned #endif -typedef signed char Q_INT8; // 8 bit signed -typedef unsigned char Q_UINT8; // 8 bit unsigned -typedef short Q_INT16; // 16 bit signed -typedef unsigned short Q_UINT16; // 16 bit unsigned -typedef int Q_INT32; // 32 bit signed -typedef unsigned int Q_UINT32; // 32 bit unsigned +typedef signed char TQ_INT8; // 8 bit signed +typedef unsigned char TQ_UINT8; // 8 bit unsigned +typedef short TQ_INT16; // 16 bit signed +typedef unsigned short TQ_UINT16; // 16 bit unsigned +typedef int TQ_INT32; // 32 bit signed +typedef unsigned int TQ_UINT32; // 32 bit unsigned #if defined(Q_OS_WIN64) -typedef __int64 Q_LONG; // word up to 64 bit signed -typedef unsigned __int64 Q_ULONG; // word up to 64 bit unsigned +typedef __int64 TQ_LONG; // word up to 64 bit signed +typedef unsigned __int64 TQ_ULONG; // word up to 64 bit unsigned #else -typedef long Q_LONG; // word up to 64 bit signed -typedef unsigned long Q_ULONG; // word up to 64 bit unsigned +typedef long TQ_LONG; // word up to 64 bit signed +typedef unsigned long TQ_ULONG; // word up to 64 bit unsigned #endif #if defined(Q_OS_WIN) && !defined(Q_CC_GNU) # define TQ_INT64_C(c) c ## i64 // signed 64 bit constant # define TQ_UINT64_C(c) c ## ui64 // unsigned 64 bit constant -typedef __int64 Q_INT64; // 64 bit signed -typedef unsigned __int64 Q_UINT64; // 64 bit unsigned +typedef __int64 TQ_INT64; // 64 bit signed +typedef unsigned __int64 TQ_UINT64; // 64 bit unsigned #else # define TQ_INT64_C(c) c ## LL // signed 64 bit constant # define TQ_UINT64_C(c) c ## ULL // unsigned 64 bit constant -typedef long long Q_INT64; // 64 bit signed -typedef unsigned long long Q_UINT64; // 64 bit unsigned +typedef long long TQ_INT64; // 64 bit signed +typedef unsigned long long TQ_UINT64; // 64 bit unsigned #endif -typedef Q_INT64 Q_LLONG; // signed long long -typedef Q_UINT64 Q_ULLONG; // unsigned long long +typedef TQ_INT64 TQ_LLONG; // signed long long +typedef TQ_UINT64 TQ_ULLONG; // unsigned long long #if defined(Q_OS_MACX) && !defined(QT_LARGEFILE_SUPPORT) # define QT_LARGEFILE_SUPPORT 64 #endif #if defined(QT_LARGEFILE_SUPPORT) - typedef Q_ULLONG TQtOffset; + typedef TQ_ULLONG TQtOffset; #else - typedef Q_ULONG TQtOffset; + typedef TQ_ULONG TQtOffset; #endif diff --git a/doc/html/qhostaddress-h.html b/doc/html/qhostaddress-h.html index f5fa62dc..e5b8c31e 100644 --- a/doc/html/qhostaddress-h.html +++ b/doc/html/qhostaddress-h.html @@ -91,15 +91,15 @@ body { background: #ffffff; color: black; } class TQHostAddressPrivate; typedef struct { - Q_UINT8 c[16]; + TQ_UINT8 c[16]; } Q_IPV6ADDR; class TQM_EXPORT_NETWORK TQHostAddress { public: TQHostAddress(); - TQHostAddress( Q_UINT32 ip4Addr ); - TQHostAddress( Q_UINT8 *ip6Addr ); + TQHostAddress( TQ_UINT32 ip4Addr ); + TQHostAddress( TQ_UINT8 *ip6Addr ); TQHostAddress(const Q_IPV6ADDR &ip6Addr); #ifndef QT_NO_STRINGLIST TQHostAddress(const TQString &address); @@ -109,16 +109,16 @@ public: TQHostAddress & operator=( const TQHostAddress & ); - void setAddress( Q_UINT32 ip4Addr ); - void setAddress( Q_UINT8 *ip6Addr ); + void setAddress( TQ_UINT32 ip4Addr ); + void setAddress( TQ_UINT8 *ip6Addr ); #ifndef QT_NO_STRINGLIST bool setAddress( const TQString& address ); #endif bool isIp4Addr() const; // obsolete - Q_UINT32 ip4Addr() const; // obsolete + TQ_UINT32 ip4Addr() const; // obsolete bool isIPv4Address() const; - Q_UINT32 toIPv4Address() const; + TQ_UINT32 toIPv4Address() const; bool isIPv6Address() const; Q_IPV6ADDR toIPv6Address() const; diff --git a/doc/html/qhttp-h.html b/doc/html/qhttp-h.html index e05fe103..62acd87b 100644 --- a/doc/html/qhttp-h.html +++ b/doc/html/qhttp-h.html @@ -209,7 +209,7 @@ class TQM_EXPORT_HTTP TQHttp : public TQNetworkProtocol public: TQHttp(); TQHttp( TQObject* parent, const char* name = 0 ); // ### TQt 4.0: make parent=0 and get rid of the TQHttp() constructor - TQHttp( const TQString &hostname, Q_UINT16 port=80, TQObject* parent=0, const char* name = 0 ); + TQHttp( const TQString &hostname, TQ_UINT16 port=80, TQObject* parent=0, const char* name = 0 ); virtual ~TQHttp(); int supportedOperations() const; @@ -226,7 +226,7 @@ public: Aborted }; - int setHost(const TQString &hostname, Q_UINT16 port=80 ); + int setHost(const TQString &hostname, TQ_UINT16 port=80 ); int get( const TQString& path, TQIODevice* to=0 ); int post( const TQString& path, TQIODevice* data, TQIODevice* to=0 ); @@ -237,8 +237,8 @@ public: int closeConnection(); - Q_ULONG bytesAvailable() const; - Q_LONG readBlock( char *data, Q_ULONG maxlen ); + TQ_ULONG bytesAvailable() const; + TQ_LONG readBlock( char *data, TQ_ULONG maxlen ); TQByteArray readAll(); int currentId() const; diff --git a/doc/html/qiodevice-h.html b/doc/html/qiodevice-h.html index dfe36a22..4cad06b6 100644 --- a/doc/html/qiodevice-h.html +++ b/doc/html/qiodevice-h.html @@ -128,9 +128,9 @@ class Q_EXPORT TQIODevice { public: #if defined(QT_ABI_QT4) - typedef Q_LLONG Offset; + typedef TQ_LLONG Offset; #else - typedef Q_ULONG Offset; + typedef TQ_ULONG Offset; #endif TQIODevice(); @@ -167,10 +167,10 @@ public: virtual bool atEnd() const; bool reset() { return at(0); } - virtual Q_LONG readBlock( char *data, Q_ULONG maxlen ) = 0; - virtual Q_LONG writeBlock( const char *data, Q_ULONG len ) = 0; - virtual Q_LONG readLine( char *data, Q_ULONG maxlen ); - Q_LONG writeBlock( const TQByteArray& data ); + virtual TQ_LONG readBlock( char *data, TQ_ULONG maxlen ) = 0; + virtual TQ_LONG writeBlock( const char *data, TQ_ULONG len ) = 0; + virtual TQ_LONG readLine( char *data, TQ_ULONG maxlen ); + TQ_LONG writeBlock( const TQByteArray& data ); virtual TQByteArray readAll(); virtual int getch() = 0; diff --git a/doc/html/qlocale-h.html b/doc/html/qlocale-h.html index 8d36eff6..1df5e3a2 100644 --- a/doc/html/qlocale-h.html +++ b/doc/html/qlocale-h.html @@ -488,29 +488,29 @@ public: ushort toUShort(const TQString &s, bool *ok = 0) const; int toInt(const TQString &s, bool *ok = 0) const; uint toUInt(const TQString &s, bool *ok = 0) const; - Q_LONG toLong(const TQString &s, bool *ok = 0) const; - Q_ULONG toULong(const TQString &s, bool *ok = 0) const; - Q_LLONG toLongLong(const TQString &s, bool *ok = 0) const; - Q_ULLONG toULongLong(const TQString &s, bool *ok = 0) const; + TQ_LONG toLong(const TQString &s, bool *ok = 0) const; + TQ_ULONG toULong(const TQString &s, bool *ok = 0) const; + TQ_LLONG toLongLong(const TQString &s, bool *ok = 0) const; + TQ_ULLONG toULongLong(const TQString &s, bool *ok = 0) const; float toFloat(const TQString &s, bool *ok = 0) const; double toDouble(const TQString &s, bool *ok = 0) const; TQString toString(short i) const - { return toString((Q_LLONG)i); } + { return toString((TQ_LLONG)i); } TQString toString(ushort i) const - { return toString((Q_ULLONG)i); } + { return toString((TQ_ULLONG)i); } TQString toString(int i) const - { return toString((Q_LLONG)i); } + { return toString((TQ_LLONG)i); } TQString toString(uint i) const - { return toString((Q_ULLONG)i); } + { return toString((TQ_ULLONG)i); } #if !defined(Q_OS_WIN64) - TQString toString(Q_LONG i) const - { return toString((Q_LLONG)i); } - TQString toString(Q_ULONG i) const - { return toString((Q_ULLONG)i); } + TQString toString(TQ_LONG i) const + { return toString((TQ_LLONG)i); } + TQString toString(TQ_ULONG i) const + { return toString((TQ_ULLONG)i); } #endif - TQString toString(Q_LLONG i) const; - TQString toString(Q_ULLONG i) const; + TQString toString(TQ_LLONG i) const; + TQString toString(TQ_ULLONG i) const; TQString toString(float i, char f = 'g', int prec = 6) const { return toString((double) i, f, prec); } TQString toString(double i, char f = 'g', int prec = 6) const; diff --git a/doc/html/qmap-h.html b/doc/html/qmap-h.html index d6e5319a..aa67795e 100644 --- a/doc/html/qmap-h.html +++ b/doc/html/qmap-h.html @@ -884,9 +884,9 @@ Q_INLINE_TEMPLATES void TQMap<Key,T>::detachInternal() template<class Key, class T> Q_INLINE_TEMPLATES TQDataStream& operator>>( TQDataStream& s, TQMap<Key,T>& m ) { m.clear(); - Q_UINT32 c; + TQ_UINT32 c; s >> c; - for( Q_UINT32 i = 0; i < c; ++i ) { + for( TQ_UINT32 i = 0; i < c; ++i ) { Key k; T t; s >> k >> t; m.insert( k, t ); @@ -899,7 +899,7 @@ Q_INLINE_TEMPLATES TQDataStream& operator>>( TQDataStream& s, TQMa template<class Key, class T> Q_INLINE_TEMPLATES TQDataStream& operator<<( TQDataStream& s, const TQMap<Key,T>& m ) { - s << (Q_UINT32)m.size(); + s << (TQ_UINT32)m.size(); TQMapConstIterator<Key,T> it = m.begin(); for( ; it != m.end(); ++it ) s << it.key() << it.data(); diff --git a/doc/html/qpen-h.html b/doc/html/qpen-h.html index 9081d708..534c7bcd 100644 --- a/doc/html/qpen-h.html +++ b/doc/html/qpen-h.html @@ -122,7 +122,7 @@ private: PenStyle style; uint width; TQColor color; - Q_UINT16 linest; + TQ_UINT16 linest; } *data; }; diff --git a/doc/html/qprocess-h.html b/doc/html/qprocess-h.html index d95cfd31..a49803ef 100644 --- a/doc/html/qprocess-h.html +++ b/doc/html/qprocess-h.html @@ -135,7 +135,7 @@ public: #if defined(Q_OS_WIN32) typedef void* PID; #else - typedef Q_LONG PID; + typedef TQ_LONG PID; #endif PID processIdentifier(); diff --git a/doc/html/qserversocket-h.html b/doc/html/qserversocket-h.html index 0d676013..0d02f322 100644 --- a/doc/html/qserversocket-h.html +++ b/doc/html/qserversocket-h.html @@ -97,16 +97,16 @@ class TQM_EXPORT_NETWORK TQServerSocket : public TQObject { TQ_OBJECT public: - TQServerSocket( Q_UINT16 port, int backlog = 1, + TQServerSocket( TQ_UINT16 port, int backlog = 1, TQObject *parent=0, const char *name=0 ); - TQServerSocket( const TQHostAddress & address, Q_UINT16 port, int backlog = 1, + TQServerSocket( const TQHostAddress & address, TQ_UINT16 port, int backlog = 1, TQObject *parent=0, const char *name=0 ); TQServerSocket( TQObject *parent=0, const char *name=0 ); virtual ~TQServerSocket(); bool ok() const; - Q_UINT16 port() const ; + TQ_UINT16 port() const ; int socket() const ; virtual void setSocket( int socket ); @@ -123,7 +123,7 @@ private slots: private: TQServerSocketPrivate *d; - void init( const TQHostAddress & address, Q_UINT16 port, int backlog ); + void init( const TQHostAddress & address, TQ_UINT16 port, int backlog ); }; #endif // QT_NO_NETWORK diff --git a/doc/html/qsizepolicy-h.html b/doc/html/qsizepolicy-h.html index 6298cde4..363df216 100644 --- a/doc/html/qsizepolicy-h.html +++ b/doc/html/qsizepolicy-h.html @@ -109,7 +109,7 @@ public: TQSizePolicy() : data( 0 ) { } TQSizePolicy( SizeType hor, SizeType ver, bool hfw = FALSE ) - : data( hor | (ver<<HSize) | (hfw ? (Q_UINT32)(1<<2*HSize) : 0) ) { } + : data( hor | (ver<<HSize) | (hfw ? (TQ_UINT32)(1<<2*HSize) : 0) ) { } TQSizePolicy( SizeType hor, SizeType ver, uchar hors, uchar vers, bool hfw = FALSE ); SizeType horData() const { return (SizeType)( data & HMask ); } @@ -126,12 +126,12 @@ public: (int)(horData() & ExpMask ? Horizontally : 0) ); } - void setHorData( SizeType d ) { data = (Q_UINT32)(data & ~HMask) | d; } - void setVerData( SizeType d ) { data = (Q_UINT32)(data & ~(HMask << HSize)) | + void setHorData( SizeType d ) { data = (TQ_UINT32)(data & ~HMask) | d; } + void setVerData( SizeType d ) { data = (TQ_UINT32)(data & ~(HMask << HSize)) | (d << HSize); } - void setHeightForWidth( bool b ) { data = b ? (Q_UINT32)( data | ( 1 << 2*HSize ) ) - : (Q_UINT32)( data & ~( 1 << 2*HSize ) ); } + void setHeightForWidth( bool b ) { data = b ? (TQ_UINT32)( data | ( 1 << 2*HSize ) ) + : (TQ_UINT32)( data & ~( 1 << 2*HSize ) ); } bool hasHeightForWidth() const { return data & ( 1 << 2*HSize ); } bool operator==( const TQSizePolicy& s ) const { return data == s.data; } @@ -145,13 +145,13 @@ public: inline void transpose(); private: - TQSizePolicy( int i ) : data( (Q_UINT32)i ) { } + TQSizePolicy( int i ) : data( (TQ_UINT32)i ) { } - Q_UINT32 data; + TQ_UINT32 data; }; inline TQSizePolicy::TQSizePolicy( SizeType hor, SizeType ver, uchar hors, uchar vers, bool hfw ) - : data( hor | (ver<<HSize) | (hfw ? (Q_UINT32)(1<<2*HSize) : 0) ) { + : data( hor | (ver<<HSize) | (hfw ? (TQ_UINT32)(1<<2*HSize) : 0) ) { setHorStretch( hors ); setVerStretch( vers ); } diff --git a/doc/html/qsocket-h.html b/doc/html/qsocket-h.html index 63d83726..8c38e4b3 100644 --- a/doc/html/qsocket-h.html +++ b/doc/html/qsocket-h.html @@ -119,7 +119,7 @@ public: virtual void setSocketDevice( TQSocketDevice * ); #ifndef QT_NO_DNS - virtual void connectToHost( const TQString &host, Q_UINT16 port ); + virtual void connectToHost( const TQString &host, TQ_UINT16 port ); #endif TQString peerName() const; @@ -132,15 +132,15 @@ public: bool at( Offset ); bool atEnd() const; - Q_ULONG bytesAvailable() const; // ### TQIODevice::Offset instead? - Q_ULONG waitForMore( int msecs, bool *timeout ) const; - Q_ULONG waitForMore( int msecs ) const; // ### TQt 4.0: merge the two overloads - Q_ULONG bytesToWrite() const; + TQ_ULONG bytesAvailable() const; // ### TQIODevice::Offset instead? + TQ_ULONG waitForMore( int msecs, bool *timeout ) const; + TQ_ULONG waitForMore( int msecs ) const; // ### TQt 4.0: merge the two overloads + TQ_ULONG bytesToWrite() const; void clearPendingData(); - Q_LONG readBlock( char *data, Q_ULONG maxlen ); - Q_LONG writeBlock( const char *data, Q_ULONG len ); - Q_LONG readLine( char *data, Q_ULONG maxlen ); + TQ_LONG readBlock( char *data, TQ_ULONG maxlen ); + TQ_LONG writeBlock( const char *data, TQ_ULONG len ); + TQ_LONG readLine( char *data, TQ_ULONG maxlen ); int getch(); int putch( int ); @@ -149,13 +149,13 @@ public: bool canReadLine() const; virtual TQString readLine(); - Q_UINT16 port() const; - Q_UINT16 peerPort() const; + TQ_UINT16 port() const; + TQ_UINT16 peerPort() const; TQHostAddress address() const; TQHostAddress peerAddress() const; - void setReadBufferSize( Q_ULONG ); - Q_ULONG readBufferSize() const; + void setReadBufferSize( TQ_ULONG ); + TQ_ULONG readBufferSize() const; signals: void hostFound(); @@ -177,7 +177,7 @@ private slots: private: TQSocketPrivate *d; - bool consumeWriteBuf( Q_ULONG nbytes ); + bool consumeWriteBuf( TQ_ULONG nbytes ); void tryConnection(); void setSocketIntern( int socket ); diff --git a/doc/html/qsocketdevice-h.html b/doc/html/qsocketdevice-h.html index 9af059ab..ec25468a 100644 --- a/doc/html/qsocketdevice-h.html +++ b/doc/html/qsocketdevice-h.html @@ -131,25 +131,25 @@ public: int sendBufferSize() const; virtual void setSendBufferSize( uint ); - virtual bool connect( const TQHostAddress &, Q_UINT16 ); + virtual bool connect( const TQHostAddress &, TQ_UINT16 ); - virtual bool bind( const TQHostAddress &, Q_UINT16 ); + virtual bool bind( const TQHostAddress &, TQ_UINT16 ); virtual bool listen( int backlog ); virtual int accept(); - Q_LONG bytesAvailable() const; - Q_LONG waitForMore( int msecs, bool *timeout=0 ) const; - Q_LONG readBlock( char *data, Q_ULONG maxlen ); - Q_LONG writeBlock( const char *data, Q_ULONG len ); - virtual Q_LONG writeBlock( const char *data, Q_ULONG len, - const TQHostAddress & host, Q_UINT16 port ); + TQ_LONG bytesAvailable() const; + TQ_LONG waitForMore( int msecs, bool *timeout=0 ) const; + TQ_LONG readBlock( char *data, TQ_ULONG maxlen ); + TQ_LONG writeBlock( const char *data, TQ_ULONG len ); + virtual TQ_LONG writeBlock( const char *data, TQ_ULONG len, + const TQHostAddress & host, TQ_UINT16 port ); int getch(); int putch( int ); int ungetch(int); - Q_UINT16 port() const; - Q_UINT16 peerPort() const; + TQ_UINT16 port() const; + TQ_UINT16 peerPort() const; TQHostAddress address() const; TQHostAddress peerAddress() const; @@ -174,9 +174,9 @@ protected: private: int fd; Type t; - Q_UINT16 p; + TQ_UINT16 p; TQHostAddress a; - Q_UINT16 pp; + TQ_UINT16 pp; TQHostAddress pa; TQSocketDevice::Error e; TQSocketDevicePrivate * d; diff --git a/doc/html/qstring-h.html b/doc/html/qstring-h.html index dfa12ef0..2776b250 100644 --- a/doc/html/qstring-h.html +++ b/doc/html/qstring-h.html @@ -471,8 +471,8 @@ public: TQString arg( long a, int fieldWidth = 0, int base = 10 ) const; TQString arg( ulong a, int fieldWidth = 0, int base = 10 ) const; - TQString arg( Q_LLONG a, int fieldwidth=0, int base=10 ) const; - TQString arg( Q_ULLONG a, int fieldwidth=0, int base=10 ) const; + TQString arg( TQ_LLONG a, int fieldwidth=0, int base=10 ) const; + TQString arg( TQ_ULLONG a, int fieldwidth=0, int base=10 ) const; TQString arg( int a, int fieldWidth = 0, int base = 10 ) const; TQString arg( uint a, int fieldWidth = 0, int base = 10 ) const; TQString arg( short a, int fieldWidth = 0, int base = 10 ) const; @@ -636,8 +636,8 @@ public: uint toUInt( bool *ok=0, int base=10 ) const; long toLong( bool *ok=0, int base=10 ) const; ulong toULong( bool *ok=0, int base=10 ) const; - Q_LLONG toLongLong( bool *ok=0, int base=10 ) const; - Q_ULLONG toULongLong( bool *ok=0, int base=10 ) const; + TQ_LLONG toLongLong( bool *ok=0, int base=10 ) const; + TQ_ULLONG toULongLong( bool *ok=0, int base=10 ) const; float toFloat( bool *ok=0 ) const; double toDouble( bool *ok=0 ) const; @@ -647,15 +647,15 @@ public: TQString &setNum( uint, int base=10 ); TQString &setNum( long, int base=10 ); TQString &setNum( ulong, int base=10 ); - TQString &setNum( Q_LLONG, int base=10 ); - TQString &setNum( Q_ULLONG, int base=10 ); + TQString &setNum( TQ_LLONG, int base=10 ); + TQString &setNum( TQ_ULLONG, int base=10 ); TQString &setNum( float, char f='g', int prec=6 ); TQString &setNum( double, char f='g', int prec=6 ); static TQString number( long, int base=10 ); static TQString number( ulong, int base=10); - static TQString number( Q_LLONG, int base=10 ); - static TQString number( Q_ULLONG, int base=10); + static TQString number( TQ_LLONG, int base=10 ); + static TQString number( TQ_ULLONG, int base=10); static TQString number( int, int base=10 ); static TQString number( uint, int base=10); static TQString number( double, char f='g', int prec=6 ); @@ -991,31 +991,31 @@ inline TQString &TQString::prepend( const std::string& s ) #endif inline TQString &TQString::setNum( short n, int base ) -{ return setNum((Q_LLONG)n, base); } +{ return setNum((TQ_LLONG)n, base); } inline TQString &TQString::setNum( ushort n, int base ) -{ return setNum((Q_ULLONG)n, base); } +{ return setNum((TQ_ULLONG)n, base); } inline TQString &TQString::setNum( int n, int base ) -{ return setNum((Q_LLONG)n, base); } +{ return setNum((TQ_LLONG)n, base); } inline TQString &TQString::setNum( uint n, int base ) -{ return setNum((Q_ULLONG)n, base); } +{ return setNum((TQ_ULLONG)n, base); } inline TQString &TQString::setNum( float n, char f, int prec ) { return setNum((double)n,f,prec); } inline TQString TQString::arg( int a, int fieldWidth, int base ) const -{ return arg( (Q_LLONG)a, fieldWidth, base ); } +{ return arg( (TQ_LLONG)a, fieldWidth, base ); } inline TQString TQString::arg( uint a, int fieldWidth, int base ) const -{ return arg( (Q_ULLONG)a, fieldWidth, base ); } +{ return arg( (TQ_ULLONG)a, fieldWidth, base ); } inline TQString TQString::arg( short a, int fieldWidth, int base ) const -{ return arg( (Q_LLONG)a, fieldWidth, base ); } +{ return arg( (TQ_LLONG)a, fieldWidth, base ); } inline TQString TQString::arg( ushort a, int fieldWidth, int base ) const -{ return arg( (Q_ULLONG)a, fieldWidth, base ); } +{ return arg( (TQ_ULLONG)a, fieldWidth, base ); } inline TQString TQString::arg( const TQString& a1, const TQString& a2 ) const { return multiArg( 2, a1, a2 ); diff --git a/doc/html/qvaluelist-h.html b/doc/html/qvaluelist-h.html index c88d0ca6..82bdca0d 100644 --- a/doc/html/qvaluelist-h.html +++ b/doc/html/qvaluelist-h.html @@ -675,9 +675,9 @@ template <class T> Q_INLINE_TEMPLATES TQDataStream& operator>>( TQDataStream& s, TQValueList<T>& l ) { l.clear(); - Q_UINT32 c; + TQ_UINT32 c; s >> c; - for( Q_UINT32 i = 0; i < c; ++i ) + for( TQ_UINT32 i = 0; i < c; ++i ) { T t; s >> t; @@ -691,7 +691,7 @@ Q_INLINE_TEMPLATES TQDataStream& operator>>( TQDataStream& s, TQVa template <class T> Q_INLINE_TEMPLATES TQDataStream& operator<<( TQDataStream& s, const TQValueList<T>& l ) { - s << (Q_UINT32)l.size(); + s << (TQ_UINT32)l.size(); TQValueListConstIterator<T> it = l.begin(); for( ; it != l.end(); ++it ) s << *it; diff --git a/doc/html/qvaluevector-h.html b/doc/html/qvaluevector-h.html index a51eb524..61e65322 100644 --- a/doc/html/qvaluevector-h.html +++ b/doc/html/qvaluevector-h.html @@ -581,10 +581,10 @@ template<class T> Q_INLINE_TEMPLATES TQDataStream& operator>>( TQDataStream& s, TQValueVector<T>& v ) { v.clear(); - Q_UINT32 c; + TQ_UINT32 c; s >> c; v.resize( c ); - for( Q_UINT32 i = 0; i < c; ++i ) + for( TQ_UINT32 i = 0; i < c; ++i ) { T t; s >> t; @@ -596,7 +596,7 @@ Q_INLINE_TEMPLATES TQDataStream& operator>>( TQDataStream& s, TQVa template<class T> Q_INLINE_TEMPLATES TQDataStream& operator<<( TQDataStream& s, const TQValueVector<T>& v ) { - s << (Q_UINT32)v.size(); + s << (TQ_UINT32)v.size(); // ### use typename TQValueVector<T>::const_iterator once all supported // ### compilers know about the 'typename' keyword. const T* it = v.begin(); diff --git a/doc/html/qvariant-h.html b/doc/html/qvariant-h.html index f25a6c9d..76f80d09 100644 --- a/doc/html/qvariant-h.html +++ b/doc/html/qvariant-h.html @@ -201,8 +201,8 @@ public: #endif TQVariant( int ); TQVariant( uint ); - TQVariant( Q_LLONG ); - TQVariant( Q_ULLONG ); + TQVariant( TQ_LLONG ); + TQVariant( TQ_ULLONG ); // ### Problems on some compilers ? TQVariant( bool, int ); TQVariant( double ); @@ -254,8 +254,8 @@ public: const TQPen toPen() const; int toInt( bool * ok=0 ) const; uint toUInt( bool * ok=0 ) const; - Q_LLONG toLongLong( bool * ok=0 ) const; - Q_ULLONG toULongLong( bool * ok=0 ) const; + TQ_LLONG toLongLong( bool * ok=0 ) const; + TQ_ULLONG toULongLong( bool * ok=0 ) const; bool toBool() const; double toDouble( bool * ok=0 ) const; #ifndef QT_NO_TEMPLATE_VARIANT @@ -304,8 +304,8 @@ public: TQPen& asPen(); int& asInt(); uint& asUInt(); - Q_LLONG& asLongLong(); - Q_ULLONG& asULongLong(); + TQ_LLONG& asLongLong(); + TQ_ULLONG& asULongLong(); bool& asBool(); double& asDouble(); #ifndef QT_NO_TEMPLATE_VARIANT @@ -338,8 +338,8 @@ private: { uint u; int i; - Q_LLONG ll; - Q_ULLONG ull; + TQ_LLONG ll; + TQ_ULLONG ull; bool b; double d; void *ptr; diff --git a/doc/html/qwidget-h.html b/doc/html/qwidget-h.html index a4a092cf..4c674877 100644 --- a/doc/html/qwidget-h.html +++ b/doc/html/qwidget-h.html @@ -1014,8 +1014,8 @@ struct Q_EXPORT TQTLWExtra { // dear user: you can see this struct, but it is internal. do not touch. struct Q_EXPORT TQWExtra { - Q_INT16 minw, minh; // minimum size - Q_INT16 maxw, maxh; // maximum size + TQ_INT16 minw, minh; // minimum size + TQ_INT16 maxw, maxh; // maximum size TQPixmap *bg_pix; // background pixmap TQWidget *focus_proxy; #ifndef QT_NO_CURSOR diff --git a/doc/html/qwidgetfactory-h.html b/doc/html/qwidgetfactory-h.html index 1c73e124..3bd1805b 100644 --- a/doc/html/qwidgetfactory-h.html +++ b/doc/html/qwidgetfactory-h.html @@ -142,8 +142,8 @@ private: TQString translate( const char *sourceText, const char *comment = "" ); TQString translate( const TQString& sourceText, const TQString& comment = TQString::null ); - void unpackUInt16( TQDataStream& in, Q_UINT16& n ); - void unpackUInt32( TQDataStream& in, Q_UINT32& n ); + void unpackUInt16( TQDataStream& in, TQ_UINT16& n ); + void unpackUInt32( TQDataStream& in, TQ_UINT32& n ); void unpackByteArray( TQDataStream& in, TQByteArray& array ); void unpackCString( const UibStrTable& strings, TQDataStream& in, TQCString& cstr ); diff --git a/doc/html/qwindowdefs-h.html b/doc/html/qwindowdefs-h.html index 0a7f4828..7b3d22c8 100644 --- a/doc/html/qwindowdefs-h.html +++ b/doc/html/qwindowdefs-h.html @@ -210,7 +210,7 @@ class TQApplication; // Global platform-independent types and functions -typedef Q_INT32 TQCOORD; // coordinate type +typedef TQ_INT32 TQCOORD; // coordinate type const TQCOORD TQCOORD_MAX = 2147483647; const TQCOORD TQCOORD_MIN = -TQCOORD_MAX - 1; -- cgit v1.2.3