diff options
Diffstat (limited to 'doc')
64 files changed, 666 insertions, 666 deletions
diff --git a/doc/datastreamformat.doc b/doc/datastreamformat.doc index fee351739..8de520ce6 100644 --- a/doc/datastreamformat.doc +++ b/doc/datastreamformat.doc @@ -49,27 +49,27 @@ It is best to always cast integers to a Qt integer type when writing, and to read back into the same Qt integer type when reading. \table -\row \i Q_INT8 +\row \i TQ_INT8 \i \list \i signed byte \endlist -\row \i Q_INT16 +\row \i TQ_INT16 \i \list \i signed 16 bit integer \endlist -\row \i Q_INT32 +\row \i TQ_INT32 \i \list \i signed 32 bit integer \endlist -\row \i Q_UINT8 +\row \i TQ_UINT8 \i \list \i unsigned byte \endlist -\row \i Q_UINT16 +\row \i TQ_UINT16 \i \list \i unsigned 16 bit integer \endlist -\row \i Q_UINT32 +\row \i TQ_UINT32 \i \list \i unsigned 32 bit integer \endlist @@ -83,34 +83,34 @@ and to read back into the same Qt integer type when reading. \endlist \row \i char * \i \list - \i The size of the string including the terminating 0 (Q_UINT32) + \i The size of the string including the terminating 0 (TQ_UINT32) \i The string bytes including the terminating 0 \endlist - The null string is represented as \c {(Q_UINT32) 0}. + The null string is represented as \c {(TQ_UINT32) 0}. \row \i QBitArray \i \list - \i The array size (Q_UINT32) + \i The array size (TQ_UINT32) \i The array bits, i.e. (size + 7)/8 bytes \endlist \row \i QBrush \i \list - \i The brush style (Q_UINT8) + \i The brush style (TQ_UINT8) \i The brush color (QColor) \i If style is CustomPattern, the brush pixmap (QPixmap) \endlist \row \i QByteArray \i \list - \i The array size (Q_UINT32) + \i The array size (TQ_UINT32) \i The array bytes, i.e. size bytes \endlist \row \i QCString \i \list - \i The size of the string including the terminating 0 (Q_UINT32) + \i The size of the string including the terminating 0 (TQ_UINT32) \i The string bytes including the terminating 0 \endlist - The null string is represented as \c {(Q_UINT32) 0}. + The null string is represented as \c {(TQ_UINT32) 0}. \row \i \l QColor - \i \list \i RGB value serialized as a Q_UINT32 \endlist + \i \list \i RGB value serialized as a TQ_UINT32 \endlist \row \i QColorGroup \i \list \i foreground (QBrush) @@ -130,12 +130,12 @@ and to read back into the same Qt integer type when reading. \endlist \row \i QCursor \i \list - \i Shape id (Q_INT16) + \i Shape id (TQ_INT16) \i If shape is BitmapCursor: The bitmap (QPixmap), mask (QPixmap) and hot spot (QPoint) \endlist \row \i QDate \i \list - \i Julian day (Q_UINT32) + \i Julian day (TQ_UINT32) \endlist \row \i QDateTime \i \list @@ -145,11 +145,11 @@ and to read back into the same Qt integer type when reading. \row \i QFont \i \list \i The family (QCString) - \i The point size (Q_INT16) - \i The style hint (Q_UINT8) - \i The char set (Q_UINT8) - \i The weight (Q_UINT8) - \i The font bits (Q_UINT8) + \i The point size (TQ_INT16) + \i The style hint (TQ_UINT8) + \i The char set (TQ_UINT8) + \i The weight (TQ_UINT8) + \i The font bits (TQ_UINT8) \endlist \row \i QImage \i \list @@ -161,7 +161,7 @@ and to read back into the same Qt integer type when reading. \endlist \row \i QMap \i \list - \i The number of items (Q_UINT32) + \i The number of items (TQ_UINT32) \i For all items, the key and value \endlist \row \i QPalette @@ -172,13 +172,13 @@ and to read back into the same Qt integer type when reading. \endlist \row \i QPen \i \list - \i The pen styles (Q_UINT8) - \i The pen width (Q_UINT8) + \i The pen styles (TQ_UINT8) + \i The pen width (TQ_UINT8) \i The pen color (QColor) \endlist \row \i QPicture \i \list - \i The size of the picture data (Q_UINT32) + \i The size of the picture data (TQ_UINT32) \i The raw bytes of picture data (char) \endlist \row \i QPixmap @@ -187,51 +187,51 @@ and to read back into the same Qt integer type when reading. \endlist \row \i QPoint \i \list - \i The x coordinate (Q_INT32) - \i The y coordinate (Q_INT32) + \i The x coordinate (TQ_INT32) + \i The y coordinate (TQ_INT32) \endlist \row \i QPointArray \i \list - \i The array size (Q_UINT32) + \i The array size (TQ_UINT32) \i The array points (QPoint) \endlist \row \i QRect \i \list - \i left (Q_INT32) - \i top (Q_INT32) - \i right (Q_INT32) - \i bottom (Q_INT32) + \i left (TQ_INT32) + \i top (TQ_INT32) + \i right (TQ_INT32) + \i bottom (TQ_INT32) \endlist \row \i QRegion \i \list - \i The size of the data, i.e. 8 + 16 * (number of rectangles) (Q_UINT32) - \i QRGN_RECTS (Q_INT32) - \i The number of rectangles (Q_UINT32) + \i The size of the data, i.e. 8 + 16 * (number of rectangles) (TQ_UINT32) + \i QRGN_RECTS (TQ_INT32) + \i The number of rectangles (TQ_UINT32) \i The rectangles in sequential order (QRect) \endlist \row \i QSize \i \list - \i width (Q_INT32) - \i height (Q_INT32) + \i width (TQ_INT32) + \i height (TQ_INT32) \endlist \row \i QString \i \list - \i If the string is null: 0xffffffff (Q_UINT32)<br> - otherwise: The string length (Q_UINT32) followed by the + \i If the string is null: 0xffffffff (TQ_UINT32)<br> + otherwise: The string length (TQ_UINT32) followed by the data in UTF-16 \endlist \row \i QTime \i \list - \i Milliseconds since midnight (Q_UINT32) + \i Milliseconds since midnight (TQ_UINT32) \endlist \row \i QValueList \i \list - \i The number of list elements (Q_UINT32) + \i The number of list elements (TQ_UINT32) \i All the elements in sequential order \endlist \row \i QVariant \i \list - \i The type of the data (Q_UINT32) + \i The type of the data (TQ_UINT32) \i The data of the specified type \endlist \row \i QWMatrix diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index 93a9f3009..85c381089 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -237,7 +237,7 @@ class Client : public <a href="ntqvbox.html">TQVBox</a> { TQ_OBJECT public: - Client( const <a href="ntqstring.html">TQString</a> &host, Q_UINT16 port ) + Client( const <a href="ntqstring.html">TQString</a> &host, TQ_UINT16 port ) { // GUI layout infoText = new <a href="ntqtextview.html">TQTextView</a>( this ); diff --git a/doc/html/datastreamformat.html b/doc/html/datastreamformat.html index 577fcc54c..a0ed8cf20 100644 --- a/doc/html/datastreamformat.html +++ b/doc/html/datastreamformat.html @@ -39,27 +39,27 @@ and how they are represented. <p> 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. <p> <center><table cellpadding="4" cellspacing="2" border="0"> -<tr bgcolor="#f0f0f0"> <td valign="top">Q_INT8 +<tr bgcolor="#f0f0f0"> <td valign="top">TQ_INT8 <td valign="top"><ul> <li> signed byte </ul> -<tr bgcolor="#d0d0d0"> <td valign="top">Q_INT16 +<tr bgcolor="#d0d0d0"> <td valign="top">TQ_INT16 <td valign="top"><ul> <li> signed 16 bit integer </ul> -<tr bgcolor="#f0f0f0"> <td valign="top">Q_INT32 +<tr bgcolor="#f0f0f0"> <td valign="top">TQ_INT32 <td valign="top"><ul> <li> signed 32 bit integer </ul> -<tr bgcolor="#d0d0d0"> <td valign="top">Q_UINT8 +<tr bgcolor="#d0d0d0"> <td valign="top">TQ_UINT8 <td valign="top"><ul> <li> unsigned byte </ul> -<tr bgcolor="#f0f0f0"> <td valign="top">Q_UINT16 +<tr bgcolor="#f0f0f0"> <td valign="top">TQ_UINT16 <td valign="top"><ul> <li> unsigned 16 bit integer </ul> -<tr bgcolor="#d0d0d0"> <td valign="top">Q_UINT32 +<tr bgcolor="#d0d0d0"> <td valign="top">TQ_UINT32 <td valign="top"><ul> <li> unsigned 32 bit integer </ul> @@ -73,34 +73,34 @@ and to read back into the same TQt integer type when reading. </ul> <tr bgcolor="#f0f0f0"> <td valign="top">char * <td valign="top"><ul> -<li> The size of the string including the terminating 0 (Q_UINT32) +<li> The size of the string including the terminating 0 (TQ_UINT32) <li> The string bytes including the terminating 0 </ul> -The null string is represented as <tt>(Q_UINT32) 0</tt>. +The null string is represented as <tt>(TQ_UINT32) 0</tt>. <tr bgcolor="#d0d0d0"> <td valign="top">TQBitArray <td valign="top"><ul> -<li> The array size (Q_UINT32) +<li> The array size (TQ_UINT32) <li> The array bits, i.e. (size + 7)/8 bytes </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQBrush <td valign="top"><ul> -<li> The brush style (Q_UINT8) +<li> The brush style (TQ_UINT8) <li> The brush color (<a href="ntqcolor.html">TQColor</a>) <li> If style is CustomPattern, the brush pixmap (<a href="ntqpixmap.html">TQPixmap</a>) </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQByteArray <td valign="top"><ul> -<li> The array size (Q_UINT32) +<li> The array size (TQ_UINT32) <li> The array bytes, i.e. size bytes </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQCString <td valign="top"><ul> -<li> The size of the string including the terminating 0 (Q_UINT32) +<li> The size of the string including the terminating 0 (TQ_UINT32) <li> The string bytes including the terminating 0 </ul> -The null string is represented as <tt>(Q_UINT32) 0</tt>. +The null string is represented as <tt>(TQ_UINT32) 0</tt>. <tr bgcolor="#d0d0d0"> <td valign="top"><a href="ntqcolor.html">TQColor</a> -<td valign="top"><ul><li> RGB value serialized as a Q_UINT32 </ul> +<td valign="top"><ul><li> RGB value serialized as a TQ_UINT32 </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQColorGroup <td valign="top"><ul> <li> foreground (<a href="ntqbrush.html">TQBrush</a>) @@ -120,12 +120,12 @@ The null string is represented as <tt>(Q_UINT32) 0</tt>. </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQCursor <td valign="top"><ul> -<li> Shape id (Q_INT16) +<li> Shape id (TQ_INT16) <li> If shape is BitmapCursor: The bitmap (<a href="ntqpixmap.html">TQPixmap</a>), mask (TQPixmap) and hot spot (<a href="ntqpoint.html">TQPoint</a>) </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQDate <td valign="top"><ul> -<li> Julian day (Q_UINT32) +<li> Julian day (TQ_UINT32) </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQDateTime <td valign="top"><ul> @@ -135,11 +135,11 @@ The null string is represented as <tt>(Q_UINT32) 0</tt>. <tr bgcolor="#f0f0f0"> <td valign="top">TQFont <td valign="top"><ul> <li> The family (<a href="ntqcstring.html">TQCString</a>) -<li> The point size (Q_INT16) -<li> The style hint (Q_UINT8) -<li> The char set (Q_UINT8) -<li> The weight (Q_UINT8) -<li> The font bits (Q_UINT8) +<li> The point size (TQ_INT16) +<li> The style hint (TQ_UINT8) +<li> The char set (TQ_UINT8) +<li> The weight (TQ_UINT8) +<li> The font bits (TQ_UINT8) </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQImage <td valign="top"><ul> @@ -151,7 +151,7 @@ that. </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQMap <td valign="top"><ul> -<li> The number of items (Q_UINT32) +<li> The number of items (TQ_UINT32) <li> For all items, the key and value </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQPalette @@ -162,13 +162,13 @@ that. </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQPen <td valign="top"><ul> -<li> The pen styles (Q_UINT8) -<li> The pen width (Q_UINT8) +<li> The pen styles (TQ_UINT8) +<li> The pen width (TQ_UINT8) <li> The pen color (<a href="ntqcolor.html">TQColor</a>) </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQPicture <td valign="top"><ul> -<li> The size of the picture data (Q_UINT32) +<li> The size of the picture data (TQ_UINT32) <li> The raw bytes of picture data (char) </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQPixmap @@ -177,51 +177,51 @@ that. </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQPoint <td valign="top"><ul> -<li> The x coordinate (Q_INT32) -<li> The y coordinate (Q_INT32) +<li> The x coordinate (TQ_INT32) +<li> The y coordinate (TQ_INT32) </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQPointArray <td valign="top"><ul> -<li> The array size (Q_UINT32) +<li> The array size (TQ_UINT32) <li> The array points (<a href="ntqpoint.html">TQPoint</a>) </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQRect <td valign="top"><ul> -<li> left (Q_INT32) -<li> top (Q_INT32) -<li> right (Q_INT32) -<li> bottom (Q_INT32) +<li> left (TQ_INT32) +<li> top (TQ_INT32) +<li> right (TQ_INT32) +<li> bottom (TQ_INT32) </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQRegion <td valign="top"><ul> -<li> The size of the data, i.e. 8 + 16 * (number of rectangles) (Q_UINT32) -<li> TQRGN_RECTS (Q_INT32) -<li> The number of rectangles (Q_UINT32) +<li> The size of the data, i.e. 8 + 16 * (number of rectangles) (TQ_UINT32) +<li> TQRGN_RECTS (TQ_INT32) +<li> The number of rectangles (TQ_UINT32) <li> The rectangles in sequential order (<a href="ntqrect.html">TQRect</a>) </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQSize <td valign="top"><ul> -<li> width (Q_INT32) -<li> height (Q_INT32) +<li> width (TQ_INT32) +<li> height (TQ_INT32) </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQString <td valign="top"><ul> -<li> If the string is null: 0xffffffff (Q_UINT32)<br> -otherwise: The string length (Q_UINT32) followed by the +<li> If the string is null: 0xffffffff (TQ_UINT32)<br> +otherwise: The string length (TQ_UINT32) followed by the data in UTF-16 </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQTime <td valign="top"><ul> -<li> Milliseconds since midnight (Q_UINT32) +<li> Milliseconds since midnight (TQ_UINT32) </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQValueList <td valign="top"><ul> -<li> The number of list elements (Q_UINT32) +<li> The number of list elements (TQ_UINT32) <li> All the elements in sequential order </ul> <tr bgcolor="#d0d0d0"> <td valign="top">TQVariant <td valign="top"><ul> -<li> The type of the data (Q_UINT32) +<li> The type of the data (TQ_UINT32) <li> The data of the specified type </ul> <tr bgcolor="#f0f0f0"> <td valign="top">TQWMatrix diff --git a/doc/html/ntqbuffer.html b/doc/html/ntqbuffer.html index 7f0714de8..2b208c29b 100644 --- a/doc/html/ntqbuffer.html +++ b/doc/html/ntqbuffer.html @@ -44,8 +44,8 @@ body { background: #ffffff; color: black; } <li class=fn><a href="#~TQBuffer"><b>~TQBuffer</b></a> ()</li> <li class=fn>TQByteArray <a href="#buffer"><b>buffer</b></a> () const</li> <li class=fn>bool <a href="#setBuffer"><b>setBuffer</b></a> ( TQByteArray buf )</li> -<li class=fn>virtual Q_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * p, Q_ULONG len )</li> -<li class=fn>Q_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const TQByteArray & data )</li> +<li class=fn>virtual TQ_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * p, TQ_ULONG len )</li> +<li class=fn>TQ_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const TQByteArray & data )</li> </ul> <hr><a name="details"></a><h2>Detailed Description</h2> @@ -120,7 +120,7 @@ Replaces the buffer's contents with <em>buf</em> and returns TRUE. modified because <a href="qbytearray.html">TQByteArray</a> is an <a href="shclass.html#explicitly-shared">explicitly shared</a> class. <p> <p>See also <a href="#buffer">buffer</a>(), <a href="ntqiodevice.html#open">open</a>(), and <a href="ntqiodevice.html#close">close</a>(). -<h3 class=fn>Q_LONG <a name="writeBlock"></a>TQBuffer::writeBlock ( const char * p, Q_ULONG len )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQBuffer::writeBlock ( const char * p, TQ_ULONG len )<tt> [virtual]</tt> </h3> Writes <em>len</em> bytes from <em>p</em> 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. <p> <p>See also <a href="ntqiodevice.html#readBlock">readBlock</a>(). <p>Reimplemented from <a href="ntqiodevice.html#writeBlock">TQIODevice</a>. -<h3 class=fn>Q_LONG <a name="writeBlock-2"></a>TQBuffer::writeBlock ( const <a href="qbytearray.html">TQByteArray</a> & data ) +<h3 class=fn>TQ_LONG <a name="writeBlock-2"></a>TQBuffer::writeBlock ( const <a href="qbytearray.html">TQByteArray</a> & data ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This convenience function is the same as calling diff --git a/doc/html/ntqdatastream.html b/doc/html/ntqdatastream.html index a20fd8eab..0cea75757 100644 --- a/doc/html/ntqdatastream.html +++ b/doc/html/ntqdatastream.html @@ -55,29 +55,29 @@ to a TQIODevice. <li class=fn>void <a href="#setPrintableData"><b>setPrintableData</b></a> ( bool enable )</li> <li class=fn>int <a href="#version"><b>version</b></a> () const</li> <li class=fn>void <a href="#setVersion"><b>setVersion</b></a> ( int v )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt"><b>operator>></b></a> ( Q_INT8 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-2"><b>operator>></b></a> ( Q_UINT8 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-3"><b>operator>></b></a> ( Q_INT16 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-4"><b>operator>></b></a> ( Q_UINT16 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-5"><b>operator>></b></a> ( Q_INT32 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-6"><b>operator>></b></a> ( Q_UINT32 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-7"><b>operator>></b></a> ( Q_INT64 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-8"><b>operator>></b></a> ( Q_UINT64 & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-9"><b>operator>></b></a> ( Q_LONG & i )</li> -<li class=fn>TQDataStream & <a href="#operator-gt-gt-a"><b>operator>></b></a> ( Q_ULONG & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt"><b>operator>></b></a> ( TQ_INT8 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-2"><b>operator>></b></a> ( TQ_UINT8 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-3"><b>operator>></b></a> ( TQ_INT16 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-4"><b>operator>></b></a> ( TQ_UINT16 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-5"><b>operator>></b></a> ( TQ_INT32 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-6"><b>operator>></b></a> ( TQ_UINT32 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-7"><b>operator>></b></a> ( TQ_INT64 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-8"><b>operator>></b></a> ( TQ_UINT64 & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-9"><b>operator>></b></a> ( TQ_LONG & i )</li> +<li class=fn>TQDataStream & <a href="#operator-gt-gt-a"><b>operator>></b></a> ( TQ_ULONG & i )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt-b"><b>operator>></b></a> ( float & f )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt-c"><b>operator>></b></a> ( double & f )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt-d"><b>operator>></b></a> ( char *& s )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt"><b>operator<<</b></a> ( Q_INT8 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-2"><b>operator<<</b></a> ( Q_UINT8 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-3"><b>operator<<</b></a> ( Q_INT16 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-4"><b>operator<<</b></a> ( Q_UINT16 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-5"><b>operator<<</b></a> ( Q_INT32 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-6"><b>operator<<</b></a> ( Q_UINT32 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-7"><b>operator<<</b></a> ( Q_INT64 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-8"><b>operator<<</b></a> ( Q_UINT64 i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-9"><b>operator<<</b></a> ( Q_LONG i )</li> -<li class=fn>TQDataStream & <a href="#operator-lt-lt-a"><b>operator<<</b></a> ( Q_ULONG i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt"><b>operator<<</b></a> ( TQ_INT8 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-2"><b>operator<<</b></a> ( TQ_UINT8 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-3"><b>operator<<</b></a> ( TQ_INT16 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-4"><b>operator<<</b></a> ( TQ_UINT16 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-5"><b>operator<<</b></a> ( TQ_INT32 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-6"><b>operator<<</b></a> ( TQ_UINT32 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-7"><b>operator<<</b></a> ( TQ_INT64 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-8"><b>operator<<</b></a> ( TQ_UINT64 i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-9"><b>operator<<</b></a> ( TQ_LONG i )</li> +<li class=fn>TQDataStream & <a href="#operator-lt-lt-a"><b>operator<<</b></a> ( TQ_ULONG i )</li> <li class=fn>TQDataStream & <a href="#operator-lt-lt-b"><b>operator<<</b></a> ( float f )</li> <li class=fn>TQDataStream & <a href="#operator-lt-lt-c"><b>operator<<</b></a> ( double f )</li> <li class=fn>TQDataStream & <a href="#operator-lt-lt-d"><b>operator<<</b></a> ( const char * s )</li> @@ -113,7 +113,7 @@ data to. The <a href="ntqfile.html">TQFile</a> class is an example of an IO devi file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ); 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 </pre> <p> Example (read binary data from a stream): @@ -122,7 +122,7 @@ data to. The <a href="ntqfile.html">TQFile</a> class is an example of an IO devi file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ); TQDataStream stream( &file ); // read the data serialized from the file <a href="ntqstring.html">TQString</a> str; - Q_INT32 a; + TQ_INT32 a; stream >> str >> a; // extract "the answer is" and 42 </pre> @@ -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 <a href="#writeRawBytes">writeRawBytes</a>(). Notice encoding/decoding of the data must be done by you. <p> A similar pair of functions is <a href="#readBytes">readBytes</a>() and <a href="#writeBytes">writeBytes</a>(). These differ from their <em>raw</em> 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. <p> <p>See also <a href="ntqtextstream.html">TQTextStream</a>, <a href="ntqvariant.html">TQVariant</a>, and <a href="io.html">Input/Output and Networking</a>. <hr><h2>Member Type Documentation</h2> @@ -304,60 +304,60 @@ device is somewhere before the end position. returns FALSE. <p> <p>See also <a href="#setPrintableData">setPrintableData</a>(). -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>TQDataStream::operator<< ( Q_INT8 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>TQDataStream::operator<< ( TQ_INT8 i ) </h3> Writes a signed byte, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-2"></a>TQDataStream::operator<< ( Q_UINT8 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-2"></a>TQDataStream::operator<< ( TQ_UINT8 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes an unsigned byte, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-3"></a>TQDataStream::operator<< ( Q_INT16 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-3"></a>TQDataStream::operator<< ( TQ_INT16 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes a signed 16-bit integer, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-4"></a>TQDataStream::operator<< ( Q_UINT16 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-4"></a>TQDataStream::operator<< ( TQ_UINT16 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes an unsigned 16-bit integer, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-5"></a>TQDataStream::operator<< ( Q_INT32 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-5"></a>TQDataStream::operator<< ( TQ_INT32 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes a signed 32-bit integer, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-6"></a>TQDataStream::operator<< ( Q_UINT32 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-6"></a>TQDataStream::operator<< ( TQ_UINT32 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes an unsigned integer, <em>i</em>, 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. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-7"></a>TQDataStream::operator<< ( Q_INT64 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-7"></a>TQDataStream::operator<< ( TQ_INT64 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes a signed 64-bit integer, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-8"></a>TQDataStream::operator<< ( Q_UINT64 i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-8"></a>TQDataStream::operator<< ( TQ_UINT64 i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes an unsigned 64-bit integer, <em>i</em>, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-9"></a>TQDataStream::operator<< ( Q_LONG i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-9"></a>TQDataStream::operator<< ( TQ_LONG i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes a signed integer <em>i</em>, of the system's word length, to the stream and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-a"></a>TQDataStream::operator<< ( Q_ULONG i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt-a"></a>TQDataStream::operator<< ( TQ_ULONG i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes an unsigned integer <em>i</em>, 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. <p> The string is serialized using <a href="#writeBytes">writeBytes</a>(). -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>TQDataStream::operator>> ( Q_INT8 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>TQDataStream::operator>> ( TQ_INT8 & i ) </h3> Reads a signed byte from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-2"></a>TQDataStream::operator>> ( Q_UINT8 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-2"></a>TQDataStream::operator>> ( TQ_UINT8 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads an unsigned byte from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-3"></a>TQDataStream::operator>> ( Q_INT16 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-3"></a>TQDataStream::operator>> ( TQ_INT16 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads a signed 16-bit integer from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-4"></a>TQDataStream::operator>> ( Q_UINT16 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-4"></a>TQDataStream::operator>> ( TQ_UINT16 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads an unsigned 16-bit integer from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-5"></a>TQDataStream::operator>> ( Q_INT32 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-5"></a>TQDataStream::operator>> ( TQ_INT32 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads a signed 32-bit integer from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-6"></a>TQDataStream::operator>> ( Q_UINT32 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-6"></a>TQDataStream::operator>> ( TQ_UINT32 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads an unsigned 32-bit integer from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-7"></a>TQDataStream::operator>> ( Q_INT64 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-7"></a>TQDataStream::operator>> ( TQ_INT64 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads a signed 64-bit integer from the stream into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-8"></a>TQDataStream::operator>> ( Q_UINT64 & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-8"></a>TQDataStream::operator>> ( TQ_UINT64 & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads an unsigned 64-bit integer from the stream, into <em>i</em>, and returns a reference to the stream. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-9"></a>TQDataStream::operator>> ( Q_LONG & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-9"></a>TQDataStream::operator>> ( TQ_LONG & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads a signed integer of the system's word length from the stream into <em>i</em>, and returns a reference to the stream. <p> -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-a"></a>TQDataStream::operator>> ( Q_ULONG & i ) +<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt-a"></a>TQDataStream::operator>> ( TQ_ULONG & i ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads an unsigned integer of the system's word length from the @@ -470,7 +470,7 @@ the stream. <p> The buffer <em>s</em> is allocated using <tt>new</tt>. Destroy it with the <tt>delete[]</tt> operator. If the length is zero or <em>s</em> cannot be allocated, <em>s</em> is set to 0. <p> The <em>l</em> parameter will be set to the length of the buffer. -<p> The serialization format is a Q_UINT32 length specifier first, +<p> The serialization format is a TQ_UINT32 length specifier first, then <em>l</em> bytes of data. Note that the data is <em>not</em> encoded. <p> <p>See also <a href="#readRawBytes">readRawBytes</a>() and <a href="#writeBytes">writeBytes</a>(). @@ -547,7 +547,7 @@ Unsets the IO device. This is the same as calling <a href="#setDevice">setDevice </h3> Writes the length specifier <em>len</em> and the buffer <em>s</em> to the stream and returns a reference to the stream. -<p> The <em>len</em> is serialized as a Q_UINT32, followed by <em>len</em> bytes +<p> The <em>len</em> is serialized as a TQ_UINT32, followed by <em>len</em> bytes from <em>s</em>. Note that the data is <em>not</em> encoded. <p> <p>See also <a href="#writeRawBytes">writeRawBytes</a>() and <a href="#readBytes">readBytes</a>(). diff --git a/doc/html/ntqdns.html b/doc/html/ntqdns.html index 049dc526f..f3efeff65 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 <a href="#RecordType-enum"> class <tt>TQDns::MailServer</tt> contains the following public variables: <ul> <li> <a href="ntqstring.html">TQString</a> TQDns::MailServer::name -<li> Q_UINT16 TQDns::MailServer::priority +<li> TQ_UINT16 TQDns::MailServer::priority </ul> <p> 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 <a href="#RecordType-enum">Srv</ <tt>TQDns::Server</tt> contains the following public variables: <ul> <li> <a href="ntqstring.html">TQString</a> TQDns::Server::name -<li> Q_UINT16 TQDns::Server::priority -<li> Q_UINT16 TQDns::Server::weight -<li> Q_UINT16 TQDns::Server::port +<li> TQ_UINT16 TQDns::Server::priority +<li> TQ_UINT16 TQDns::Server::weight +<li> TQ_UINT16 TQDns::Server::port </ul> <p> 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 61ebcb6a6..682aee200 100644 --- a/doc/html/ntqfile.html +++ b/doc/html/ntqfile.html @@ -55,8 +55,8 @@ body { background: #ffffff; color: black; } <li class=fn>virtual void <a href="#flush"><b>flush</b></a> ()</li> <li class=fn>virtual Offset <a href="#size"><b>size</b></a> () const</li> <li class=fn>virtual bool <a href="#atEnd"><b>atEnd</b></a> () const</li> -<li class=fn>virtual Q_LONG <a href="#readLine"><b>readLine</b></a> ( char * p, Q_ULONG maxlen )</li> -<li class=fn>Q_LONG <a href="#readLine-2"><b>readLine</b></a> ( TQString & s, Q_ULONG maxlen )</li> +<li class=fn>virtual TQ_LONG <a href="#readLine"><b>readLine</b></a> ( char * p, TQ_ULONG maxlen )</li> +<li class=fn>TQ_LONG <a href="#readLine-2"><b>readLine</b></a> ( TQString & s, TQ_ULONG maxlen )</li> <li class=fn>virtual int <a href="#getch"><b>getch</b></a> ()</li> <li class=fn>virtual int <a href="#putch"><b>putch</b></a> ( int ch )</li> <li class=fn>virtual int <a href="#ungetch"><b>ungetch</b></a> ( int ch )</li> @@ -391,7 +391,7 @@ Writes the character <em>ch</em> to the file. This convenience function returns all of the remaining data in the device. -<h3 class=fn>Q_LONG <a name="readLine"></a>TQFile::readLine ( char * p, Q_ULONG maxlen )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="readLine"></a>TQFile::readLine ( char * p, TQ_ULONG maxlen )<tt> [virtual]</tt> </h3> Reads a line of text. <p> Reads bytes from the file into the char* <em>p</em>, until end-of-line @@ -404,7 +404,7 @@ flag. <p> <p>See also <a href="ntqiodevice.html#readBlock">readBlock</a>() and <a href="ntqtextstream.html#readLine">TQTextStream::readLine</a>(). <p>Reimplemented from <a href="ntqiodevice.html#readLine">TQIODevice</a>. -<h3 class=fn>Q_LONG <a name="readLine-2"></a>TQFile::readLine ( <a href="ntqstring.html">TQString</a> & s, Q_ULONG maxlen ) +<h3 class=fn>TQ_LONG <a name="readLine-2"></a>TQFile::readLine ( <a href="ntqstring.html">TQString</a> & s, TQ_ULONG maxlen ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Reads a line of text. diff --git a/doc/html/ntqftp.html b/doc/html/ntqftp.html index 9a3b6a927..405271789 100644 --- a/doc/html/ntqftp.html +++ b/doc/html/ntqftp.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; } <li class=fn>enum <a href="#State-enum"><b>State</b></a> { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing }</li> <li class=fn>enum <a href="#Error-enum"><b>Error</b></a> { NoError, UnknownError, HostNotFound, ConnectionRefused, NotConnected }</li> <li class=fn>enum <a href="#Command-enum"><b>Command</b></a> { None, ConnectToHost, Login, Close, List, Cd, Get, Put, Remove, Mkdir, Rmdir, Rename, RawCommand }</li> -<li class=fn>int <a href="#connectToHost"><b>connectToHost</b></a> ( const TQString & host, Q_UINT16 port = 21 )</li> +<li class=fn>int <a href="#connectToHost"><b>connectToHost</b></a> ( const TQString & host, TQ_UINT16 port = 21 )</li> <li class=fn>int <a href="#login"><b>login</b></a> ( const TQString & user = TQString::null, const TQString & password = TQString::null )</li> <li class=fn>int <a href="#close"><b>close</b></a> ()</li> <li class=fn>int <a href="#list"><b>list</b></a> ( const TQString & dir = TQString::null )</li> @@ -57,8 +57,8 @@ body { background: #ffffff; color: black; } <li class=fn>int <a href="#rmdir"><b>rmdir</b></a> ( const TQString & dir )</li> <li class=fn>int <a href="#rename"><b>rename</b></a> ( const TQString & oldname, const TQString & newname )</li> <li class=fn>int <a href="#rawCommand"><b>rawCommand</b></a> ( const TQString & command )</li> -<li class=fn>Q_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> -<li class=fn>Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, Q_ULONG maxlen )</li> +<li class=fn>TQ_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> +<li class=fn>TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen )</li> <li class=fn>TQByteArray <a href="#readAll"><b>readAll</b></a> ()</li> <li class=fn>int <a href="#currentId"><b>currentId</b></a> () const</li> <li class=fn>TQIODevice * <a href="#currentDevice"><b>currentDevice</b></a> () const</li> @@ -315,7 +315,7 @@ complete successfully. <p> <p>See also <a href="#clearPendingCommands">clearPendingCommands</a>(). <p>Example: <a href="ftpclient-example.html#x744">network/ftpclient/ftpmainwindow.ui.h</a>. -<h3 class=fn>Q_ULONG <a name="bytesAvailable"></a>TQFtp::bytesAvailable () const +<h3 class=fn>TQ_ULONG <a name="bytesAvailable"></a>TQFtp::bytesAvailable () const </h3> Returns the number of bytes that can be read from the data socket at the moment. @@ -373,7 +373,7 @@ the processing; otherwise <em>error</em> is FALSE. <p> <p>See also <a href="#commandFinished">commandFinished</a>() and <a href="#done">done</a>(). <p>Example: <a href="ftpclient-example.html#x748">network/ftpclient/ftpmainwindow.ui.h</a>. -<h3 class=fn>int <a name="connectToHost"></a>TQFtp::connectToHost ( const <a href="ntqstring.html">TQString</a> & host, Q_UINT16 port = 21 ) +<h3 class=fn>int <a name="connectToHost"></a>TQFtp::connectToHost ( const <a href="ntqstring.html">TQString</a> & host, TQ_UINT16 port = 21 ) </h3> Connects to the FTP server <em>host</em> using port <em>port</em>. <p> The <a href="#stateChanged">stateChanged</a>() signal is emitted when the state of the @@ -603,7 +603,7 @@ Reads all the bytes available from the data socket and returns them. <p> <p>See also <a href="#get">get</a>(), <a href="#readyRead">readyRead</a>(), <a href="#bytesAvailable">bytesAvailable</a>(), and <a href="#readBlock">readBlock</a>(). -<h3 class=fn>Q_LONG <a name="readBlock"></a>TQFtp::readBlock ( char * data, Q_ULONG maxlen ) +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQFtp::readBlock ( char * data, TQ_ULONG maxlen ) </h3> Reads <em>maxlen</em> bytes from the data socket into <em>data</em> 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 2efa94de1..322e933d1 100644 --- a/doc/html/ntqhostaddress.html +++ b/doc/html/ntqhostaddress.html @@ -38,19 +38,19 @@ body { background: #ffffff; color: black; } <h2>Public Members</h2> <ul> <li class=fn><a href="#TQHostAddress"><b>TQHostAddress</b></a> ()</li> -<li class=fn><a href="#TQHostAddress-2"><b>TQHostAddress</b></a> ( Q_UINT32 ip4Addr )</li> -<li class=fn><a href="#TQHostAddress-3"><b>TQHostAddress</b></a> ( Q_UINT8 * ip6Addr )</li> +<li class=fn><a href="#TQHostAddress-2"><b>TQHostAddress</b></a> ( TQ_UINT32 ip4Addr )</li> +<li class=fn><a href="#TQHostAddress-3"><b>TQHostAddress</b></a> ( TQ_UINT8 * ip6Addr )</li> <li class=fn><a href="#TQHostAddress-4"><b>TQHostAddress</b></a> ( const Q_IPV6ADDR & ip6Addr )</li> <li class=fn><a href="#TQHostAddress-6"><b>TQHostAddress</b></a> ( const TQHostAddress & address )</li> <li class=fn>virtual <a href="#~TQHostAddress"><b>~TQHostAddress</b></a> ()</li> <li class=fn>TQHostAddress & <a href="#operator-eq"><b>operator=</b></a> ( const TQHostAddress & address )</li> -<li class=fn>void <a href="#setAddress"><b>setAddress</b></a> ( Q_UINT32 ip4Addr )</li> -<li class=fn>void <a href="#setAddress-2"><b>setAddress</b></a> ( Q_UINT8 * ip6Addr )</li> +<li class=fn>void <a href="#setAddress"><b>setAddress</b></a> ( TQ_UINT32 ip4Addr )</li> +<li class=fn>void <a href="#setAddress-2"><b>setAddress</b></a> ( TQ_UINT8 * ip6Addr )</li> <li class=fn>bool <a href="#setAddress-3"><b>setAddress</b></a> ( const TQString & address )</li> <li class=fn>bool isIp4Addr () const <em>(obsolete)</em></li> -<li class=fn>Q_UINT32 ip4Addr () const <em>(obsolete)</em></li> +<li class=fn>TQ_UINT32 ip4Addr () const <em>(obsolete)</em></li> <li class=fn>bool <a href="#isIPv4Address"><b>isIPv4Address</b></a> () const</li> -<li class=fn>Q_UINT32 <a href="#toIPv4Address"><b>toIPv4Address</b></a> () const</li> +<li class=fn>TQ_UINT32 <a href="#toIPv4Address"><b>toIPv4Address</b></a> () const</li> <li class=fn>bool <a href="#isIPv6Address"><b>isIPv6Address</b></a> () const</li> <li class=fn>Q_IPV6ADDR <a href="#toIPv6Address"><b>toIPv6Address</b></a> () const</li> <li class=fn>TQString <a href="#toString"><b>toString</b></a> () const</li> @@ -79,11 +79,11 @@ to a host. </h3> Creates a host address object with the IP address 0.0.0.0. -<h3 class=fn><a name="TQHostAddress-2"></a>TQHostAddress::TQHostAddress ( Q_UINT32 ip4Addr ) +<h3 class=fn><a name="TQHostAddress-2"></a>TQHostAddress::TQHostAddress ( TQ_UINT32 ip4Addr ) </h3> Creates a host address object for the IPv4 address <em>ip4Addr</em>. -<h3 class=fn><a name="TQHostAddress-3"></a>TQHostAddress::TQHostAddress ( Q_UINT8 * ip6Addr ) +<h3 class=fn><a name="TQHostAddress-3"></a>TQHostAddress::TQHostAddress ( TQ_UINT8 * ip6Addr ) </h3> Creates a host address object with the specified IPv6 address. <p> <em>ip6Addr</em> must be a 16 byte array in network byte order @@ -101,7 +101,7 @@ Creates a copy of <em>address</em>. </h3> Destroys the host address object. -<h3 class=fn>Q_UINT32 <a name="ip4Addr"></a>TQHostAddress::ip4Addr () const +<h3 class=fn>TQ_UINT32 <a name="ip4Addr"></a>TQHostAddress::ip4Addr () const </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Use <a href="#toIPv4Address">toIPv4Address</a>() instead. @@ -137,11 +137,11 @@ returns a reference to this object. Returns TRUE if this host address is the same as <em>other</em>; otherwise returns FALSE. -<h3 class=fn>void <a name="setAddress"></a>TQHostAddress::setAddress ( Q_UINT32 ip4Addr ) +<h3 class=fn>void <a name="setAddress"></a>TQHostAddress::setAddress ( TQ_UINT32 ip4Addr ) </h3> Set the IPv4 address specified by <em>ip4Addr</em>. -<h3 class=fn>void <a name="setAddress-2"></a>TQHostAddress::setAddress ( Q_UINT8 * ip6Addr ) +<h3 class=fn>void <a name="setAddress-2"></a>TQHostAddress::setAddress ( TQ_UINT8 * ip6Addr ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Set the IPv6 address specified by <em>ip6Addr</em>. @@ -156,7 +156,7 @@ representation <em>address</em> (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. -<h3 class=fn>Q_UINT32 <a name="toIPv4Address"></a>TQHostAddress::toIPv4Address () const +<h3 class=fn>TQ_UINT32 <a name="toIPv4Address"></a>TQHostAddress::toIPv4Address () const </h3> Returns the IPv4 address as a number. <p> 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 5bc3db1fe..0b13c8fd4 100644 --- a/doc/html/ntqhttp.html +++ b/doc/html/ntqhttp.html @@ -40,11 +40,11 @@ body { background: #ffffff; color: black; } <ul> <li class=fn><a href="#TQHttp"><b>TQHttp</b></a> ()</li> <li class=fn><a href="#TQHttp-2"><b>TQHttp</b></a> ( TQObject * parent, const char * name = 0 )</li> -<li class=fn><a href="#TQHttp-3"><b>TQHttp</b></a> ( const TQString & hostname, Q_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )</li> +<li class=fn><a href="#TQHttp-3"><b>TQHttp</b></a> ( const TQString & hostname, TQ_UINT16 port = 80, TQObject * parent = 0, const char * name = 0 )</li> <li class=fn>virtual <a href="#~TQHttp"><b>~TQHttp</b></a> ()</li> <li class=fn>enum <a href="#State-enum"><b>State</b></a> { Unconnected, HostLookup, Connecting, Sending, Reading, Connected, Closing }</li> <li class=fn>enum <a href="#Error-enum"><b>Error</b></a> { NoError, UnknownError, HostNotFound, ConnectionRefused, UnexpectedClose, InvalidResponseHeader, WrongContentLength, Aborted }</li> -<li class=fn>int <a href="#setHost"><b>setHost</b></a> ( const TQString & hostname, Q_UINT16 port = 80 )</li> +<li class=fn>int <a href="#setHost"><b>setHost</b></a> ( const TQString & hostname, TQ_UINT16 port = 80 )</li> <li class=fn>int <a href="#get"><b>get</b></a> ( const TQString & path, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#post"><b>post</b></a> ( const TQString & path, TQIODevice * data, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#post-2"><b>post</b></a> ( const TQString & path, const TQByteArray & data, TQIODevice * to = 0 )</li> @@ -52,8 +52,8 @@ body { background: #ffffff; color: black; } <li class=fn>int <a href="#request"><b>request</b></a> ( const TQHttpRequestHeader & header, TQIODevice * data = 0, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#request-2"><b>request</b></a> ( const TQHttpRequestHeader & header, const TQByteArray & data, TQIODevice * to = 0 )</li> <li class=fn>int <a href="#closeConnection"><b>closeConnection</b></a> ()</li> -<li class=fn>Q_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> -<li class=fn>Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, Q_ULONG maxlen )</li> +<li class=fn>TQ_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> +<li class=fn>TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen )</li> <li class=fn>TQByteArray <a href="#readAll"><b>readAll</b></a> ()</li> <li class=fn>int <a href="#currentId"><b>currentId</b></a> () const</li> <li class=fn>TQIODevice * <a href="#currentSourceDevice"><b>currentSourceDevice</b></a> () const</li> @@ -266,7 +266,7 @@ Constructs a TQHttp object. Constructs a TQHttp object. The parameters <em>parent</em> and <em>name</em> are passed on to the <a href="ntqobject.html">TQObject</a> constructor. -<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const <a href="ntqstring.html">TQString</a> & hostname, Q_UINT16 port = 80, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQHttp-3"></a>TQHttp::TQHttp ( const <a href="ntqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) </h3> Constructs a TQHttp object. Subsequent requests are done by connecting to the server <em>hostname</em> on port <em>port</em>. The @@ -289,7 +289,7 @@ requests left and the <a href="#done">done</a>() signal is emitted (with the <tt argument <tt>TRUE</tt>). <p> <p>See also <a href="#clearPendingRequests">clearPendingRequests</a>(). -<h3 class=fn>Q_ULONG <a name="bytesAvailable"></a>TQHttp::bytesAvailable () const +<h3 class=fn>TQ_ULONG <a name="bytesAvailable"></a>TQHttp::bytesAvailable () const </h3> 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. <p> <p>See also <a href="#get">get</a>(), <a href="#post">post</a>(), <a href="#request">request</a>(), <a href="#readyRead">readyRead</a>(), <a href="#bytesAvailable">bytesAvailable</a>(), and <a href="#readBlock">readBlock</a>(). -<h3 class=fn>Q_LONG <a name="readBlock"></a>TQHttp::readBlock ( char * data, Q_ULONG maxlen ) +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQHttp::readBlock ( char * data, TQ_ULONG maxlen ) </h3> Reads <em>maxlen</em> bytes from the response content into <em>data</em> and returns the number of bytes read. Returns -1 if an error occurred. @@ -550,7 +550,7 @@ the processing; otherwise <em>error</em> is FALSE. is available. The header is passed in <em>resp</em>. <p> <p>See also <a href="#get">get</a>(), <a href="#post">post</a>(), <a href="#head">head</a>(), <a href="#request">request</a>(), and <a href="#readyRead">readyRead</a>(). -<h3 class=fn>int <a name="setHost"></a>TQHttp::setHost ( const <a href="ntqstring.html">TQString</a> & hostname, Q_UINT16 port = 80 ) +<h3 class=fn>int <a name="setHost"></a>TQHttp::setHost ( const <a href="ntqstring.html">TQString</a> & hostname, TQ_UINT16 port = 80 ) </h3> Sets the HTTP server that is used for requests to <em>hostname</em> on port <em>port</em>. diff --git a/doc/html/ntqiodevice.html b/doc/html/ntqiodevice.html index 16b77679f..8452d22c0 100644 --- a/doc/html/ntqiodevice.html +++ b/doc/html/ntqiodevice.html @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; } <p><a href="qiodevice-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> -<li class=fn>typedef Q_ULONG <a href="#Offset"><b>Offset</b></a></li> +<li class=fn>typedef TQ_ULONG <a href="#Offset"><b>Offset</b></a></li> <li class=fn><a href="#TQIODevice"><b>TQIODevice</b></a> ()</li> <li class=fn>virtual <a href="#~TQIODevice"><b>~TQIODevice</b></a> ()</li> <li class=fn>int <a href="#flags"><b>flags</b></a> () const</li> @@ -68,10 +68,10 @@ body { background: #ffffff; color: black; } <li class=fn>virtual bool <a href="#at-2"><b>at</b></a> ( Offset pos )</li> <li class=fn>virtual bool <a href="#atEnd"><b>atEnd</b></a> () const</li> <li class=fn>bool <a href="#reset"><b>reset</b></a> ()</li> -<li class=fn>virtual Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, Q_ULONG maxlen ) = 0</li> -<li class=fn>virtual Q_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, Q_ULONG len ) = 0</li> -<li class=fn>virtual Q_LONG <a href="#readLine"><b>readLine</b></a> ( char * data, Q_ULONG maxlen )</li> -<li class=fn>Q_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const TQByteArray & data )</li> +<li class=fn>virtual TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen ) = 0</li> +<li class=fn>virtual TQ_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, TQ_ULONG len ) = 0</li> +<li class=fn>virtual TQ_LONG <a href="#readLine"><b>readLine</b></a> ( char * data, TQ_ULONG maxlen )</li> +<li class=fn>TQ_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const TQByteArray & data )</li> <li class=fn>virtual TQByteArray <a href="#readAll"><b>readAll</b></a> ()</li> <li class=fn>virtual int <a href="#getch"><b>getch</b></a> () = 0</li> <li class=fn>virtual int <a href="#putch"><b>putch</b></a> ( int ch ) = 0</li> @@ -414,7 +414,7 @@ binary data. Cannot be combined with <a href="ntqfile.html#open">IO_Raw</a>. This convenience function returns all of the remaining data in the device. -<h3 class=fn>Q_LONG <a name="readBlock"></a>TQIODevice::readBlock ( char * data, Q_ULONG maxlen )<tt> [pure virtual]</tt> +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQIODevice::readBlock ( char * data, TQ_ULONG maxlen )<tt> [pure virtual]</tt> </h3> <p> Reads at most <em>maxlen</em> bytes from the I/O device into <em>data</em> and @@ -427,7 +427,7 @@ return 0 if there are no bytes to read. <p>Example: <a href="distributor-example.html#x2667">distributor/distributor.ui.h</a>. <p>Reimplemented in <a href="ntqsocket.html#readBlock">TQSocket</a> and <a href="ntqsocketdevice.html#readBlock">TQSocketDevice</a>. -<h3 class=fn>Q_LONG <a name="readLine"></a>TQIODevice::readLine ( char * data, Q_ULONG maxlen )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="readLine"></a>TQIODevice::readLine ( char * data, TQ_ULONG maxlen )<tt> [virtual]</tt> </h3> Reads a line of text, (or up to <em>maxlen</em> bytes if a newline isn't encountered) plus a terminating '\0' into <em>data</em>. If there is a @@ -523,7 +523,7 @@ the index position if it is not zero. <p> <p>See also <a href="#getch">getch</a>() and <a href="#putch">putch</a>(). <p>Reimplemented in <a href="ntqfile.html#ungetch">TQFile</a> and <a href="ntqsocket.html#ungetch">TQSocket</a>. -<h3 class=fn>Q_LONG <a name="writeBlock"></a>TQIODevice::writeBlock ( const char * data, Q_ULONG len )<tt> [pure virtual]</tt> +<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQIODevice::writeBlock ( const char * data, TQ_ULONG len )<tt> [pure virtual]</tt> </h3> <p> Writes <em>len</em> bytes from <em>data</em> to the I/O device and returns the @@ -534,7 +534,7 @@ number of bytes actually written. <p>Example: <a href="distributor-example.html#x2668">distributor/distributor.ui.h</a>. <p>Reimplemented in <a href="ntqbuffer.html#writeBlock">TQBuffer</a>, <a href="ntqsocket.html#writeBlock">TQSocket</a>, and <a href="ntqsocketdevice.html#writeBlock">TQSocketDevice</a>. -<h3 class=fn>Q_LONG <a name="writeBlock-2"></a>TQIODevice::writeBlock ( const <a href="qbytearray.html">TQByteArray</a> & data ) +<h3 class=fn>TQ_LONG <a name="writeBlock-2"></a>TQIODevice::writeBlock ( const <a href="qbytearray.html">TQByteArray</a> & data ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This convenience function is the same as calling <a href="#writeBlock">writeBlock</a>( diff --git a/doc/html/ntqlocale.html b/doc/html/ntqlocale.html index 9f675f2ea..9dafb6398 100644 --- a/doc/html/ntqlocale.html +++ b/doc/html/ntqlocale.html @@ -53,20 +53,20 @@ string representations in various languages. <li class=fn>ushort <a href="#toUShort"><b>toUShort</b></a> ( const TQString & s, bool * ok = 0 ) const</li> <li class=fn>int <a href="#toInt"><b>toInt</b></a> ( const TQString & s, bool * ok = 0 ) const</li> <li class=fn>uint <a href="#toUInt"><b>toUInt</b></a> ( const TQString & s, bool * ok = 0 ) const</li> -<li class=fn>Q_LONG <a href="#toLong"><b>toLong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> -<li class=fn>Q_ULONG <a href="#toULong"><b>toULong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> -<li class=fn>Q_LLONG <a href="#toLongLong"><b>toLongLong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> -<li class=fn>Q_ULLONG <a href="#toULongLong"><b>toULongLong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> +<li class=fn>TQ_LONG <a href="#toLong"><b>toLong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> +<li class=fn>TQ_ULONG <a href="#toULong"><b>toULong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> +<li class=fn>TQ_LLONG <a href="#toLongLong"><b>toLongLong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> +<li class=fn>TQ_ULLONG <a href="#toULongLong"><b>toULongLong</b></a> ( const TQString & s, bool * ok = 0 ) const</li> <li class=fn>float <a href="#toFloat"><b>toFloat</b></a> ( const TQString & s, bool * ok = 0 ) const</li> <li class=fn>double <a href="#toDouble"><b>toDouble</b></a> ( const TQString & s, bool * ok = 0 ) const</li> <li class=fn>TQString <a href="#toString-2"><b>toString</b></a> ( short i ) const</li> <li class=fn>TQString <a href="#toString-3"><b>toString</b></a> ( ushort i ) const</li> <li class=fn>TQString <a href="#toString-4"><b>toString</b></a> ( int i ) const</li> <li class=fn>TQString <a href="#toString-5"><b>toString</b></a> ( uint i ) const</li> -<li class=fn>TQString <a href="#toString-6"><b>toString</b></a> ( Q_LONG i ) const</li> -<li class=fn>TQString <a href="#toString-7"><b>toString</b></a> ( Q_ULONG i ) const</li> -<li class=fn>TQString <a href="#toString"><b>toString</b></a> ( Q_LLONG i ) const</li> -<li class=fn>TQString <a href="#toString-8"><b>toString</b></a> ( Q_ULLONG i ) const</li> +<li class=fn>TQString <a href="#toString-6"><b>toString</b></a> ( TQ_LONG i ) const</li> +<li class=fn>TQString <a href="#toString-7"><b>toString</b></a> ( TQ_ULONG i ) const</li> +<li class=fn>TQString <a href="#toString"><b>toString</b></a> ( TQ_LLONG i ) const</li> +<li class=fn>TQString <a href="#toString-8"><b>toString</b></a> ( TQ_ULLONG i ) const</li> <li class=fn>TQString <a href="#toString-9"><b>toString</b></a> ( float i, char f = 'g', int prec = 6 ) const</li> <li class=fn>TQString <a href="#toString-a"><b>toString</b></a> ( double i, char f = 'g', int prec = 6 ) const</li> </ul> @@ -718,7 +718,7 @@ success by setting *ok to true. <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>Q_LONG <a name="toLong"></a>TQLocale::toLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_LONG <a name="toLong"></a>TQLocale::toLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the long int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -727,7 +727,7 @@ Returns the long int represented by the localized string <em>s</em>, or <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>Q_LLONG <a name="toLongLong"></a>TQLocale::toLongLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_LLONG <a name="toLongLong"></a>TQLocale::toLongLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the long long int represented by the localized string <em>s</em>, or 0 if the conversion failed. <p> If <em>ok</em> is not 0, reports failure by setting @@ -744,7 +744,7 @@ Returns the short int represented by the localized string <em>s</em>, or <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQLocale::toString ( Q_LLONG i ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQLocale::toString ( TQ_LLONG i ) const </h3> Returns a localized string representation of <em>i</em>. <p> <p>See also <a href="#toLongLong">toLongLong</a>(). @@ -773,19 +773,19 @@ Returns a localized string representation of <em>i</em>. <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toUInt">toUInt</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-6"></a>TQLocale::toString ( Q_LONG i ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-6"></a>TQLocale::toString ( TQ_LONG i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toLong">toLong</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-7"></a>TQLocale::toString ( Q_ULONG i ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-7"></a>TQLocale::toString ( TQ_ULONG i ) const </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toULong">toULong</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-8"></a>TQLocale::toString ( Q_ULLONG i ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-8"></a>TQLocale::toString ( TQ_ULLONG i ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#toULongLong">toULongLong</a>(). @@ -812,7 +812,7 @@ or 0 if the conversion failed. <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>Q_ULONG <a name="toULong"></a>TQLocale::toULong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_ULONG <a name="toULong"></a>TQLocale::toULong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the unsigned long int represented by the localized string <em>s</em>, or 0 if the conversion failed. @@ -821,7 +821,7 @@ Returns the unsigned long int represented by the localized string <p> This function ignores leading and trailing whitespace. <p> <p>See also <a href="#toString">toString</a>(). -<h3 class=fn>Q_ULLONG <a name="toULongLong"></a>TQLocale::toULongLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const +<h3 class=fn>TQ_ULLONG <a name="toULongLong"></a>TQLocale::toULongLong ( const <a href="ntqstring.html">TQString</a> & s, bool * ok = 0 ) const </h3> Returns the unsigned long long int represented by the localized string <em>s</em>, or 0 if the conversion failed. diff --git a/doc/html/ntqmemarray.html b/doc/html/ntqmemarray.html index 32f1e2519..c20eeb6c3 100644 --- a/doc/html/ntqmemarray.html +++ b/doc/html/ntqmemarray.html @@ -84,7 +84,7 @@ body { background: #ffffff; color: black; } </ul> <h2>Related Functions</h2> <ul> -<li class=fn>Q_UINT16 <a href="#qChecksum"><b>qChecksum</b></a> ( const char * data, uint len )</li> +<li class=fn>TQ_UINT16 <a href="#qChecksum"><b>qChecksum</b></a> ( const char * data, uint len )</li> <li class=fn>TQDataStream & <a href="#operator-lt-lt"><b>operator<<</b></a> ( TQDataStream & s, const TQByteArray & a )</li> <li class=fn>TQDataStream & <a href="#operator-gt-gt"><b>operator>></b></a> ( TQDataStream & s, TQByteArray & a )</li> </ul> @@ -542,7 +542,7 @@ to the stream. reference to the stream. <p> <p>See also <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn>Q_UINT16 <a name="qChecksum"></a>qChecksum ( const char * data, uint len ) +<h3 class=fn>TQ_UINT16 <a name="qChecksum"></a>qChecksum ( const char * data, uint len ) </h3> <p> Returns the CRC-16 checksum of <em>len</em> bytes starting at <em>data</em>. diff --git a/doc/html/ntqserversocket.html b/doc/html/ntqserversocket.html index 976dc8163..ac0707af5 100644 --- a/doc/html/ntqserversocket.html +++ b/doc/html/ntqserversocket.html @@ -38,12 +38,12 @@ body { background: #ffffff; color: black; } <p><a href="qserversocket-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> -<li class=fn><a href="#TQServerSocket"><b>TQServerSocket</b></a> ( Q_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )</li> -<li class=fn><a href="#TQServerSocket-2"><b>TQServerSocket</b></a> ( const TQHostAddress & address, Q_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )</li> +<li class=fn><a href="#TQServerSocket"><b>TQServerSocket</b></a> ( TQ_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )</li> +<li class=fn><a href="#TQServerSocket-2"><b>TQServerSocket</b></a> ( const TQHostAddress & address, TQ_UINT16 port, int backlog = 1, TQObject * parent = 0, const char * name = 0 )</li> <li class=fn><a href="#TQServerSocket-3"><b>TQServerSocket</b></a> ( TQObject * parent = 0, const char * name = 0 )</li> <li class=fn>virtual <a href="#~TQServerSocket"><b>~TQServerSocket</b></a> ()</li> <li class=fn>bool <a href="#ok"><b>ok</b></a> () const</li> -<li class=fn>Q_UINT16 <a href="#port"><b>port</b></a> () const</li> +<li class=fn>TQ_UINT16 <a href="#port"><b>port</b></a> () const</li> <li class=fn>int <a href="#socket"><b>socket</b></a> () const</li> <li class=fn>virtual void <a href="#setSocket"><b>setSocket</b></a> ( int socket )</li> <li class=fn>TQHostAddress <a href="#address"><b>address</b></a> () const</li> @@ -72,7 +72,7 @@ TQServerSocket cannot accept or reject connections conditionally.) <p> <p>See also <a href="ntqsocket.html">TQSocket</a>, <a href="ntqsocketdevice.html">TQSocketDevice</a>, <a href="ntqhostaddress.html">TQHostAddress</a>, <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, and <a href="io.html">Input/Output and Networking</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQServerSocket"></a>TQServerSocket::TQServerSocket ( Q_UINT16 port, int backlog = 1, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQServerSocket"></a>TQServerSocket::TQServerSocket ( TQ_UINT16 port, int backlog = 1, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) </h3> Creates a server socket object, that will serve the given <em>port</em> on all the addresses of this host. If <em>port</em> 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. -<h3 class=fn><a name="TQServerSocket-2"></a>TQServerSocket::TQServerSocket ( const <a href="ntqhostaddress.html">TQHostAddress</a> & address, Q_UINT16 port, int backlog = 1, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQServerSocket-2"></a>TQServerSocket::TQServerSocket ( const <a href="ntqhostaddress.html">TQHostAddress</a> & address, TQ_UINT16 port, int backlog = 1, <a href="ntqobject.html">TQObject</a> * parent = 0, const char * name = 0 ) </h3> Creates a server socket object, that will serve the given <em>port</em> only on the given <em>address</em>. Use <em>backlog</em> to specify how many @@ -132,7 +132,7 @@ newly accepted connection. </h3> Returns TRUE if the construction succeeded; otherwise returns FALSE. -<h3 class=fn>Q_UINT16 <a name="port"></a>TQServerSocket::port () const +<h3 class=fn>TQ_UINT16 <a name="port"></a>TQServerSocket::port () const </h3> 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 7faad57d0..925fc8572 100644 --- a/doc/html/ntqsocket.html +++ b/doc/html/ntqsocket.html @@ -47,7 +47,7 @@ body { background: #ffffff; color: black; } <li class=fn>virtual void <a href="#setSocket"><b>setSocket</b></a> ( int socket )</li> <li class=fn>TQSocketDevice * <a href="#socketDevice"><b>socketDevice</b></a> ()</li> <li class=fn>virtual void <a href="#setSocketDevice"><b>setSocketDevice</b></a> ( TQSocketDevice * device )</li> -<li class=fn>virtual void <a href="#connectToHost"><b>connectToHost</b></a> ( const TQString & host, Q_UINT16 port )</li> +<li class=fn>virtual void <a href="#connectToHost"><b>connectToHost</b></a> ( const TQString & host, TQ_UINT16 port )</li> <li class=fn>TQString <a href="#peerName"><b>peerName</b></a> () const</li> <li class=fn>virtual bool <a href="#open"><b>open</b></a> ( int m )</li> <li class=fn>virtual void <a href="#close"><b>close</b></a> ()</li> @@ -56,24 +56,24 @@ body { background: #ffffff; color: black; } <li class=fn>virtual Offset <a href="#at"><b>at</b></a> () const</li> <li class=fn>virtual bool <a href="#at-2"><b>at</b></a> ( Offset index )</li> <li class=fn>virtual bool <a href="#atEnd"><b>atEnd</b></a> () const</li> -<li class=fn>Q_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> -<li class=fn>Q_ULONG <a href="#waitForMore"><b>waitForMore</b></a> ( int msecs, bool * timeout ) const</li> -<li class=fn>Q_ULONG <a href="#waitForMore-2"><b>waitForMore</b></a> ( int msecs ) const</li> -<li class=fn>Q_ULONG <a href="#bytesToWrite"><b>bytesToWrite</b></a> () const</li> +<li class=fn>TQ_ULONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> +<li class=fn>TQ_ULONG <a href="#waitForMore"><b>waitForMore</b></a> ( int msecs, bool * timeout ) const</li> +<li class=fn>TQ_ULONG <a href="#waitForMore-2"><b>waitForMore</b></a> ( int msecs ) const</li> +<li class=fn>TQ_ULONG <a href="#bytesToWrite"><b>bytesToWrite</b></a> () const</li> <li class=fn>void <a href="#clearPendingData"><b>clearPendingData</b></a> ()</li> -<li class=fn>virtual Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, Q_ULONG maxlen )</li> -<li class=fn>virtual Q_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, Q_ULONG len )</li> +<li class=fn>virtual TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen )</li> +<li class=fn>virtual TQ_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, TQ_ULONG len )</li> <li class=fn>virtual int <a href="#getch"><b>getch</b></a> ()</li> <li class=fn>virtual int <a href="#putch"><b>putch</b></a> ( int ch )</li> <li class=fn>virtual int <a href="#ungetch"><b>ungetch</b></a> ( int ch )</li> <li class=fn>bool <a href="#canReadLine"><b>canReadLine</b></a> () const</li> <li class=fn>virtual TQString <a href="#readLine"><b>readLine</b></a> ()</li> -<li class=fn>Q_UINT16 <a href="#port"><b>port</b></a> () const</li> -<li class=fn>Q_UINT16 <a href="#peerPort"><b>peerPort</b></a> () const</li> +<li class=fn>TQ_UINT16 <a href="#port"><b>port</b></a> () const</li> +<li class=fn>TQ_UINT16 <a href="#peerPort"><b>peerPort</b></a> () const</li> <li class=fn>TQHostAddress <a href="#address"><b>address</b></a> () const</li> <li class=fn>TQHostAddress <a href="#peerAddress"><b>peerAddress</b></a> () const</li> -<li class=fn>void <a href="#setReadBufferSize"><b>setReadBufferSize</b></a> ( Q_ULONG bufSize )</li> -<li class=fn>Q_ULONG <a href="#readBufferSize"><b>readBufferSize</b></a> () const</li> +<li class=fn>void <a href="#setReadBufferSize"><b>setReadBufferSize</b></a> ( TQ_ULONG bufSize )</li> +<li class=fn>TQ_ULONG <a href="#readBufferSize"><b>readBufferSize</b></a> () const</li> </ul> <h2>Signals</h2> <ul> @@ -197,7 +197,7 @@ index forward means skipping incoming data. Returns TRUE if there is no more data to read; otherwise returns FALSE. <p>Reimplemented from <a href="ntqiodevice.html#atEnd">TQIODevice</a>. -<h3 class=fn>Q_ULONG <a name="bytesAvailable"></a>TQSocket::bytesAvailable () const +<h3 class=fn>TQ_ULONG <a name="bytesAvailable"></a>TQSocket::bytesAvailable () const </h3> Returns the number of incoming bytes that can be read, i.e. the size of the input buffer. Equivalent to <a href="#size">size</a>(). @@ -206,7 +206,7 @@ arrived on the socket. <p> <p>See also <a href="#bytesToWrite">bytesToWrite</a>(). <p>Example: <a href="networkprotocol-example.html#x677">network/networkprotocol/nntp.cpp</a>. -<h3 class=fn>Q_ULONG <a name="bytesToWrite"></a>TQSocket::bytesToWrite () const +<h3 class=fn>TQ_ULONG <a name="bytesToWrite"></a>TQSocket::bytesToWrite () const </h3> 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 <a href="#delayedCloseFinished">delayedCloseFinished</a>() si <p>Examples: <a href="clientserver-example.html#x796">network/clientserver/client/client.cpp</a>, <a href="httpd-example.html#x728">network/httpd/httpd.cpp</a>, and <a href="networkprotocol-example.html#x679">network/networkprotocol/nntp.cpp</a>. <p>Reimplemented from <a href="ntqiodevice.html#close">TQIODevice</a>. -<h3 class=fn>void <a name="connectToHost"></a>TQSocket::connectToHost ( const <a href="ntqstring.html">TQString</a> & host, Q_UINT16 port )<tt> [virtual]</tt> +<h3 class=fn>void <a name="connectToHost"></a>TQSocket::connectToHost ( const <a href="ntqstring.html">TQString</a> & host, TQ_UINT16 port )<tt> [virtual]</tt> </h3> Attempts to make a connection to <em>host</em> on the specified <em>port</em> and return immediately. @@ -350,7 +350,7 @@ Returns the host name as specified to the <a href="#connectToHost">connectToHost function. An empty string is returned if none has been set. <p>Example: <a href="mail-example.html#x712">network/mail/smtp.cpp</a>. -<h3 class=fn>Q_UINT16 <a name="peerPort"></a>TQSocket::peerPort () const +<h3 class=fn>TQ_UINT16 <a name="peerPort"></a>TQSocket::peerPort () const </h3> Returns the peer's host port number, normally as specified to the <a href="#connectToHost">connectToHost</a>() function. If none has been set, this function @@ -358,7 +358,7 @@ returns 0. <p> Note that TQt always uses native byte order, i.e. 67 is 67 in TQt; there is no need to call htons(). -<h3 class=fn>Q_UINT16 <a name="port"></a>TQSocket::port () const +<h3 class=fn>TQ_UINT16 <a name="port"></a>TQSocket::port () const </h3> Returns the host port number of this socket, in native byte order. @@ -369,14 +369,14 @@ Writes the character <em>ch</em> to the output buffer. <p> <p>See also <a href="#getch">getch</a>(). <p>Reimplemented from <a href="ntqiodevice.html#putch">TQIODevice</a>. -<h3 class=fn>Q_LONG <a name="readBlock"></a>TQSocket::readBlock ( char * data, Q_ULONG maxlen )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQSocket::readBlock ( char * data, TQ_ULONG maxlen )<tt> [virtual]</tt> </h3> Reads <em>maxlen</em> bytes from the socket into <em>data</em> and returns the number of bytes read. Returns -1 if an error occurred. <p>Example: <a href="networkprotocol-example.html#x685">network/networkprotocol/nntp.cpp</a>. <p>Reimplemented from <a href="ntqiodevice.html#readBlock">TQIODevice</a>. -<h3 class=fn>Q_ULONG <a name="readBufferSize"></a>TQSocket::readBufferSize () const +<h3 class=fn>TQ_ULONG <a name="readBufferSize"></a>TQSocket::readBufferSize () const </h3> Returns the size of the read buffer. <p> <p>See also <a href="#setReadBufferSize">setReadBufferSize</a>(). @@ -400,7 +400,7 @@ you need to receive more data to be able to process it. <p> <p>See also <a href="#readBlock">readBlock</a>(), <a href="#readLine">readLine</a>(), and <a href="#bytesAvailable">bytesAvailable</a>(). <p>Examples: <a href="clientserver-example.html#x803">network/clientserver/client/client.cpp</a>, <a href="httpd-example.html#x731">network/httpd/httpd.cpp</a>, <a href="mail-example.html#x714">network/mail/smtp.cpp</a>, and <a href="networkprotocol-example.html#x687">network/networkprotocol/nntp.cpp</a>. -<h3 class=fn>void <a name="setReadBufferSize"></a>TQSocket::setReadBufferSize ( Q_ULONG bufSize ) +<h3 class=fn>void <a name="setReadBufferSize"></a>TQSocket::setReadBufferSize ( TQ_ULONG bufSize ) </h3> Sets the size of the TQSocket's internal read buffer to <em>bufSize</em>. <p> Usually TQSocket reads all data that is available from the operating @@ -463,7 +463,7 @@ prepends the character <em>ch</em> to the read buffer so that the next read returns this character as the first character of the output. <p>Reimplemented from <a href="ntqiodevice.html#ungetch">TQIODevice</a>. -<h3 class=fn>Q_ULONG <a name="waitForMore"></a>TQSocket::waitForMore ( int msecs, bool * timeout ) const +<h3 class=fn>TQ_ULONG <a name="waitForMore"></a>TQSocket::waitForMore ( int msecs, bool * timeout ) const </h3> Wait up to <em>msecs</em> milliseconds for more data to be available. <p> If <em>msecs</em> is -1 the call will block indefinitely. @@ -477,10 +477,10 @@ closed the connection. driven applications. <p> <p>See also <a href="#bytesAvailable">bytesAvailable</a>(). -<h3 class=fn>Q_ULONG <a name="waitForMore-2"></a>TQSocket::waitForMore ( int msecs ) const +<h3 class=fn>TQ_ULONG <a name="waitForMore-2"></a>TQSocket::waitForMore ( int msecs ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> -<h3 class=fn>Q_LONG <a name="writeBlock"></a>TQSocket::writeBlock ( const char * data, Q_ULONG len )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQSocket::writeBlock ( const char * data, TQ_ULONG len )<tt> [virtual]</tt> </h3> Writes <em>len</em> bytes to the socket from <em>data</em> 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 c3a4afc75..7328da116 100644 --- a/doc/html/ntqsocketdevice.html +++ b/doc/html/ntqsocketdevice.html @@ -57,17 +57,17 @@ body { background: #ffffff; color: black; } <li class=fn>virtual void <a href="#setReceiveBufferSize"><b>setReceiveBufferSize</b></a> ( uint size )</li> <li class=fn>int <a href="#sendBufferSize"><b>sendBufferSize</b></a> () const</li> <li class=fn>virtual void <a href="#setSendBufferSize"><b>setSendBufferSize</b></a> ( uint size )</li> -<li class=fn>virtual bool <a href="#connect"><b>connect</b></a> ( const TQHostAddress & addr, Q_UINT16 port )</li> -<li class=fn>virtual bool <a href="#bind"><b>bind</b></a> ( const TQHostAddress & address, Q_UINT16 port )</li> +<li class=fn>virtual bool <a href="#connect"><b>connect</b></a> ( const TQHostAddress & addr, TQ_UINT16 port )</li> +<li class=fn>virtual bool <a href="#bind"><b>bind</b></a> ( const TQHostAddress & address, TQ_UINT16 port )</li> <li class=fn>virtual bool <a href="#listen"><b>listen</b></a> ( int backlog )</li> <li class=fn>virtual int <a href="#accept"><b>accept</b></a> ()</li> -<li class=fn>Q_LONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> -<li class=fn>Q_LONG <a href="#waitForMore"><b>waitForMore</b></a> ( int msecs, bool * timeout = 0 ) const</li> -<li class=fn>virtual Q_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, Q_ULONG maxlen )</li> -<li class=fn>virtual Q_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, Q_ULONG len )</li> -<li class=fn>virtual Q_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const char * data, Q_ULONG len, const TQHostAddress & host, Q_UINT16 port )</li> -<li class=fn>Q_UINT16 <a href="#port"><b>port</b></a> () const</li> -<li class=fn>Q_UINT16 <a href="#peerPort"><b>peerPort</b></a> () const</li> +<li class=fn>TQ_LONG <a href="#bytesAvailable"><b>bytesAvailable</b></a> () const</li> +<li class=fn>TQ_LONG <a href="#waitForMore"><b>waitForMore</b></a> ( int msecs, bool * timeout = 0 ) const</li> +<li class=fn>virtual TQ_LONG <a href="#readBlock"><b>readBlock</b></a> ( char * data, TQ_ULONG maxlen )</li> +<li class=fn>virtual TQ_LONG <a href="#writeBlock"><b>writeBlock</b></a> ( const char * data, TQ_ULONG len )</li> +<li class=fn>virtual TQ_LONG <a href="#writeBlock-2"><b>writeBlock</b></a> ( const char * data, TQ_ULONG len, const TQHostAddress & host, TQ_UINT16 port )</li> +<li class=fn>TQ_UINT16 <a href="#port"><b>port</b></a> () const</li> +<li class=fn>TQ_UINT16 <a href="#peerPort"><b>peerPort</b></a> () const</li> <li class=fn>TQHostAddress <a href="#address"><b>address</b></a> () const</li> <li class=fn>TQHostAddress <a href="#peerAddress"><b>peerAddress</b></a> () const</li> <li class=fn>enum <a href="#Error-enum"><b>Error</b></a> { NoError, AlreadyBound, Inaccessible, NoResources, InternalError, Bug = InternalError, Impossible, NoFiles, ConnectionRefused, NetworkFailure, UnknownError }</li> @@ -199,7 +199,7 @@ sockets at the same time, and FALSE if this socket claims exclusive ownership. <p> <p>See also <a href="#setAddressReusable">setAddressReusable</a>(). -<h3 class=fn>bool <a name="bind"></a>TQSocketDevice::bind ( const <a href="ntqhostaddress.html">TQHostAddress</a> & address, Q_UINT16 port )<tt> [virtual]</tt> +<h3 class=fn>bool <a name="bind"></a>TQSocketDevice::bind ( const <a href="ntqhostaddress.html">TQHostAddress</a> & address, TQ_UINT16 port )<tt> [virtual]</tt> </h3> Assigns a name to an unnamed socket. The name is the host address <em>address</em> and the port number <em>port</em>. If the operation succeeds, @@ -217,7 +217,7 @@ otherwise returns FALSE. ioctlsocket() function is broken. <p> <p>See also <a href="#setBlocking">setBlocking</a>() and <a href="#isValid">isValid</a>(). -<h3 class=fn>Q_LONG <a name="bytesAvailable"></a>TQSocketDevice::bytesAvailable () const +<h3 class=fn>TQ_LONG <a name="bytesAvailable"></a>TQSocketDevice::bytesAvailable () const </h3> 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 <a href="#readBlock">readBlock</a>(). <a href="ntqsocket.html">TQSocket</a> has workarounds to deal with this problem. -<h3 class=fn>bool <a name="connect"></a>TQSocketDevice::connect ( const <a href="ntqhostaddress.html">TQHostAddress</a> & addr, Q_UINT16 port )<tt> [virtual]</tt> +<h3 class=fn>bool <a name="connect"></a>TQSocketDevice::connect ( const <a href="ntqhostaddress.html">TQHostAddress</a> & addr, TQ_UINT16 port )<tt> [virtual]</tt> </h3> Connects to the IP address and port specified by <em>addr</em> and <em>port</em>. Returns TRUE if it establishes a connection; otherwise returns FALSE. If it returns FALSE, <a href="#error">error</a>() explains why. @@ -262,7 +262,7 @@ sensible as soon as a sensible value is available. <p> Note that for Datagram sockets, this is the source port of the last packet received. -<h3 class=fn>Q_UINT16 <a name="peerPort"></a>TQSocketDevice::peerPort () const +<h3 class=fn>TQ_UINT16 <a name="peerPort"></a>TQSocketDevice::peerPort () const </h3> 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. <p> Note that for Datagram sockets, this is the source port of the last packet received, and that it is in native byte order. -<h3 class=fn>Q_UINT16 <a name="port"></a>TQSocketDevice::port () const +<h3 class=fn>TQ_UINT16 <a name="port"></a>TQSocketDevice::port () const </h3> 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 <a href="#Protocol-enum">Unknown</a>. <p> <p>See also <a href="#Protocol-enum">Protocol</a> and <a href="#setSocket">setSocket</a>(). -<h3 class=fn>Q_LONG <a name="readBlock"></a>TQSocketDevice::readBlock ( char * data, Q_ULONG maxlen )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="readBlock"></a>TQSocketDevice::readBlock ( char * data, TQ_ULONG maxlen )<tt> [virtual]</tt> </h3> Reads <em>maxlen</em> bytes from the socket into <em>data</em> 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 <a href="#Type-enum">TQSocketDevice::Datagram</a>. <p> <p>See also <a href="#socket">socket</a>(). -<h3 class=fn>Q_LONG <a name="waitForMore"></a>TQSocketDevice::waitForMore ( int msecs, bool * timeout = 0 ) const +<h3 class=fn>TQ_LONG <a name="waitForMore"></a>TQSocketDevice::waitForMore ( int msecs, bool * timeout = 0 ) const </h3> Wait up to <em>msecs</em> milliseconds for more data to be available. If <em>msecs</em> is -1 the call will block indefinitely. @@ -391,14 +391,14 @@ closed the connection. driven applications. <p> <p>See also <a href="#bytesAvailable">bytesAvailable</a>(). -<h3 class=fn>Q_LONG <a name="writeBlock"></a>TQSocketDevice::writeBlock ( const char * data, Q_ULONG len )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="writeBlock"></a>TQSocketDevice::writeBlock ( const char * data, TQ_ULONG len )<tt> [virtual]</tt> </h3> Writes <em>len</em> bytes to the socket from <em>data</em> and returns the number of bytes written. Returns -1 if an error occurred. <p> This is used for <a href="#Type-enum">TQSocketDevice::Stream</a> sockets. <p>Reimplemented from <a href="ntqiodevice.html#writeBlock">TQIODevice</a>. -<h3 class=fn>Q_LONG <a name="writeBlock-2"></a>TQSocketDevice::writeBlock ( const char * data, Q_ULONG len, const <a href="ntqhostaddress.html">TQHostAddress</a> & host, Q_UINT16 port )<tt> [virtual]</tt> +<h3 class=fn>TQ_LONG <a name="writeBlock-2"></a>TQSocketDevice::writeBlock ( const char * data, TQ_ULONG len, const <a href="ntqhostaddress.html">TQHostAddress</a> & host, TQ_UINT16 port )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Writes <em>len</em> bytes to the socket from <em>data</em> and returns the diff --git a/doc/html/ntqstring.html b/doc/html/ntqstring.html index e6c5edfe8..e15ba9ba0 100644 --- a/doc/html/ntqstring.html +++ b/doc/html/ntqstring.html @@ -61,8 +61,8 @@ and the classic C '\0'-terminated char array. <li class=fn>TQString copy () const <em>(obsolete)</em></li> <li class=fn>TQString <a href="#arg-2"><b>arg</b></a> ( long a, int fieldWidth = 0, int base = 10 ) const</li> <li class=fn>TQString <a href="#arg-3"><b>arg</b></a> ( ulong a, int fieldWidth = 0, int base = 10 ) const</li> -<li class=fn>TQString <a href="#arg-4"><b>arg</b></a> ( Q_LLONG a, int fieldWidth = 0, int base = 10 ) const</li> -<li class=fn>TQString <a href="#arg-5"><b>arg</b></a> ( Q_ULLONG a, int fieldWidth = 0, int base = 10 ) const</li> +<li class=fn>TQString <a href="#arg-4"><b>arg</b></a> ( TQ_LLONG a, int fieldWidth = 0, int base = 10 ) const</li> +<li class=fn>TQString <a href="#arg-5"><b>arg</b></a> ( TQ_ULLONG a, int fieldWidth = 0, int base = 10 ) const</li> <li class=fn>TQString <a href="#arg-6"><b>arg</b></a> ( int a, int fieldWidth = 0, int base = 10 ) const</li> <li class=fn>TQString <a href="#arg-7"><b>arg</b></a> ( uint a, int fieldWidth = 0, int base = 10 ) const</li> <li class=fn>TQString <a href="#arg-8"><b>arg</b></a> ( short a, int fieldWidth = 0, int base = 10 ) const</li> @@ -144,8 +144,8 @@ and the classic C '\0'-terminated char array. <li class=fn>uint <a href="#toUInt"><b>toUInt</b></a> ( bool * ok = 0, int base = 10 ) const</li> <li class=fn>long <a href="#toLong"><b>toLong</b></a> ( bool * ok = 0, int base = 10 ) const</li> <li class=fn>ulong <a href="#toULong"><b>toULong</b></a> ( bool * ok = 0, int base = 10 ) const</li> -<li class=fn>Q_LLONG <a href="#toLongLong"><b>toLongLong</b></a> ( bool * ok = 0, int base = 10 ) const</li> -<li class=fn>Q_ULLONG <a href="#toULongLong"><b>toULongLong</b></a> ( bool * ok = 0, int base = 10 ) const</li> +<li class=fn>TQ_LLONG <a href="#toLongLong"><b>toLongLong</b></a> ( bool * ok = 0, int base = 10 ) const</li> +<li class=fn>TQ_ULLONG <a href="#toULongLong"><b>toULongLong</b></a> ( bool * ok = 0, int base = 10 ) const</li> <li class=fn>float <a href="#toFloat"><b>toFloat</b></a> ( bool * ok = 0 ) const</li> <li class=fn>double <a href="#toDouble"><b>toDouble</b></a> ( bool * ok = 0 ) const</li> <li class=fn>TQString & <a href="#setNum-2"><b>setNum</b></a> ( short n, int base = 10 )</li> @@ -154,8 +154,8 @@ and the classic C '\0'-terminated char array. <li class=fn>TQString & <a href="#setNum-5"><b>setNum</b></a> ( uint n, int base = 10 )</li> <li class=fn>TQString & <a href="#setNum-6"><b>setNum</b></a> ( long n, int base = 10 )</li> <li class=fn>TQString & <a href="#setNum-7"><b>setNum</b></a> ( ulong n, int base = 10 )</li> -<li class=fn>TQString & <a href="#setNum"><b>setNum</b></a> ( Q_LLONG n, int base = 10 )</li> -<li class=fn>TQString & <a href="#setNum-8"><b>setNum</b></a> ( Q_ULLONG n, int base = 10 )</li> +<li class=fn>TQString & <a href="#setNum"><b>setNum</b></a> ( TQ_LLONG n, int base = 10 )</li> +<li class=fn>TQString & <a href="#setNum-8"><b>setNum</b></a> ( TQ_ULLONG n, int base = 10 )</li> <li class=fn>TQString & <a href="#setNum-9"><b>setNum</b></a> ( float n, char f = 'g', int prec = 6 )</li> <li class=fn>TQString & <a href="#setNum-a"><b>setNum</b></a> ( double n, char f = 'g', int prec = 6 )</li> <li class=fn>void setExpand ( uint index, TQChar c ) <em>(obsolete)</em></li> @@ -199,8 +199,8 @@ and the classic C '\0'-terminated char array. <ul> <li class=fn>TQString <a href="#number"><b>number</b></a> ( long n, int base = 10 )</li> <li class=fn>TQString <a href="#number-2"><b>number</b></a> ( ulong n, int base = 10 )</li> -<li class=fn>TQString <a href="#number-3"><b>number</b></a> ( Q_LLONG n, int base = 10 )</li> -<li class=fn>TQString <a href="#number-4"><b>number</b></a> ( Q_ULLONG n, int base = 10 )</li> +<li class=fn>TQString <a href="#number-3"><b>number</b></a> ( TQ_LLONG n, int base = 10 )</li> +<li class=fn>TQString <a href="#number-4"><b>number</b></a> ( TQ_ULLONG n, int base = 10 )</li> <li class=fn>TQString <a href="#number-5"><b>number</b></a> ( int n, int base = 10 )</li> <li class=fn>TQString <a href="#number-6"><b>number</b></a> ( uint n, int base = 10 )</li> <li class=fn>TQString <a href="#number-7"><b>number</b></a> ( double n, char f = 'g', int prec = 6 )</li> @@ -507,14 +507,14 @@ This is an overloaded member function, provided for convenience. It behaves esse be between 2 and 36. If <em>base</em> is 10, the '%L' syntax can be used to produce localized strings. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="arg-4"></a>TQString::arg ( Q_LLONG a, int fieldWidth = 0, int base = 10 ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="arg-4"></a>TQString::arg ( TQ_LLONG a, int fieldWidth = 0, int base = 10 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <em>a</em> is expressed in base <em>base</em>, which is 10 by default and must be between 2 and 36. If <em>base</em> is 10, the '%L' syntax can be used to produce localized strings. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="arg-5"></a>TQString::arg ( Q_ULLONG a, int fieldWidth = 0, int base = 10 ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="arg-5"></a>TQString::arg ( TQ_ULLONG a, int fieldWidth = 0, int base = 10 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <em>a</em> is expressed in base <em>base</em>, 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. <p> <p>See also <a href="#setNum">setNum</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="number-3"></a>TQString::number ( Q_LLONG n, int base = 10 )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="number-3"></a>TQString::number ( TQ_LLONG n, int base = 10 )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#setNum">setNum</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="number-4"></a>TQString::number ( Q_ULLONG n, int base = 10 )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="number-4"></a>TQString::number ( TQ_ULLONG n, int base = 10 )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <p>See also <a href="#setNum">setNum</a>(). @@ -1780,7 +1780,7 @@ string, and sets the length of the string to <em>newLen</em>. Any new space allocated contains arbitrary data. <p> <p>See also <a href="#reserve">reserve</a>() and <a href="#truncate">truncate</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> & <a name="setNum"></a>TQString::setNum ( Q_LLONG n, int base = 10 ) +<h3 class=fn><a href="ntqstring.html">TQString</a> & <a name="setNum"></a>TQString::setNum ( TQ_LLONG n, int base = 10 ) </h3> Sets the string to the printed value of <em>n</em> in base <em>base</em> and returns a reference to the string. The returned string is in "C" locale. @@ -1833,7 +1833,7 @@ returns a reference to the string. <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> -<h3 class=fn><a href="ntqstring.html">TQString</a> & <a name="setNum-8"></a>TQString::setNum ( Q_ULLONG n, int base = 10 ) +<h3 class=fn><a href="ntqstring.html">TQString</a> & <a name="setNum-8"></a>TQString::setNum ( TQ_ULLONG n, int base = 10 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the string to the printed value of <em>n</em> in base <em>base</em> and @@ -2072,7 +2072,7 @@ FALSE; otherwise <em>*ok</em> is set to TRUE. localized input, see <a href="#toDouble">toDouble</a>(). <p> <p>See also <a href="#number">number</a>(). -<h3 class=fn>Q_LLONG <a name="toLongLong"></a>TQString::toLongLong ( bool * ok = 0, int base = 10 ) const +<h3 class=fn>TQ_LLONG <a name="toLongLong"></a>TQString::toLongLong ( bool * ok = 0, int base = 10 ) const </h3> Returns the string converted to a <tt>long long</tt> using base <em>base</em>, which is 10 by default and must be between 2 and 36 or 0. If <em>base</em> is 0, the base is determined automatically using the @@ -2148,7 +2148,7 @@ FALSE; otherwise <em>*ok</em> is set to TRUE. localized input, see <a href="#toDouble">toDouble</a>(). <p> <p>See also <a href="#number">number</a>(). -<h3 class=fn>Q_ULLONG <a name="toULongLong"></a>TQString::toULongLong ( bool * ok = 0, int base = 10 ) const +<h3 class=fn>TQ_ULLONG <a name="toULongLong"></a>TQString::toULongLong ( bool * ok = 0, int base = 10 ) const </h3> Returns the string converted to an <tt>unsigned long long</tt> using base <em>base</em>, which is 10 by default and must be between 2 and 36 or 0. If <em>base</em> is 0, the base is determined automatically using the diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index 8f517bf7f..b07fde3ec 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -72,8 +72,8 @@ body { background: #ffffff; color: black; } <li class=fn><a href="#TQVariant-v"><b>TQVariant</b></a> ( const TQMap<TQString, TQVariant> & val )</li> <li class=fn><a href="#TQVariant-w"><b>TQVariant</b></a> ( int val )</li> <li class=fn><a href="#TQVariant-x"><b>TQVariant</b></a> ( uint val )</li> -<li class=fn><a href="#TQVariant-y"><b>TQVariant</b></a> ( Q_LLONG val )</li> -<li class=fn><a href="#TQVariant-z"><b>TQVariant</b></a> ( Q_ULLONG val )</li> +<li class=fn><a href="#TQVariant-y"><b>TQVariant</b></a> ( TQ_LLONG val )</li> +<li class=fn><a href="#TQVariant-z"><b>TQVariant</b></a> ( TQ_ULLONG val )</li> <li class=fn><a href="#TQVariant-10"><b>TQVariant</b></a> ( bool val, int )</li> <li class=fn><a href="#TQVariant-11"><b>TQVariant</b></a> ( double val )</li> <li class=fn><a href="#TQVariant-12"><b>TQVariant</b></a> ( TQSizePolicy val )</li> @@ -114,8 +114,8 @@ body { background: #ffffff; color: black; } <li class=fn>const TQPen <a href="#toPen"><b>toPen</b></a> () const</li> <li class=fn>int <a href="#toInt"><b>toInt</b></a> ( bool * ok = 0 ) const</li> <li class=fn>uint <a href="#toUInt"><b>toUInt</b></a> ( bool * ok = 0 ) const</li> -<li class=fn>Q_LLONG <a href="#toLongLong"><b>toLongLong</b></a> ( bool * ok = 0 ) const</li> -<li class=fn>Q_ULLONG <a href="#toULongLong"><b>toULongLong</b></a> ( bool * ok = 0 ) const</li> +<li class=fn>TQ_LLONG <a href="#toLongLong"><b>toLongLong</b></a> ( bool * ok = 0 ) const</li> +<li class=fn>TQ_ULLONG <a href="#toULongLong"><b>toULongLong</b></a> ( bool * ok = 0 ) const</li> <li class=fn>bool <a href="#toBool"><b>toBool</b></a> () const</li> <li class=fn>double <a href="#toDouble"><b>toDouble</b></a> ( bool * ok = 0 ) const</li> <li class=fn>const TQValueList<TQVariant> <a href="#toList"><b>toList</b></a> () const</li> @@ -155,8 +155,8 @@ body { background: #ffffff; color: black; } <li class=fn>TQPen & <a href="#asPen"><b>asPen</b></a> ()</li> <li class=fn>int & <a href="#asInt"><b>asInt</b></a> ()</li> <li class=fn>uint & <a href="#asUInt"><b>asUInt</b></a> ()</li> -<li class=fn>Q_LLONG & <a href="#asLongLong"><b>asLongLong</b></a> ()</li> -<li class=fn>Q_ULLONG & <a href="#asULongLong"><b>asULongLong</b></a> ()</li> +<li class=fn>TQ_LLONG & <a href="#asLongLong"><b>asLongLong</b></a> ()</li> +<li class=fn>TQ_ULLONG & <a href="#asULongLong"><b>asULongLong</b></a> ()</li> <li class=fn>bool & <a href="#asBool"><b>asBool</b></a> ()</li> <li class=fn>double & <a href="#asDouble"><b>asDouble</b></a> ()</li> <li class=fn>TQValueList<TQVariant> & <a href="#asList"><b>asList</b></a> ()</li> @@ -442,11 +442,11 @@ Constructs a new variant with an integer value, <em>val</em>. </h3> Constructs a new variant with an unsigned integer value, <em>val</em>. -<h3 class=fn><a name="TQVariant-y"></a>TQVariant::TQVariant ( Q_LLONG val ) +<h3 class=fn><a name="TQVariant-y"></a>TQVariant::TQVariant ( TQ_LLONG val ) </h3> Constructs a new variant with a long long integer value, <em>val</em>. -<h3 class=fn><a name="TQVariant-z"></a>TQVariant::TQVariant ( Q_ULLONG val ) +<h3 class=fn><a name="TQVariant-z"></a>TQVariant::TQVariant ( TQ_ULLONG val ) </h3> Constructs a new variant with an unsigned long long integer value, <em>val</em>. @@ -598,7 +598,7 @@ over a copy, e.g. </pre> -<h3 class=fn>Q_LLONG & <a name="asLongLong"></a>TQVariant::asLongLong () +<h3 class=fn>TQ_LLONG & <a name="asLongLong"></a>TQVariant::asLongLong () </h3> Returns the variant's value as long long reference. @@ -725,7 +725,7 @@ possible then the variant is set to an invalid time. </h3> Returns the variant's value as unsigned int reference. -<h3 class=fn>Q_ULLONG & <a name="asULongLong"></a>TQVariant::asULongLong () +<h3 class=fn>TQ_ULLONG & <a name="asULongLong"></a>TQVariant::asULongLong () </h3> Returns the variant's value as unsigned long long reference. @@ -989,7 +989,7 @@ over a copy, e.g. <p> <p>See also <a href="#asList">asList</a>(). -<h3 class=fn>Q_LLONG <a name="toLongLong"></a>TQVariant::toLongLong ( bool * ok = 0 ) const +<h3 class=fn>TQ_LLONG <a name="toLongLong"></a>TQVariant::toLongLong ( bool * ok = 0 ) const </h3> 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 <em>*ok</em> is set to FALSE. <p> <p>See also <a href="#asUInt">asUInt</a>() and <a href="#canCast">canCast</a>(). -<h3 class=fn>Q_ULLONG <a name="toULongLong"></a>TQVariant::toULongLong ( bool * ok = 0 ) const +<h3 class=fn>TQ_ULLONG <a name="toULongLong"></a>TQVariant::toULongLong ( bool * ok = 0 ) const </h3> 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 a703019c0..602bdfe5d 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 85cd20a0a..517c32ab5 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. <td valign="top">TQDateTime& <tr bgcolor="#f0f0f0"> <td valign="top">CY -<td valign="top">Q_LLONG -<td valign="top">Q_LLONG -<td valign="top">Q_LLONG& +<td valign="top">TQ_LLONG +<td valign="top">TQ_LLONG +<td valign="top">TQ_LLONG& <tr bgcolor="#d0d0d0"> <td valign="top">OLE_COLOR <td valign="top">TQColor diff --git a/doc/html/qaxserver.html b/doc/html/qaxserver.html index 5b4e1d02d..84d939fe2 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. <td valign="top">double <td valign="top">double <tr bgcolor="#f0f0f0"> -<td valign="top">Q_LLONG +<td valign="top">TQ_LLONG <td valign="top">CY <tr bgcolor="#d0d0d0"> -<td valign="top">Q_ULLONG +<td valign="top">TQ_ULLONG <td valign="top">CY <tr bgcolor="#f0f0f0"> <td valign="top">TQColor diff --git a/doc/html/qbuffer-h.html b/doc/html/qbuffer-h.html index 4b4e9f6f5..fd7a0814a 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 8d777fb60..c38665f66 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 3f3fd6414..4043590e2 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 9df9446b8..4110a2381 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 5a45c9471..763c4c5ea 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 8c8da7521..1ea95d141 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 d38aeb588..21d9a29b3 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 048af28b8..3309d1f1a 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 14ea0fe50..9f3998670 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 f5fa62dcd..e5b8c31e0 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 e05fe1034..62acd87bc 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 dfe36a223..4cad06b64 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 8d36eff64..1df5e3a22 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 d6e5319a3..aa67795ec 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 9081d7082..534c7bcd0 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 d95cfd316..a49803efb 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 0d676013f..0d02f3224 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 6298cde47..363df2167 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 63d837263..8c38e4b3a 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 9af059abf..ec25468a1 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 dfa12ef0a..2776b250c 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 c88d0ca6b..82bdca0d6 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 a51eb524c..61e653226 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 f25a6c9dd..76f80d092 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 a4a092cfd..4c6748771 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 1c73e1243..3bd1805bb 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 0a7f48282..7b3d22c8d 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; diff --git a/doc/man/man3/qaxbase.3qt b/doc/man/man3/qaxbase.3qt index 154031b51..22326f9a4 100644 --- a/doc/man/man3/qaxbase.3qt +++ b/doc/man/man3/qaxbase.3qt @@ -156,7 +156,7 @@ QAxBase transparently converts between COM data types and the equivalent Qt data .PP Supported COM datatypes are listed in the first column of following table. The second column is the Qt type that can be used with the QObject property functions. The third column is the Qt type that is used in the prototype of generated signals and slots for in-parameters, and the last column is the Qt type that is used in the prototype of signals and slots for out-parameters. <center>.nf .TS -l - l. COM type Qt property in-parameter out-parameter VARIANT_BOOL bool bool bool& BSTR QString const QString& QString& char, short, int, long int int int& uchar, ushort, uint, ulong uint uint uint& float, double double double double& DATE QDateTime const QDateTime& QDateTime& CY Q_LLONG Q_LLONG Q_LLONG& OLE_COLOR QColor const QColor& QColor& SAFEARRAY(VARIANT) QValueList<QVariant> const QValueList<QVariant>& QValueList<QVariant>& SAFEARRAY(BYTE) QByteArray const QByteArray& QByteArray& SAFEARRAY(BSTR) QStringList const QStringList& QStringList& VARIANT type-dependent const QVariant& QVariant& IFontDisp* QFont const QFont& QFont& IPictureDisp* QPixmap const QPixmap& QPixmap& IDispatch* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) IUnknown* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) SCODE, DECIMAL \fIunsupported\fR \fIunsupported\fR +l - l. COM type Qt property in-parameter out-parameter VARIANT_BOOL bool bool bool& BSTR QString const QString& QString& char, short, int, long int int int& uchar, ushort, uint, ulong uint uint uint& float, double double double double& DATE QDateTime const QDateTime& QDateTime& CY TQ_LLONG TQ_LLONG TQ_LLONG& OLE_COLOR QColor const QColor& QColor& SAFEARRAY(VARIANT) QValueList<QVariant> const QValueList<QVariant>& QValueList<QVariant>& SAFEARRAY(BYTE) QByteArray const QByteArray& QByteArray& SAFEARRAY(BSTR) QStringList const QStringList& QStringList& VARIANT type-dependent const QVariant& QVariant& IFontDisp* QFont const QFont& QFont& IPictureDisp* QPixmap const QPixmap& QPixmap& IDispatch* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) IUnknown* QAxObject* (read-only) QAxBase::asVariant() QAxObject* (return value) SCODE, DECIMAL \fIunsupported\fR \fIunsupported\fR .TE .fi </center> diff --git a/doc/man/man3/qbuffer.3qt b/doc/man/man3/qbuffer.3qt index c696de242..82d78bb09 100644 --- a/doc/man/man3/qbuffer.3qt +++ b/doc/man/man3/qbuffer.3qt @@ -33,10 +33,10 @@ Inherits QIODevice. .BI "bool \fBsetBuffer\fR ( QByteArray buf )" .br .ti -1c -.BI "virtual Q_LONG \fBwriteBlock\fR ( const char * p, Q_ULONG len )" +.BI "virtual TQ_LONG \fBwriteBlock\fR ( const char * p, TQ_ULONG len )" .br .ti -1c -.BI "Q_LONG \fBwriteBlock\fR ( const QByteArray & data )" +.BI "TQ_LONG \fBwriteBlock\fR ( const QByteArray & data )" .br .in -1c .SH DESCRIPTION @@ -98,7 +98,7 @@ Does nothing (and returns FALSE) if isOpen() is TRUE. Note that if you open the buffer in write mode (<a href="ntqfile.html#open">IO_WriteOnly</a> or IO_ReadWrite) and write something into the buffer, \fIbuf\fR is also modified because QByteArray is an explicitly shared class. .PP See also buffer(), open(), and close(). -.SH "Q_LONG QBuffer::writeBlock ( const char * p, Q_ULONG len )\fC [virtual]\fR" +.SH "TQ_LONG QBuffer::writeBlock ( const char * p, TQ_ULONG len )\fC [virtual]\fR" Writes \fIlen\fR bytes from \fIp\fR into the buffer at the current index position, overwriting any characters there and extending the buffer if necessary. Returns the number of bytes actually written. .PP Returns -1 if an error occurred. @@ -106,7 +106,7 @@ Returns -1 if an error occurred. See also readBlock(). .PP Reimplemented from QIODevice. -.SH "Q_LONG QBuffer::writeBlock ( const QByteArray & data )" +.SH "TQ_LONG QBuffer::writeBlock ( const QByteArray & data )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This convenience function is the same as calling diff --git a/doc/man/man3/qdatastream.3qt b/doc/man/man3/qdatastream.3qt index c2627a8b5..b4c5222eb 100644 --- a/doc/man/man3/qdatastream.3qt +++ b/doc/man/man3/qdatastream.3qt @@ -64,34 +64,34 @@ All the functions in this class are reentrant when Qt is built with thread suppo .BI "void \fBsetVersion\fR ( int v )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_INT8 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_INT8 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_UINT8 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT8 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_INT16 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_INT16 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_UINT16 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT16 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_INT32 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_INT32 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_UINT32 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT32 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_INT64 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_INT64 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_UINT64 & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_UINT64 & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_LONG & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_LONG & i )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( Q_ULONG & i )" +.BI "QDataStream & \fBoperator>>\fR ( TQ_ULONG & i )" .br .ti -1c .BI "QDataStream & \fBoperator>>\fR ( float & f )" @@ -103,34 +103,34 @@ All the functions in this class are reentrant when Qt is built with thread suppo .BI "QDataStream & \fBoperator>>\fR ( char *& s )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_INT8 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_INT8 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_UINT8 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT8 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_INT16 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_INT16 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_UINT16 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT16 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_INT32 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_INT32 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_UINT32 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT32 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_INT64 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_INT64 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_UINT64 i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_UINT64 i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_LONG i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_LONG i )" .br .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( Q_ULONG i )" +.BI "QDataStream & \fBoperator<<\fR ( TQ_ULONG i )" .br .ti -1c .BI "QDataStream & \fBoperator<<\fR ( float f )" @@ -177,7 +177,7 @@ Example (write binary data to a stream): .br stream << "the answer is"; // serialize a string .br - stream << (Q_INT32)42; // serialize an integer + stream << (TQ_INT32)42; // serialize an integer .br .fi .PP @@ -193,7 +193,7 @@ Example (read binary data from a stream): .br QString str; .br - Q_INT32 a; + TQ_INT32 a; .br stream >> str >> a; // extract "the answer is" and 42 .br @@ -224,9 +224,9 @@ If you are producing a new binary data format, such as a file format for documen .br // Write a header with a "magic number" and a version .br - stream << (Q_UINT32)0xA0B0C0D0; + stream << (TQ_UINT32)0xA0B0C0D0; .br - stream << (Q_INT32)123; + stream << (TQ_INT32)123; .br .br // Write the data @@ -248,7 +248,7 @@ Then read it in with: .br // Read and check the header .br - Q_UINT32 magic; + TQ_UINT32 magic; .br stream >> magic; .br @@ -259,7 +259,7 @@ Then read it in with: .br // Read the version .br - Q_INT32 version; + TQ_INT32 version; .br stream >> version; .br @@ -292,7 +292,7 @@ You can select which byte order to use when serializing data. The default settin .SH "Reading and writing raw binary data" You may wish to read/write your own raw binary data to/from the data stream directly. Data may be read from the stream into a preallocated char* using readRawBytes(). Similarly data can be written to the stream using writeRawBytes(). Notice that any encoding/decoding of the data must be done by you. .PP -A similar pair of functions is readBytes() and writeBytes(). These differ from their \fIraw\fR counterparts as follows: readBytes() reads a Q_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 data, followed by the data. Notice that any encoding/decoding of the data (apart from the length Q_UINT32) must be done by you. +A similar pair of functions is readBytes() and writeBytes(). These differ from their \fIraw\fR counterparts as follows: readBytes() 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 TQ_UINT32 containing the length of the data, followed by the data. Notice that any encoding/decoding of the data (apart from the length TQ_UINT32) must be done by you. .PP See also QTextStream, QVariant, and Input/Output and Networking. .SS "Member Type Documentation" @@ -363,41 +363,41 @@ See also QIODevice::atEnd(). Returns TRUE if the printable data flag has been set; otherwise returns FALSE. .PP See also setPrintableData(). -.SH "QDataStream & QDataStream::operator<< ( Q_INT8 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_INT8 i )" Writes a signed byte, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_UINT8 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_UINT8 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes an unsigned byte, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_INT16 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_INT16 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes a signed 16-bit integer, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_UINT16 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_UINT16 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes an unsigned 16-bit integer, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_INT32 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_INT32 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes a signed 32-bit integer, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_UINT32 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_UINT32 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Writes an unsigned integer, \fIi\fR, to the stream as a 32-bit unsigned integer (Q_UINT32). Returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_INT64 i )" +Writes an unsigned integer, \fIi\fR, to the stream as a 32-bit unsigned integer (TQ_UINT32). Returns a reference to the stream. +.SH "QDataStream & QDataStream::operator<< ( TQ_INT64 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes a signed 64-bit integer, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_UINT64 i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_UINT64 i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes an unsigned 64-bit integer, \fIi\fR, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_LONG i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_LONG i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes a signed integer \fIi\fR, of the system's word length, to the stream and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator<< ( Q_ULONG i )" +.SH "QDataStream & QDataStream::operator<< ( TQ_ULONG i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes an unsigned integer \fIi\fR, of the system's word length, to the stream and returns a reference to the stream. @@ -415,41 +415,41 @@ This is an overloaded member function, provided for convenience. It behaves esse Writes the '\0'-terminated string \fIs\fR to the stream and returns a reference to the stream. .PP The string is serialized using writeBytes(). -.SH "QDataStream & QDataStream::operator>> ( Q_INT8 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_INT8 & i )" Reads a signed byte from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_UINT8 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_UINT8 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads an unsigned byte from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_INT16 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_INT16 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads a signed 16-bit integer from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_UINT16 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_UINT16 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads an unsigned 16-bit integer from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_INT32 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_INT32 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads a signed 32-bit integer from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_UINT32 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_UINT32 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads an unsigned 32-bit integer from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_INT64 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_INT64 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads a signed 64-bit integer from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_UINT64 & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_UINT64 & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads an unsigned 64-bit integer from the stream, into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_LONG & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_LONG & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads a signed integer of the system's word length from the stream into \fIi\fR, and returns a reference to the stream. -.SH "QDataStream & QDataStream::operator>> ( Q_ULONG & i )" +.SH "QDataStream & QDataStream::operator>> ( TQ_ULONG & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads an unsigned integer of the system's word length from the stream, into \fIi\fR, and returns a reference to the stream. @@ -474,7 +474,7 @@ The buffer \fIs\fR is allocated using \fCnew\fR. Destroy it with the \fCdelete[] .PP The \fIl\fR parameter will be set to the length of the buffer. .PP -The serialization format is a Q_UINT32 length specifier first, then \fIl\fR bytes of data. Note that the data is \fInot\fR encoded. +The serialization format is a TQ_UINT32 length specifier first, then \fIl\fR bytes of data. Note that the data is \fInot\fR encoded. .PP See also readRawBytes() and writeBytes(). .SH "QDataStream & QDataStream::readRawBytes ( char * s, uint len )" @@ -529,7 +529,7 @@ See also setVersion(). .SH "QDataStream & QDataStream::writeBytes ( const char * s, uint len )" Writes the length specifier \fIlen\fR and the buffer \fIs\fR to the stream and returns a reference to the stream. .PP -The \fIlen\fR is serialized as a Q_UINT32, followed by \fIlen\fR bytes from \fIs\fR. Note that the data is \fInot\fR encoded. +The \fIlen\fR is serialized as a TQ_UINT32, followed by \fIlen\fR bytes from \fIs\fR. Note that the data is \fInot\fR encoded. .PP See also writeRawBytes() and readBytes(). .SH "QDataStream & QDataStream::writeRawBytes ( const char * s, uint len )" diff --git a/doc/man/man3/qdns.3qt b/doc/man/man3/qdns.3qt index 55d7e9a4f..fab7a5fab 100644 --- a/doc/man/man3/qdns.3qt +++ b/doc/man/man3/qdns.3qt @@ -191,7 +191,7 @@ Returns a list of mail servers if the record type is Mx. The class \fCQDns::Mail .TP QString QDns::MailServer::name .TP -Q_UINT16 QDns::MailServer::priority +TQ_UINT16 QDns::MailServer::priority .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP @@ -245,11 +245,11 @@ Returns a list of servers if the record type is Srv. The class \fCQDns::Server\f .TP QString QDns::Server::name .TP -Q_UINT16 QDns::Server::priority +TQ_UINT16 QDns::Server::priority .TP -Q_UINT16 QDns::Server::weight +TQ_UINT16 QDns::Server::weight .TP -Q_UINT16 QDns::Server::port +TQ_UINT16 QDns::Server::port .PP Note that if you want to iterate over the list, you should iterate over a copy, e.g. .PP diff --git a/doc/man/man3/qfile.3qt b/doc/man/man3/qfile.3qt index b06be825b..aab1c83a5 100644 --- a/doc/man/man3/qfile.3qt +++ b/doc/man/man3/qfile.3qt @@ -66,10 +66,10 @@ Inherits QIODevice. .BI "virtual bool \fBatEnd\fR () const" .br .ti -1c -.BI "virtual Q_LONG \fBreadLine\fR ( char * p, Q_ULONG maxlen )" +.BI "virtual TQ_LONG \fBreadLine\fR ( char * p, TQ_ULONG maxlen )" .br .ti -1c -.BI "Q_LONG \fBreadLine\fR ( QString & s, Q_ULONG maxlen )" +.BI "TQ_LONG \fBreadLine\fR ( QString & s, TQ_ULONG maxlen )" .br .ti -1c .BI "virtual int \fBgetch\fR ()" @@ -407,7 +407,7 @@ See also getch() and ungetch(). Reimplemented from QIODevice. .SH "QByteArray QIODevice::readAll ()\fC [virtual]\fR" This convenience function returns all of the remaining data in the device. -.SH "Q_LONG QFile::readLine ( char * p, Q_ULONG maxlen )\fC [virtual]\fR" +.SH "TQ_LONG QFile::readLine ( char * p, TQ_ULONG maxlen )\fC [virtual]\fR" Reads a line of text. .PP Reads bytes from the file into the char* \fIp\fR, until end-of-line or \fImaxlen\fR bytes have been read, whichever occurs first. Returns the number of bytes read, or -1 if there was an error. Any terminating newline is not stripped. @@ -417,7 +417,7 @@ This function is only efficient for buffered files. Avoid readLine() for files t See also readBlock() and QTextStream::readLine(). .PP Reimplemented from QIODevice. -.SH "Q_LONG QFile::readLine ( QString & s, Q_ULONG maxlen )" +.SH "TQ_LONG QFile::readLine ( QString & s, TQ_ULONG maxlen )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Reads a line of text. diff --git a/doc/man/man3/qftp.3qt b/doc/man/man3/qftp.3qt index a1b5c450b..94e822485 100644 --- a/doc/man/man3/qftp.3qt +++ b/doc/man/man3/qftp.3qt @@ -34,7 +34,7 @@ Inherits QNetworkProtocol. .BI "enum \fBCommand\fR { None, ConnectToHost, Login, Close, List, Cd, Get, Put, Remove, Mkdir, Rmdir, Rename, RawCommand }" .br .ti -1c -.BI "int \fBconnectToHost\fR ( const QString & host, Q_UINT16 port = 21 )" +.BI "int \fBconnectToHost\fR ( const QString & host, TQ_UINT16 port = 21 )" .br .ti -1c .BI "int \fBlogin\fR ( const QString & user = QString::null, const QString & password = QString::null )" @@ -73,10 +73,10 @@ Inherits QNetworkProtocol. .BI "int \fBrawCommand\fR ( const QString & command )" .br .ti -1c -.BI "Q_ULONG \fBbytesAvailable\fR () const" +.BI "TQ_ULONG \fBbytesAvailable\fR () const" .br .ti -1c -.BI "Q_LONG \fBreadBlock\fR ( char * data, Q_ULONG maxlen )" +.BI "TQ_LONG \fBreadBlock\fR ( char * data, TQ_ULONG maxlen )" .br .ti -1c .BI "QByteArray \fBreadAll\fR ()" @@ -372,7 +372,7 @@ If you don't start further FTP commands directly after the abort(), there won't See also clearPendingCommands(). .PP Example: network/ftpclient/ftpmainwindow.ui.h. -.SH "Q_ULONG QFtp::bytesAvailable () const" +.SH "TQ_ULONG QFtp::bytesAvailable () const" Returns the number of bytes that can be read from the data socket at the moment. .PP See also get(), readyRead(), readBlock(), and readAll(). @@ -414,7 +414,7 @@ This signal is emitted when processing the command identified by \fIid\fR starts See also commandFinished() and done(). .PP Example: network/ftpclient/ftpmainwindow.ui.h. -.SH "int QFtp::connectToHost ( const QString & host, Q_UINT16 port = 21 )" +.SH "int QFtp::connectToHost ( const QString & host, TQ_UINT16 port = 21 )" Connects to the FTP server \fIhost\fR using port \fIport\fR. .PP The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to HostLookup, then Connecting, then Connected. @@ -568,7 +568,7 @@ Example: network/ftpclient/ftpmainwindow.ui.h. Reads all the bytes available from the data socket and returns them. .PP See also get(), readyRead(), bytesAvailable(), and readBlock(). -.SH "Q_LONG QFtp::readBlock ( char * data, Q_ULONG maxlen )" +.SH "TQ_LONG QFtp::readBlock ( char * data, TQ_ULONG maxlen )" Reads \fImaxlen\fR bytes from the data socket into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred. .PP See also get(), readyRead(), bytesAvailable(), and readAll(). diff --git a/doc/man/man3/qhostaddress.3qt b/doc/man/man3/qhostaddress.3qt index 3835e421b..2666b7d34 100644 --- a/doc/man/man3/qhostaddress.3qt +++ b/doc/man/man3/qhostaddress.3qt @@ -17,10 +17,10 @@ QHostAddress \- IP address .BI "\fBQHostAddress\fR ()" .br .ti -1c -.BI "\fBQHostAddress\fR ( Q_UINT32 ip4Addr )" +.BI "\fBQHostAddress\fR ( TQ_UINT32 ip4Addr )" .br .ti -1c -.BI "\fBQHostAddress\fR ( Q_UINT8 * ip6Addr )" +.BI "\fBQHostAddress\fR ( TQ_UINT8 * ip6Addr )" .br .ti -1c .BI "\fBQHostAddress\fR ( const Q_IPV6ADDR & ip6Addr )" @@ -35,10 +35,10 @@ QHostAddress \- IP address .BI "QHostAddress & \fBoperator=\fR ( const QHostAddress & address )" .br .ti -1c -.BI "void \fBsetAddress\fR ( Q_UINT32 ip4Addr )" +.BI "void \fBsetAddress\fR ( TQ_UINT32 ip4Addr )" .br .ti -1c -.BI "void \fBsetAddress\fR ( Q_UINT8 * ip6Addr )" +.BI "void \fBsetAddress\fR ( TQ_UINT8 * ip6Addr )" .br .ti -1c .BI "bool \fBsetAddress\fR ( const QString & address )" @@ -47,13 +47,13 @@ QHostAddress \- IP address .BI "bool isIp4Addr () const \fI(obsolete)\fR" .br .ti -1c -.BI "Q_UINT32 ip4Addr () const \fI(obsolete)\fR" +.BI "TQ_UINT32 ip4Addr () const \fI(obsolete)\fR" .br .ti -1c .BI "bool \fBisIPv4Address\fR () const" .br .ti -1c -.BI "Q_UINT32 \fBtoIPv4Address\fR () const" +.BI "TQ_UINT32 \fBtoIPv4Address\fR () const" .br .ti -1c .BI "bool \fBisIPv6Address\fR () const" @@ -84,9 +84,9 @@ See also QSocket, QServerSocket, QSocketDevice, and Input/Output and Networking. .SH MEMBER FUNCTION DOCUMENTATION .SH "QHostAddress::QHostAddress ()" Creates a host address object with the IP address 0.0.0.0. -.SH "QHostAddress::QHostAddress ( Q_UINT32 ip4Addr )" +.SH "QHostAddress::QHostAddress ( TQ_UINT32 ip4Addr )" Creates a host address object for the IPv4 address \fIip4Addr\fR. -.SH "QHostAddress::QHostAddress ( Q_UINT8 * ip6Addr )" +.SH "QHostAddress::QHostAddress ( TQ_UINT8 * ip6Addr )" Creates a host address object with the specified IPv6 address. .PP \fIip6Addr\fR must be a 16 byte array in network byte order (high-order byte first). @@ -96,7 +96,7 @@ Creates a host address object with the IPv6 address, \fIip6Addr\fR. Creates a copy of \fIaddress\fR. .SH "QHostAddress::~QHostAddress ()\fC [virtual]\fR" Destroys the host address object. -.SH "Q_UINT32 QHostAddress::ip4Addr () const" +.SH "TQ_UINT32 QHostAddress::ip4Addr () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use toIPv4Address() instead. @@ -114,9 +114,9 @@ Returns TRUE if this host address is null (INADDR_ANY or in6addr_any). The defau Assigns another host address object \fIaddress\fR to this object and returns a reference to this object. .SH "bool QHostAddress::operator== ( const QHostAddress & other ) const" Returns TRUE if this host address is the same as \fIother\fR; otherwise returns FALSE. -.SH "void QHostAddress::setAddress ( Q_UINT32 ip4Addr )" +.SH "void QHostAddress::setAddress ( TQ_UINT32 ip4Addr )" Set the IPv4 address specified by \fIip4Addr\fR. -.SH "void QHostAddress::setAddress ( Q_UINT8 * ip6Addr )" +.SH "void QHostAddress::setAddress ( TQ_UINT8 * ip6Addr )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Set the IPv6 address specified by \fIip6Addr\fR. @@ -126,7 +126,7 @@ Set the IPv6 address specified by \fIip6Addr\fR. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the IPv4 or IPv6 address specified by the string representation \fIaddress\fR (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. -.SH "Q_UINT32 QHostAddress::toIPv4Address () const" +.SH "TQ_UINT32 QHostAddress::toIPv4Address () const" Returns the IPv4 address as a number. .PP For example, if the address is 127.0.0.1, the returned value is 2130706433 (i.e. 0x7f000001). diff --git a/doc/man/man3/qhttp.3qt b/doc/man/man3/qhttp.3qt index 0710e05e2..39573eb70 100644 --- a/doc/man/man3/qhttp.3qt +++ b/doc/man/man3/qhttp.3qt @@ -22,7 +22,7 @@ Inherits QNetworkProtocol. .BI "\fBQHttp\fR ( QObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQHttp\fR ( const QString & hostname, Q_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" +.BI "\fBQHttp\fR ( const QString & hostname, TQ_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "virtual \fB~QHttp\fR ()" @@ -34,7 +34,7 @@ Inherits QNetworkProtocol. .BI "enum \fBError\fR { NoError, UnknownError, HostNotFound, ConnectionRefused, UnexpectedClose, InvalidResponseHeader, WrongContentLength, Aborted }" .br .ti -1c -.BI "int \fBsetHost\fR ( const QString & hostname, Q_UINT16 port = 80 )" +.BI "int \fBsetHost\fR ( const QString & hostname, TQ_UINT16 port = 80 )" .br .ti -1c .BI "int \fBget\fR ( const QString & path, QIODevice * to = 0 )" @@ -58,10 +58,10 @@ Inherits QNetworkProtocol. .BI "int \fBcloseConnection\fR ()" .br .ti -1c -.BI "Q_ULONG \fBbytesAvailable\fR () const" +.BI "TQ_ULONG \fBbytesAvailable\fR () const" .br .ti -1c -.BI "Q_LONG \fBreadBlock\fR ( char * data, Q_ULONG maxlen )" +.BI "TQ_LONG \fBreadBlock\fR ( char * data, TQ_ULONG maxlen )" .br .ti -1c .BI "QByteArray \fBreadAll\fR ()" @@ -317,7 +317,7 @@ See also stateChanged() and state(). Constructs a QHttp object. .SH "QHttp::QHttp ( QObject * parent, const char * name = 0 )" Constructs a QHttp object. The parameters \fIparent\fR and \fIname\fR are passed on to the QObject constructor. -.SH "QHttp::QHttp ( const QString & hostname, Q_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" +.SH "QHttp::QHttp ( const QString & hostname, TQ_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" Constructs a QHttp object. Subsequent requests are done by connecting to the server \fIhostname\fR on port \fIport\fR. The parameters \fIparent\fR and \fIname\fR are passed on to the QObject constructor. .PP See also setHost(). @@ -331,7 +331,7 @@ For the current request, the requestFinished() signal with the \fCerror\fR argum Since this slot also deletes the scheduled requests, there are no requests left and the done() signal is emitted (with the \fCerror\fR argument \fCTRUE\fR). .PP See also clearPendingRequests(). -.SH "Q_ULONG QHttp::bytesAvailable () const" +.SH "TQ_ULONG QHttp::bytesAvailable () const" Returns the number of bytes that can be read from the response content at the moment. .PP See also get(), post(), request(), readyRead(), readBlock(), and readAll(). @@ -451,7 +451,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Reads all the bytes from the response content and returns them. .PP See also get(), post(), request(), readyRead(), bytesAvailable(), and readBlock(). -.SH "Q_LONG QHttp::readBlock ( char * data, Q_ULONG maxlen )" +.SH "TQ_LONG QHttp::readBlock ( char * data, TQ_ULONG maxlen )" Reads \fImaxlen\fR bytes from the response content into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred. .PP See also get(), post(), request(), readyRead(), bytesAvailable(), and readAll(). @@ -497,7 +497,7 @@ See also requestFinished() and done(). This signal is emitted when the HTTP header of a server response is available. The header is passed in \fIresp\fR. .PP See also get(), post(), head(), request(), and readyRead(). -.SH "int QHttp::setHost ( const QString & hostname, Q_UINT16 port = 80 )" +.SH "int QHttp::setHost ( const QString & hostname, TQ_UINT16 port = 80 )" Sets the HTTP server that is used for requests to \fIhostname\fR on port \fIport\fR. .PP The function does not block and returns immediately. The request is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by requestStarted() and requestFinished(). diff --git a/doc/man/man3/qiodevice.3qt b/doc/man/man3/qiodevice.3qt index 05a550fb1..6d087c344 100644 --- a/doc/man/man3/qiodevice.3qt +++ b/doc/man/man3/qiodevice.3qt @@ -18,7 +18,7 @@ Inherited by QBuffer, QFile, QSocket, and QSocketDevice. .SS "Public Members" .in +1c .ti -1c -.BI "typedef Q_ULONG \fBOffset\fR" +.BI "typedef TQ_ULONG \fBOffset\fR" .br .ti -1c .BI "\fBQIODevice\fR ()" @@ -105,16 +105,16 @@ Inherited by QBuffer, QFile, QSocket, and QSocketDevice. .BI "bool \fBreset\fR ()" .br .ti -1c -.BI "virtual Q_LONG \fBreadBlock\fR ( char * data, Q_ULONG maxlen ) = 0" +.BI "virtual TQ_LONG \fBreadBlock\fR ( char * data, TQ_ULONG maxlen ) = 0" .br .ti -1c -.BI "virtual Q_LONG \fBwriteBlock\fR ( const char * data, Q_ULONG len ) = 0" +.BI "virtual TQ_LONG \fBwriteBlock\fR ( const char * data, TQ_ULONG len ) = 0" .br .ti -1c -.BI "virtual Q_LONG \fBreadLine\fR ( char * data, Q_ULONG maxlen )" +.BI "virtual TQ_LONG \fBreadLine\fR ( char * data, TQ_ULONG maxlen )" .br .ti -1c -.BI "Q_LONG \fBwriteBlock\fR ( const QByteArray & data )" +.BI "TQ_LONG \fBwriteBlock\fR ( const QByteArray & data )" .br .ti -1c .BI "virtual QByteArray \fBreadAll\fR ()" @@ -426,7 +426,7 @@ Example: grapher/grapher.cpp. Reimplemented in QFile and QSocket. .SH "QByteArray QIODevice::readAll ()\fC [virtual]\fR" This convenience function returns all of the remaining data in the device. -.SH "Q_LONG QIODevice::readBlock ( char * data, Q_ULONG maxlen )\fC [pure virtual]\fR" +.SH "TQ_LONG QIODevice::readBlock ( char * data, TQ_ULONG maxlen )\fC [pure virtual]\fR" Reads at most \fImaxlen\fR bytes from the I/O device into \fIdata\fR and returns the number of bytes actually read. .PP This function should return -1 if a fatal error occurs and should return 0 if there are no bytes to read. @@ -440,7 +440,7 @@ See also writeBlock(), isOpen(), and isReadable(). Example: distributor/distributor.ui.h. .PP Reimplemented in QSocket and QSocketDevice. -.SH "Q_LONG QIODevice::readLine ( char * data, Q_ULONG maxlen )\fC [virtual]\fR" +.SH "TQ_LONG QIODevice::readLine ( char * data, TQ_ULONG maxlen )\fC [virtual]\fR" Reads a line of text, (or up to \fImaxlen\fR bytes if a newline isn't encountered) plus a terminating '\0' into \fIdata\fR. If there is a newline at the end if the line, it is not stripped. .PP Returns the number of bytes read including the terminating '\0', or -1 if an error occurred. @@ -507,7 +507,7 @@ This virtual function must be reimplemented by all subclasses. See also getch() and putch(). .PP Reimplemented in QFile and QSocket. -.SH "Q_LONG QIODevice::writeBlock ( const char * data, Q_ULONG len )\fC [pure virtual]\fR" +.SH "TQ_LONG QIODevice::writeBlock ( const char * data, TQ_ULONG len )\fC [pure virtual]\fR" Writes \fIlen\fR bytes from \fIdata\fR to the I/O device and returns the number of bytes actually written. .PP This function should return -1 if a fatal error occurs. @@ -519,7 +519,7 @@ See also readBlock(). Example: distributor/distributor.ui.h. .PP Reimplemented in QBuffer, QSocket, and QSocketDevice. -.SH "Q_LONG QIODevice::writeBlock ( const QByteArray & data )" +.SH "TQ_LONG QIODevice::writeBlock ( const QByteArray & data )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This convenience function is the same as calling writeBlock( diff --git a/doc/man/man3/qlocale.3qt b/doc/man/man3/qlocale.3qt index fb6208e46..b1ff1ad39 100644 --- a/doc/man/man3/qlocale.3qt +++ b/doc/man/man3/qlocale.3qt @@ -58,16 +58,16 @@ Almost all the functions in this class are reentrant when Qt is built with threa .BI "uint \fBtoUInt\fR ( const QString & s, bool * ok = 0 ) const" .br .ti -1c -.BI "Q_LONG \fBtoLong\fR ( const QString & s, bool * ok = 0 ) const" +.BI "TQ_LONG \fBtoLong\fR ( const QString & s, bool * ok = 0 ) const" .br .ti -1c -.BI "Q_ULONG \fBtoULong\fR ( const QString & s, bool * ok = 0 ) const" +.BI "TQ_ULONG \fBtoULong\fR ( const QString & s, bool * ok = 0 ) const" .br .ti -1c -.BI "Q_LLONG \fBtoLongLong\fR ( const QString & s, bool * ok = 0 ) const" +.BI "TQ_LLONG \fBtoLongLong\fR ( const QString & s, bool * ok = 0 ) const" .br .ti -1c -.BI "Q_ULLONG \fBtoULongLong\fR ( const QString & s, bool * ok = 0 ) const" +.BI "TQ_ULLONG \fBtoULongLong\fR ( const QString & s, bool * ok = 0 ) const" .br .ti -1c .BI "float \fBtoFloat\fR ( const QString & s, bool * ok = 0 ) const" @@ -88,16 +88,16 @@ Almost all the functions in this class are reentrant when Qt is built with threa .BI "QString \fBtoString\fR ( uint i ) const" .br .ti -1c -.BI "QString \fBtoString\fR ( Q_LONG i ) const" +.BI "QString \fBtoString\fR ( TQ_LONG i ) const" .br .ti -1c -.BI "QString \fBtoString\fR ( Q_ULONG i ) const" +.BI "QString \fBtoString\fR ( TQ_ULONG i ) const" .br .ti -1c -.BI "QString \fBtoString\fR ( Q_LLONG i ) const" +.BI "QString \fBtoString\fR ( TQ_LLONG i ) const" .br .ti -1c -.BI "QString \fBtoString\fR ( Q_ULLONG i ) const" +.BI "QString \fBtoString\fR ( TQ_ULLONG i ) const" .br .ti -1c .BI "QString \fBtoString\fR ( float i, char f = 'g', int prec = 6 ) const" @@ -1122,7 +1122,7 @@ If \fIok\fR is not 0, reports failure by setting *ok to false and success by set This function ignores leading and trailing whitespace. .PP See also toString(). -.SH "Q_LONG QLocale::toLong ( const QString & s, bool * ok = 0 ) const" +.SH "TQ_LONG QLocale::toLong ( const QString & s, bool * ok = 0 ) const" Returns the long int represented by the localized string \fIs\fR, or 0 if the conversion failed. .PP If \fIok\fR is not 0, reports failure by setting *ok to false and success by setting *ok to true. @@ -1130,7 +1130,7 @@ If \fIok\fR is not 0, reports failure by setting *ok to false and success by set This function ignores leading and trailing whitespace. .PP See also toString(). -.SH "Q_LLONG QLocale::toLongLong ( const QString & s, bool * ok = 0 ) const" +.SH "TQ_LLONG QLocale::toLongLong ( const QString & s, bool * ok = 0 ) const" Returns the long long int represented by the localized string \fIs\fR, or 0 if the conversion failed. .PP If \fIok\fR is not 0, reports failure by setting *ok to false and success by setting *ok to true. @@ -1146,7 +1146,7 @@ If \fIok\fR is not 0, reports failure by setting *ok to false and success by set This function ignores leading and trailing whitespace. .PP See also toString(). -.SH "QString QLocale::toString ( Q_LLONG i ) const" +.SH "QString QLocale::toString ( TQ_LLONG i ) const" Returns a localized string representation of \fIi\fR. .PP See also toLongLong(). @@ -1166,15 +1166,15 @@ See also toInt(). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also toUInt(). -.SH "QString QLocale::toString ( Q_LONG i ) const" +.SH "QString QLocale::toString ( TQ_LONG i ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also toLong(). -.SH "QString QLocale::toString ( Q_ULONG i ) const" +.SH "QString QLocale::toString ( TQ_ULONG i ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also toULong(). -.SH "QString QLocale::toString ( Q_ULLONG i ) const" +.SH "QString QLocale::toString ( TQ_ULLONG i ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also toULongLong(). @@ -1198,7 +1198,7 @@ If \fIok\fR is not 0, reports failure by setting *ok to false and success by set This function ignores leading and trailing whitespace. .PP See also toString(). -.SH "Q_ULONG QLocale::toULong ( const QString & s, bool * ok = 0 ) const" +.SH "TQ_ULONG QLocale::toULong ( const QString & s, bool * ok = 0 ) const" Returns the unsigned long int represented by the localized string \fIs\fR, or 0 if the conversion failed. .PP If \fIok\fR is not 0, reports failure by setting *ok to false and success by setting *ok to true. @@ -1206,7 +1206,7 @@ If \fIok\fR is not 0, reports failure by setting *ok to false and success by set This function ignores leading and trailing whitespace. .PP See also toString(). -.SH "Q_ULLONG QLocale::toULongLong ( const QString & s, bool * ok = 0 ) const" +.SH "TQ_ULLONG QLocale::toULongLong ( const QString & s, bool * ok = 0 ) const" Returns the unsigned long long int represented by the localized string \fIs\fR, or 0 if the conversion failed. .PP If \fIok\fR is not 0, reports failure by setting *ok to false and success by setting *ok to true. diff --git a/doc/man/man3/qmemarray.3qt b/doc/man/man3/qmemarray.3qt index 5a26651d0..ef3c0871d 100644 --- a/doc/man/man3/qmemarray.3qt +++ b/doc/man/man3/qmemarray.3qt @@ -141,7 +141,7 @@ Inherited by QByteArray and QPointArray. .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "Q_UINT16 \fBqChecksum\fR ( const char * data, uint len )" +.BI "TQ_UINT16 \fBqChecksum\fR ( const char * data, uint len )" .br .ti -1c .BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QByteArray & a )" @@ -540,7 +540,7 @@ See also Format of the QDataStream operators. Reads a byte array into \fIa\fR from the stream \fIs\fR and returns a reference to the stream. .PP See also Format of the QDataStream operators. -.SH "Q_UINT16 tqChecksum ( const char * data, uint len )" +.SH "TQ_UINT16 tqChecksum ( const char * data, uint len )" Returns the CRC-16 checksum of \fIlen\fR bytes starting at \fIdata\fR. .PP The checksum is independent of the byte order (endianness). diff --git a/doc/man/man3/qserversocket.3qt b/doc/man/man3/qserversocket.3qt index 3d019e425..7fbb9757d 100644 --- a/doc/man/man3/qserversocket.3qt +++ b/doc/man/man3/qserversocket.3qt @@ -16,10 +16,10 @@ Inherits QObject. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQServerSocket\fR ( Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" +.BI "\fBQServerSocket\fR ( TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQServerSocket\fR ( const QHostAddress & address, Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" +.BI "\fBQServerSocket\fR ( const QHostAddress & address, TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fBQServerSocket\fR ( QObject * parent = 0, const char * name = 0 )" @@ -31,7 +31,7 @@ Inherits QObject. .BI "bool \fBok\fR () const" .br .ti -1c -.BI "Q_UINT16 \fBport\fR () const" +.BI "TQ_UINT16 \fBport\fR () const" .br .ti -1c .BI "int \fBsocket\fR () const" @@ -63,13 +63,13 @@ Using the API is very simple: subclass QServerSocket, call the constructor of yo .PP See also QSocket, QSocketDevice, QHostAddress, QSocketNotifier, and Input/Output and Networking. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QServerSocket::QServerSocket ( Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" +.SH "QServerSocket::QServerSocket ( TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" Creates a server socket object, that will serve the given \fIport\fR on all the addresses of this host. If \fIport\fR is 0, QServerSocket will pick a suitable port in a system-dependent manner. Use \fIbacklog\fR to specify how many pending connections the server can have. .PP The \fIparent\fR and \fIname\fR arguments are passed on to the QObject constructor. .PP \fBWarning:\fR On Tru64 Unix systems a value of 0 for \fIbacklog\fR means that you don't accept any connections at all; you should specify a value larger than 0. -.SH "QServerSocket::QServerSocket ( const QHostAddress & address, Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" +.SH "QServerSocket::QServerSocket ( const QHostAddress & address, TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )" Creates a server socket object, that will serve the given \fIport\fR only on the given \fIaddress\fR. Use \fIbacklog\fR to specify how many pending connections the server can have. .PP The \fIparent\fR and \fIname\fR arguments are passed on to the QObject constructor. @@ -97,7 +97,7 @@ See also port() and QSocketDevice::address(). This pure virtual function is responsible for setting up a new incoming connection. \fIsocket\fR is the fd (file descriptor) for the newly accepted connection. .SH "bool QServerSocket::ok () const" Returns TRUE if the construction succeeded; otherwise returns FALSE. -.SH "Q_UINT16 QServerSocket::port () const" +.SH "TQ_UINT16 QServerSocket::port () const" Returns the port number on which this server socket listens. This is always non-zero; if you specify 0 in the constructor, QServerSocket will pick a non-zero port itself. ok() must be TRUE before calling this function. .PP See also address() and QSocketDevice::port(). diff --git a/doc/man/man3/qsocket.3qt b/doc/man/man3/qsocket.3qt index c552ba46e..2a643b61c 100644 --- a/doc/man/man3/qsocket.3qt +++ b/doc/man/man3/qsocket.3qt @@ -43,7 +43,7 @@ Inherits QObject and QIODevice. .BI "virtual void \fBsetSocketDevice\fR ( QSocketDevice * device )" .br .ti -1c -.BI "virtual void \fBconnectToHost\fR ( const QString & host, Q_UINT16 port )" +.BI "virtual void \fBconnectToHost\fR ( const QString & host, TQ_UINT16 port )" .br .ti -1c .BI "QString \fBpeerName\fR () const" @@ -70,25 +70,25 @@ Inherits QObject and QIODevice. .BI "virtual bool \fBatEnd\fR () const" .br .ti -1c -.BI "Q_ULONG \fBbytesAvailable\fR () const" +.BI "TQ_ULONG \fBbytesAvailable\fR () const" .br .ti -1c -.BI "Q_ULONG \fBwaitForMore\fR ( int msecs, bool * timeout ) const" +.BI "TQ_ULONG \fBwaitForMore\fR ( int msecs, bool * timeout ) const" .br .ti -1c -.BI "Q_ULONG \fBwaitForMore\fR ( int msecs ) const" +.BI "TQ_ULONG \fBwaitForMore\fR ( int msecs ) const" .br .ti -1c -.BI "Q_ULONG \fBbytesToWrite\fR () const" +.BI "TQ_ULONG \fBbytesToWrite\fR () const" .br .ti -1c .BI "void \fBclearPendingData\fR ()" .br .ti -1c -.BI "virtual Q_LONG \fBreadBlock\fR ( char * data, Q_ULONG maxlen )" +.BI "virtual TQ_LONG \fBreadBlock\fR ( char * data, TQ_ULONG maxlen )" .br .ti -1c -.BI "virtual Q_LONG \fBwriteBlock\fR ( const char * data, Q_ULONG len )" +.BI "virtual TQ_LONG \fBwriteBlock\fR ( const char * data, TQ_ULONG len )" .br .ti -1c .BI "virtual int \fBgetch\fR ()" @@ -106,10 +106,10 @@ Inherits QObject and QIODevice. .BI "virtual QString \fBreadLine\fR ()" .br .ti -1c -.BI "Q_UINT16 \fBport\fR () const" +.BI "TQ_UINT16 \fBport\fR () const" .br .ti -1c -.BI "Q_UINT16 \fBpeerPort\fR () const" +.BI "TQ_UINT16 \fBpeerPort\fR () const" .br .ti -1c .BI "QHostAddress \fBaddress\fR () const" @@ -118,10 +118,10 @@ Inherits QObject and QIODevice. .BI "QHostAddress \fBpeerAddress\fR () const" .br .ti -1c -.BI "void \fBsetReadBufferSize\fR ( Q_ULONG bufSize )" +.BI "void \fBsetReadBufferSize\fR ( TQ_ULONG bufSize )" .br .ti -1c -.BI "Q_ULONG \fBreadBufferSize\fR () const" +.BI "TQ_ULONG \fBreadBufferSize\fR () const" .br .in -1c .SS "Signals" @@ -220,7 +220,7 @@ Reimplemented from QIODevice. Returns TRUE if there is no more data to read; otherwise returns FALSE. .PP Reimplemented from QIODevice. -.SH "Q_ULONG QSocket::bytesAvailable () const" +.SH "TQ_ULONG QSocket::bytesAvailable () const" Returns the number of incoming bytes that can be read, i.e. the size of the input buffer. Equivalent to size(). .PP This function can trigger the readyRead() signal, if more data has arrived on the socket. @@ -228,7 +228,7 @@ This function can trigger the readyRead() signal, if more data has arrived on th See also bytesToWrite(). .PP Example: network/networkprotocol/nntp.cpp. -.SH "Q_ULONG QSocket::bytesToWrite () const" +.SH "TQ_ULONG QSocket::bytesToWrite () const" Returns the number of bytes that are waiting to be written, i.e. the size of the output buffer. .PP See also bytesAvailable() and clearPendingData(). @@ -274,7 +274,7 @@ Examples: .)l network/clientserver/client/client.cpp, network/httpd/httpd.cpp, and network/networkprotocol/nntp.cpp. .PP Reimplemented from QIODevice. -.SH "void QSocket::connectToHost ( const QString & host, Q_UINT16 port )\fC [virtual]\fR" +.SH "void QSocket::connectToHost ( const QString & host, TQ_UINT16 port )\fC [virtual]\fR" Attempts to make a connection to \fIhost\fR on the specified \fIport\fR and return immediately. .PP Any connection or pending connection is closed immediately, and QSocket goes into the HostLookup state. When the lookup succeeds, it emits hostFound(), starts a TCP connection and goes into the Connecting state. Finally, when the connection succeeds, it emits connected() and goes into the Connected state. If there is an error at any point, it emits error(). @@ -341,11 +341,11 @@ Returns the address of the connected peer if the socket is in Connected state; o Returns the host name as specified to the connectToHost() function. An empty string is returned if none has been set. .PP Example: network/mail/smtp.cpp. -.SH "Q_UINT16 QSocket::peerPort () const" +.SH "TQ_UINT16 QSocket::peerPort () const" Returns the peer's host port number, normally as specified to the connectToHost() function. If none has been set, this function returns 0. .PP Note that Qt always uses native byte order, i.e. 67 is 67 in Qt; there is no need to call htons(). -.SH "Q_UINT16 QSocket::port () const" +.SH "TQ_UINT16 QSocket::port () const" Returns the host port number of this socket, in native byte order. .SH "int QSocket::putch ( int ch )\fC [virtual]\fR" Writes the character \fIch\fR to the output buffer. @@ -355,13 +355,13 @@ Returns \fIch\fR, or -1 if an error occurred. See also getch(). .PP Reimplemented from QIODevice. -.SH "Q_LONG QSocket::readBlock ( char * data, Q_ULONG maxlen )\fC [virtual]\fR" +.SH "TQ_LONG QSocket::readBlock ( char * data, TQ_ULONG maxlen )\fC [virtual]\fR" Reads \fImaxlen\fR bytes from the socket into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred. .PP Example: network/networkprotocol/nntp.cpp. .PP Reimplemented from QIODevice. -.SH "Q_ULONG QSocket::readBufferSize () const" +.SH "TQ_ULONG QSocket::readBufferSize () const" Returns the size of the read buffer. .PP See also setReadBufferSize(). @@ -381,7 +381,7 @@ See also readBlock(), readLine(), and bytesAvailable(). .PP Examples: .)l network/clientserver/client/client.cpp, network/httpd/httpd.cpp, network/mail/smtp.cpp, and network/networkprotocol/nntp.cpp. -.SH "void QSocket::setReadBufferSize ( Q_ULONG bufSize )" +.SH "void QSocket::setReadBufferSize ( TQ_ULONG bufSize )" Sets the size of the QSocket's internal read buffer to \fIbufSize\fR. .PP Usually QSocket reads all data that is available from the operating system's socket. If the buffer size is limited to a certain size, this means that the QSocket class doesn't buffer more than this size of data. @@ -424,7 +424,7 @@ Examples: This implementation of the virtual function QIODevice::ungetch() prepends the character \fIch\fR to the read buffer so that the next read returns this character as the first character of the output. .PP Reimplemented from QIODevice. -.SH "Q_ULONG QSocket::waitForMore ( int msecs, bool * timeout ) const" +.SH "TQ_ULONG QSocket::waitForMore ( int msecs, bool * timeout ) const" Wait up to \fImsecs\fR milliseconds for more data to be available. .PP If \fImsecs\fR is -1 the call will block indefinitely. @@ -436,9 +436,9 @@ If \fItimeout\fR is non-null and no error occurred (i.e. it does not return -1): \fBWarning:\fR This is a blocking call and should be avoided in event driven applications. .PP See also bytesAvailable(). -.SH "Q_ULONG QSocket::waitForMore ( int msecs ) const" +.SH "TQ_ULONG QSocket::waitForMore ( int msecs ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "Q_LONG QSocket::writeBlock ( const char * data, Q_ULONG len )\fC [virtual]\fR" +.SH "TQ_LONG QSocket::writeBlock ( const char * data, TQ_ULONG len )\fC [virtual]\fR" Writes \fIlen\fR bytes to the socket from \fIdata\fR and returns the number of bytes written. Returns -1 if an error occurred. .PP Example: network/networkprotocol/nntp.cpp. diff --git a/doc/man/man3/qsocketdevice.3qt b/doc/man/man3/qsocketdevice.3qt index 2a922fa1f..aaf0c39c1 100644 --- a/doc/man/man3/qsocketdevice.3qt +++ b/doc/man/man3/qsocketdevice.3qt @@ -73,10 +73,10 @@ Inherits QIODevice. .BI "virtual void \fBsetSendBufferSize\fR ( uint size )" .br .ti -1c -.BI "virtual bool \fBconnect\fR ( const QHostAddress & addr, Q_UINT16 port )" +.BI "virtual bool \fBconnect\fR ( const QHostAddress & addr, TQ_UINT16 port )" .br .ti -1c -.BI "virtual bool \fBbind\fR ( const QHostAddress & address, Q_UINT16 port )" +.BI "virtual bool \fBbind\fR ( const QHostAddress & address, TQ_UINT16 port )" .br .ti -1c .BI "virtual bool \fBlisten\fR ( int backlog )" @@ -85,25 +85,25 @@ Inherits QIODevice. .BI "virtual int \fBaccept\fR ()" .br .ti -1c -.BI "Q_LONG \fBbytesAvailable\fR () const" +.BI "TQ_LONG \fBbytesAvailable\fR () const" .br .ti -1c -.BI "Q_LONG \fBwaitForMore\fR ( int msecs, bool * timeout = 0 ) const" +.BI "TQ_LONG \fBwaitForMore\fR ( int msecs, bool * timeout = 0 ) const" .br .ti -1c -.BI "virtual Q_LONG \fBreadBlock\fR ( char * data, Q_ULONG maxlen )" +.BI "virtual TQ_LONG \fBreadBlock\fR ( char * data, TQ_ULONG maxlen )" .br .ti -1c -.BI "virtual Q_LONG \fBwriteBlock\fR ( const char * data, Q_ULONG len )" +.BI "virtual TQ_LONG \fBwriteBlock\fR ( const char * data, TQ_ULONG len )" .br .ti -1c -.BI "virtual Q_LONG \fBwriteBlock\fR ( const char * data, Q_ULONG len, const QHostAddress & host, Q_UINT16 port )" +.BI "virtual TQ_LONG \fBwriteBlock\fR ( const char * data, TQ_ULONG len, const QHostAddress & host, TQ_UINT16 port )" .br .ti -1c -.BI "Q_UINT16 \fBport\fR () const" +.BI "TQ_UINT16 \fBport\fR () const" .br .ti -1c -.BI "Q_UINT16 \fBpeerPort\fR () const" +.BI "TQ_UINT16 \fBpeerPort\fR () const" .br .ti -1c .BI "QHostAddress \fBaddress\fR () const" @@ -217,7 +217,7 @@ Returns the address of this socket device. This may be 0.0.0.0 for a while, but Returns TRUE if the address of this socket can be used by other sockets at the same time, and FALSE if this socket claims exclusive ownership. .PP See also setAddressReusable(). -.SH "bool QSocketDevice::bind ( const QHostAddress & address, Q_UINT16 port )\fC [virtual]\fR" +.SH "bool QSocketDevice::bind ( const QHostAddress & address, TQ_UINT16 port )\fC [virtual]\fR" Assigns a name to an unnamed socket. The name is the host address \fIaddress\fR and the port number \fIport\fR. If the operation succeeds, bind() returns TRUE; otherwise it returns FALSE without changing what port() and address() return. .PP bind() is used by servers for setting up incoming connections. Call bind() before listen(). @@ -229,11 +229,11 @@ Note that this function does not set error(). \fBWarning:\fR On Windows, this function always returns TRUE since the ioctlsocket() function is broken. .PP See also setBlocking() and isValid(). -.SH "Q_LONG QSocketDevice::bytesAvailable () const" +.SH "TQ_LONG QSocketDevice::bytesAvailable () const" Returns the number of bytes available for reading, or -1 if an error occurred. .PP \fBWarning:\fR On Microsoft Windows, we use the ioctlsocket() function to determine the number of bytes queued on the socket. According to Microsoft (KB Q125486), ioctlsocket() sometimes returns an incorrect number. The only safe way to determine the amount of data on the socket is to read it using readBlock(). QSocket has workarounds to deal with this problem. -.SH "bool QSocketDevice::connect ( const QHostAddress & addr, Q_UINT16 port )\fC [virtual]\fR" +.SH "bool QSocketDevice::connect ( const QHostAddress & addr, TQ_UINT16 port )\fC [virtual]\fR" Connects to the IP address and port specified by \fIaddr\fR and \fIport\fR. Returns TRUE if it establishes a connection; otherwise returns FALSE. If it returns FALSE, error() explains why. .PP Note that error() commonly returns NoError for non-blocking sockets; this just means that you can call connect() again in a little while and it'll probably succeed. @@ -253,11 +253,11 @@ See also bind() and accept(). Returns the address of the port this socket device is connected to. This may be 0.0.0.0 for a while, but is set to something sensible as soon as a sensible value is available. .PP Note that for Datagram sockets, this is the source port of the last packet received. -.SH "Q_UINT16 QSocketDevice::peerPort () const" +.SH "TQ_UINT16 QSocketDevice::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 sensible as soon as a sensible value is available. .PP Note that for Datagram sockets, this is the source port of the last packet received, and that it is in native byte order. -.SH "Q_UINT16 QSocketDevice::port () const" +.SH "TQ_UINT16 QSocketDevice::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 value is available. .PP Note that Qt always uses native byte order, i.e. 67 is 67 in Qt; there is no need to call htons(). @@ -267,7 +267,7 @@ Returns the socket's protocol family, which is one of Unknown, IPv4, or IPv6. QSocketDevice either creates a socket with a well known protocol family or it uses an already existing socket. In the first case, this function returns the protocol family it was constructed with. In the second case, it tries to determine the protocol family of the socket; if this fails, it returns Unknown. .PP See also Protocol and setSocket(). -.SH "Q_LONG QSocketDevice::readBlock ( char * data, Q_ULONG maxlen )\fC [virtual]\fR" +.SH "TQ_LONG QSocketDevice::readBlock ( char * data, TQ_ULONG maxlen )\fC [virtual]\fR" Reads \fImaxlen\fR bytes from the socket into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred. Returning 0 is not an error. For Stream sockets, 0 is returned when the remote host closes the connection. For Datagram sockets, 0 is a valid datagram size. .PP Reimplemented from QIODevice. @@ -323,7 +323,7 @@ See also isValid() and type(). Returns the socket type which is either QSocketDevice::Stream or QSocketDevice::Datagram. .PP See also socket(). -.SH "Q_LONG QSocketDevice::waitForMore ( int msecs, bool * timeout = 0 ) const" +.SH "TQ_LONG QSocketDevice::waitForMore ( int msecs, bool * timeout = 0 ) const" Wait up to \fImsecs\fR milliseconds for more data to be available. If \fImsecs\fR is -1 the call will block indefinitely. .PP Returns the number of bytes available for reading, or -1 if an error occurred. @@ -333,13 +333,13 @@ If \fItimeout\fR is non-null and no error occurred (i.e. it does not return -1): \fBWarning:\fR This is a blocking call and should be avoided in event driven applications. .PP See also bytesAvailable(). -.SH "Q_LONG QSocketDevice::writeBlock ( const char * data, Q_ULONG len )\fC [virtual]\fR" +.SH "TQ_LONG QSocketDevice::writeBlock ( const char * data, TQ_ULONG len )\fC [virtual]\fR" Writes \fIlen\fR bytes to the socket from \fIdata\fR and returns the number of bytes written. Returns -1 if an error occurred. .PP This is used for QSocketDevice::Stream sockets. .PP Reimplemented from QIODevice. -.SH "Q_LONG QSocketDevice::writeBlock ( const char * data, Q_ULONG len, const QHostAddress & host, Q_UINT16 port )\fC [virtual]\fR" +.SH "TQ_LONG QSocketDevice::writeBlock ( const char * data, TQ_ULONG len, const QHostAddress & host, TQ_UINT16 port )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Writes \fIlen\fR bytes to the socket from \fIdata\fR and returns the number of bytes written. Returns -1 if an error occurred. diff --git a/doc/man/man3/qstring.3qt b/doc/man/man3/qstring.3qt index 1395b5fa5..00f736305 100644 --- a/doc/man/man3/qstring.3qt +++ b/doc/man/man3/qstring.3qt @@ -82,10 +82,10 @@ All the functions in this class are reentrant when Qt is built with thread suppo .BI "QString \fBarg\fR ( ulong a, int fieldWidth = 0, int base = 10 ) const" .br .ti -1c -.BI "QString \fBarg\fR ( Q_LLONG a, int fieldWidth = 0, int base = 10 ) const" +.BI "QString \fBarg\fR ( TQ_LLONG a, int fieldWidth = 0, int base = 10 ) const" .br .ti -1c -.BI "QString \fBarg\fR ( Q_ULLONG a, int fieldWidth = 0, int base = 10 ) const" +.BI "QString \fBarg\fR ( TQ_ULLONG a, int fieldWidth = 0, int base = 10 ) const" .br .ti -1c .BI "QString \fBarg\fR ( int a, int fieldWidth = 0, int base = 10 ) const" @@ -331,10 +331,10 @@ All the functions in this class are reentrant when Qt is built with thread suppo .BI "ulong \fBtoULong\fR ( bool * ok = 0, int base = 10 ) const" .br .ti -1c -.BI "Q_LLONG \fBtoLongLong\fR ( bool * ok = 0, int base = 10 ) const" +.BI "TQ_LLONG \fBtoLongLong\fR ( bool * ok = 0, int base = 10 ) const" .br .ti -1c -.BI "Q_ULLONG \fBtoULongLong\fR ( bool * ok = 0, int base = 10 ) const" +.BI "TQ_ULLONG \fBtoULongLong\fR ( bool * ok = 0, int base = 10 ) const" .br .ti -1c .BI "float \fBtoFloat\fR ( bool * ok = 0 ) const" @@ -361,10 +361,10 @@ All the functions in this class are reentrant when Qt is built with thread suppo .BI "QString & \fBsetNum\fR ( ulong n, int base = 10 )" .br .ti -1c -.BI "QString & \fBsetNum\fR ( Q_LLONG n, int base = 10 )" +.BI "QString & \fBsetNum\fR ( TQ_LLONG n, int base = 10 )" .br .ti -1c -.BI "QString & \fBsetNum\fR ( Q_ULLONG n, int base = 10 )" +.BI "QString & \fBsetNum\fR ( TQ_ULLONG n, int base = 10 )" .br .ti -1c .BI "QString & \fBsetNum\fR ( float n, char f = 'g', int prec = 6 )" @@ -490,10 +490,10 @@ All the functions in this class are reentrant when Qt is built with thread suppo .BI "QString \fBnumber\fR ( ulong n, int base = 10 )" .br .ti -1c -.BI "QString \fBnumber\fR ( Q_LLONG n, int base = 10 )" +.BI "QString \fBnumber\fR ( TQ_LLONG n, int base = 10 )" .br .ti -1c -.BI "QString \fBnumber\fR ( Q_ULLONG n, int base = 10 )" +.BI "QString \fBnumber\fR ( TQ_ULLONG n, int base = 10 )" .br .ti -1c .BI "QString \fBnumber\fR ( int n, int base = 10 )" @@ -810,11 +810,11 @@ The '%' can be followed by an 'L', in which case the sequence is replaced with a This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIa\fR is expressed in base \fIbase\fR, which is 10 by default and must be between 2 and 36. If \fIbase\fR is 10, the '%L' syntax can be used to produce localized strings. -.SH "QString QString::arg ( Q_LLONG a, int fieldWidth = 0, int base = 10 ) const" +.SH "QString QString::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. .PP \fIa\fR is expressed in base \fIbase\fR, which is 10 by default and must be between 2 and 36. If \fIbase\fR is 10, the '%L' syntax can be used to produce localized strings. -.SH "QString QString::arg ( Q_ULLONG a, int fieldWidth = 0, int base = 10 ) const" +.SH "QString QString::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. .PP \fIa\fR is expressed in base \fIbase\fR, which is 10 by default and must be between 2 and 36. If \fIbase\fR is 10, the '%L' syntax can be used to produce localized strings. @@ -1410,11 +1410,11 @@ Examples: This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also setNum(). -.SH "QString QString::number ( Q_LLONG n, int base = 10 )\fC [static]\fR" +.SH "QString QString::number ( TQ_LLONG n, int base = 10 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also setNum(). -.SH "QString QString::number ( Q_ULLONG n, int base = 10 )\fC [static]\fR" +.SH "QString QString::number ( TQ_ULLONG n, int base = 10 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP See also setNum(). @@ -1971,7 +1971,7 @@ See also isNull() and isEmpty(). Ensures that at least \fInewLen\fR characters are allocated to the string, and sets the length of the string to \fInewLen\fR. Any new space allocated contains arbitrary data. .PP See also reserve() and truncate(). -.SH "QString & QString::setNum ( Q_LLONG n, int base = 10 )" +.SH "QString & QString::setNum ( TQ_LLONG n, int base = 10 )" Sets the string to the printed value of \fIn\fR in base \fIbase\fR and returns a reference to the string. The returned string is in "C" locale. .PP The base is 10 by default and must be between 2 and 36. @@ -2011,7 +2011,7 @@ The base is 10 by default and must be between 2 and 36. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .SH "QString & QString::setNum ( ulong n, int base = 10 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "QString & QString::setNum ( Q_ULLONG n, int base = 10 )" +.SH "QString & QString::setNum ( TQ_ULLONG n, int base = 10 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the string to the printed value of \fIn\fR in base \fIbase\fR and returns a reference to the string. @@ -2246,7 +2246,7 @@ Leading and trailing whitespace is ignored by this function. For information on how string-to-number functions in QString handle localized input, see toDouble(). .PP See also number(). -.SH "Q_LLONG QString::toLongLong ( bool * ok = 0, int base = 10 ) const" +.SH "TQ_LLONG QString::toLongLong ( bool * ok = 0, int base = 10 ) const" Returns the string converted to a \fClong long\fR using base \fIbase\fR, which is 10 by default and must be between 2 and 36 or 0. If \fIbase\fR is 0, the base is determined automatically using the following rules: .TP If the string begins with "0x", it is assumed to be hexadecimal; @@ -2318,7 +2318,7 @@ Leading and trailing whitespace is ignored by this function. For information on how string-to-number functions in QString handle localized input, see toDouble(). .PP See also number(). -.SH "Q_ULLONG QString::toULongLong ( bool * ok = 0, int base = 10 ) const" +.SH "TQ_ULLONG QString::toULongLong ( bool * ok = 0, int base = 10 ) const" Returns the string converted to an \fCunsigned long long\fR using base \fIbase\fR, which is 10 by default and must be between 2 and 36 or 0. If \fIbase\fR is 0, the base is determined automatically using the following rules: .TP If the string begins with "0x", it is assumed to be hexadecimal; diff --git a/doc/man/man3/qvariant.3qt b/doc/man/man3/qvariant.3qt index cc1c0b38c..99bd38a83 100644 --- a/doc/man/man3/qvariant.3qt +++ b/doc/man/man3/qvariant.3qt @@ -119,10 +119,10 @@ QVariant \- Acts like a union for the most common Qt data types .BI "\fBQVariant\fR ( uint val )" .br .ti -1c -.BI "\fBQVariant\fR ( Q_LLONG val )" +.BI "\fBQVariant\fR ( TQ_LLONG val )" .br .ti -1c -.BI "\fBQVariant\fR ( Q_ULLONG val )" +.BI "\fBQVariant\fR ( TQ_ULLONG val )" .br .ti -1c .BI "\fBQVariant\fR ( bool val, int )" @@ -245,10 +245,10 @@ QVariant \- Acts like a union for the most common Qt data types .BI "uint \fBtoUInt\fR ( bool * ok = 0 ) const" .br .ti -1c -.BI "Q_LLONG \fBtoLongLong\fR ( bool * ok = 0 ) const" +.BI "TQ_LLONG \fBtoLongLong\fR ( bool * ok = 0 ) const" .br .ti -1c -.BI "Q_ULLONG \fBtoULongLong\fR ( bool * ok = 0 ) const" +.BI "TQ_ULLONG \fBtoULongLong\fR ( bool * ok = 0 ) const" .br .ti -1c .BI "bool \fBtoBool\fR () const" @@ -368,10 +368,10 @@ QVariant \- Acts like a union for the most common Qt data types .BI "uint & \fBasUInt\fR ()" .br .ti -1c -.BI "Q_LLONG & \fBasLongLong\fR ()" +.BI "TQ_LLONG & \fBasLongLong\fR ()" .br .ti -1c -.BI "Q_ULLONG & \fBasULongLong\fR ()" +.BI "TQ_ULLONG & \fBasULongLong\fR ()" .br .ti -1c .BI "bool & \fBasBool\fR ()" @@ -626,9 +626,9 @@ Constructs a new variant with a map of QVariants, \fIval\fR. Constructs a new variant with an integer value, \fIval\fR. .SH "QVariant::QVariant ( uint val )" Constructs a new variant with an unsigned integer value, \fIval\fR. -.SH "QVariant::QVariant ( Q_LLONG val )" +.SH "QVariant::QVariant ( TQ_LLONG val )" Constructs a new variant with a long long integer value, \fIval\fR. -.SH "QVariant::QVariant ( Q_ULLONG val )" +.SH "QVariant::QVariant ( TQ_ULLONG val )" Constructs a new variant with an unsigned long long integer value, \fIval\fR. .SH "QVariant::~QVariant ()" Destroys the QVariant and the contained object. @@ -744,7 +744,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, } .br .fi -.SH "Q_LLONG & QVariant::asLongLong ()" +.SH "TQ_LLONG & QVariant::asLongLong ()" Returns the variant's value as long long reference. .SH "QMap<QString, QVariant> & QVariant::asMap ()" Returns the variant's value as variant map reference. @@ -854,7 +854,7 @@ Returns a reference to the stored time. See also toTime(). .SH "uint & QVariant::asUInt ()" Returns the variant's value as unsigned int reference. -.SH "Q_ULLONG & QVariant::asULongLong ()" +.SH "TQ_ULLONG & QVariant::asULongLong ()" Returns the variant's value as unsigned long long reference. .SH "bool QVariant::canCast ( Type t ) const" Returns TRUE if the variant's type can be cast to the requested type, \fIt\fR. Such casting is done automatically when calling the toInt(), toBool(), ... or asInt(), asBool(), ... methods. @@ -1015,7 +1015,7 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP See also asList(). -.SH "Q_LLONG QVariant::toLongLong ( bool * ok = 0 ) const" +.SH "TQ_LLONG QVariant::toLongLong ( bool * ok = 0 ) const" Returns the variant as a long long int if the variant can be cast to LongLong; otherwise returns 0. .PP If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an int; otherwise \fI*ok\fR is set to FALSE. @@ -1115,7 +1115,7 @@ Returns the variant as an unsigned int if the variant can be cast to UInt; other If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an unsigned int; otherwise \fI*ok\fR is set to FALSE. .PP See also asUInt() and canCast(). -.SH "Q_ULLONG QVariant::toULongLong ( bool * ok = 0 ) const" +.SH "TQ_ULLONG QVariant::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. .PP If \fIok\fR is non-null: \fI*ok\fR is set to TRUE if the value could be converted to an int; otherwise \fI*ok\fR is set to FALSE. |