diff options
Diffstat (limited to 'doc/man/man3')
31 files changed, 81 insertions, 81 deletions
diff --git a/doc/man/man3/qapplication.3qt b/doc/man/man3/qapplication.3qt index 45aeaba..0be4627 100644 --- a/doc/man/man3/qapplication.3qt +++ b/doc/man/man3/qapplication.3qt @@ -1696,7 +1696,7 @@ Example: .br .fi .PP -If \fCb\fR is zero, the Q_ASSERT statement will output the following message using the tqWarning() function: +If \fCb\fR is zero, the Q_ASSERT statement will output the following message using the qWarning() function: .PP .nf .br @@ -1704,7 +1704,7 @@ If \fCb\fR is zero, the Q_ASSERT statement will output the following message usi .br .fi .PP -See also tqWarning() and Debugging. +See also qWarning() and Debugging. .SH "void Q_CHECK_PTR ( void * p )" If \fIp\fR is 0, prints a warning message containing the source code file name and line number, saying that the program ran out of memory. .PP @@ -1726,8 +1726,8 @@ Example: .br .fi .PP -See also tqWarning() and Debugging. -.SH "void tqAddPostRoutine ( QtCleanUpFunction p )" +See also qWarning() and Debugging. +.SH "void qAddPostRoutine ( QtCleanUpFunction p )" Adds a global routine that will be called from the QApplication destructor. This function is normally used to add cleanup routines for program-wide functionality. .PP The function given by \fIp\fR should take no arguments and return nothing, like this: @@ -1754,13 +1754,13 @@ The function given by \fIp\fR should take no arguments and return nothing, like .br global_ptr = new int[100]; // allocate data .br - tqAddPostRoutine( cleanup_ptr ); // delete later + qAddPostRoutine( cleanup_ptr ); // delete later .br } .br .fi .PP -Note that for an application- or module-wide cleanup, tqAddPostRoutine() is often not suitable. People have a tendency to make such modules dynamically loaded, and then unload those modules long before the QApplication destructor is called, for example. +Note that for an application- or module-wide cleanup, qAddPostRoutine() is often not suitable. People have a tendency to make such modules dynamically loaded, and then unload those modules long before the QApplication destructor is called, for example. .PP For modules and libraries, using a reference-counted initialization manager or Qt' parent-child delete mechanism may be better. Here is an example of a private class which uses the parent-child mechanism to call a cleanup function at the right time: .PP @@ -1803,7 +1803,7 @@ For modules and libraries, using a reference-counted initialization manager or Q .fi .PP By selecting the right parent widget/object, this can often be made to clean up the module's data at the exact right moment. -.SH "void tqDebug ( const char * msg, ... )" +.SH "void qDebug ( const char * msg, ... )" Prints a debug message \fImsg\fR, or calls the message handler (if it has been installed). .PP This function takes a format string and a list of arguments, similar to the C printf() function. @@ -1812,7 +1812,7 @@ Example: .PP .nf .br - tqDebug( "my window handle = %x", myWidget->id() ); + qDebug( "my window handle = %x", myWidget->id() ); .br .fi .PP @@ -1820,10 +1820,10 @@ Under X11, the text is printed to stderr. Under Windows, the text is sent to the .PP \fBWarning:\fR The internal buffer is limited to 8196 bytes (including the '\0'-terminator). .PP -\fBWarning:\fR Passing (const char *)0 as argument to tqDebug might lead to crashes on certain platforms due to the platforms printf implementation. +\fBWarning:\fR Passing (const char *)0 as argument to qDebug might lead to crashes on certain platforms due to the platforms printf implementation. .PP -See also tqWarning(), tqFatal(), qInstallMsgHandler(), and Debugging. -.SH "void tqFatal ( const char * msg, ... )" +See also qWarning(), qFatal(), qInstallMsgHandler(), and Debugging. +.SH "void qFatal ( const char * msg, ... )" Prints a fatal error message \fImsg\fR and exits, or calls the message handler (if it has been installed). .PP This function takes a format string and a list of arguments, similar to the C printf() function. @@ -1838,7 +1838,7 @@ Example: .br if ( b == 0 ) // program error .br - tqFatal( "divide: cannot divide by zero" ); + qFatal( "divide: cannot divide by zero" ); .br return a/b; .br @@ -1850,9 +1850,9 @@ Under X11, the text is printed to stderr. Under Windows, the text is sent to the .PP \fBWarning:\fR The internal buffer is limited to 8196 bytes (including the '\0'-terminator). .PP -\fBWarning:\fR Passing (const char *)0 as argument to tqFatal might lead to crashes on certain platforms due to the platforms printf implementation. +\fBWarning:\fR Passing (const char *)0 as argument to qFatal might lead to crashes on certain platforms due to the platforms printf implementation. .PP -See also tqDebug(), tqWarning(), qInstallMsgHandler(), and Debugging. +See also qDebug(), qWarning(), qInstallMsgHandler(), and Debugging. .SH "QtMsgHandler qInstallMsgHandler ( QtMsgHandler h )" Installs a Qt message handler \fIh\fR. Returns a pointer to the message handler previously defined. .PP @@ -1920,22 +1920,22 @@ Example: .br .fi .PP -See also tqDebug(), tqWarning(), tqFatal(), and Debugging. -.SH "bool tqSysInfo ( int * wordSize, bool * bigEndian )" +See also qDebug(), qWarning(), qFatal(), and Debugging. +.SH "bool qSysInfo ( int * wordSize, bool * bigEndian )" Obtains information about the system. .PP The system's word size in bits (typically 32) is returned in \fI*wordSize\fR. The \fI*bigEndian\fR is set to TRUE if this is a big-endian machine, or to FALSE if this is a little-endian machine. .PP -In debug mode, this function calls tqFatal() with a message if the computer is truly weird (i.e. different endianness for 16 bit and 32 bit integers); in release mode it returns FALSE. -.SH "void tqSystemWarning ( const char * msg, int code )" +In debug mode, this function calls qFatal() with a message if the computer is truly weird (i.e. different endianness for 16 bit and 32 bit integers); in release mode it returns FALSE. +.SH "void qSystemWarning ( const char * msg, int code )" Prints the message \fImsg\fR and uses \fIcode\fR to get a system specific error message. When \fIcode\fR is -1 (the default), the system's last error code will be used if possible. Use this method to handle failures in platform specific API calls. .PP This function does nothing when Qt is built with \fCQT_NO_DEBUG\fR defined. -.SH "const char * tqVersion ()" +.SH "const char * qVersion ()" Returns the Qt version number as a string, for example, "2.3.0" or" 3.0.5". .PP The \fCQT_VERSION\fR define has the numeric value in the form: 0xmmiibb (m = major, i = minor, b = bugfix). For example, Qt 3.0.5's \fCQT_VERSION\fR is 0x030005. -.SH "void tqWarning ( const char * msg, ... )" +.SH "void qWarning ( const char * msg, ... )" Prints a warning message \fImsg\fR, or calls the message handler (if it has been installed). .PP This function takes a format string and a list of arguments, similar to the C printf() function. @@ -1950,7 +1950,7 @@ Example: .br if ( c > 200 ) .br - tqWarning( "f: bad argument, c == %d", c ); + qWarning( "f: bad argument, c == %d", c ); .br } .br @@ -1960,9 +1960,9 @@ Under X11, the text is printed to stderr. Under Windows, the text is sent to the .PP \fBWarning:\fR The internal buffer is limited to 8196 bytes (including the '\0'-terminator). .PP -\fBWarning:\fR Passing (const char *)0 as argument to tqWarning might lead to crashes on certain platforms due to the platforms printf implementation. +\fBWarning:\fR Passing (const char *)0 as argument to qWarning might lead to crashes on certain platforms due to the platforms printf implementation. .PP -See also tqDebug(), tqFatal(), qInstallMsgHandler(), and Debugging. +See also qDebug(), qFatal(), qInstallMsgHandler(), and Debugging. .SH "SEE ALSO" .BR http://doc.trolltech.com/qapplication.html diff --git a/doc/man/man3/qasciicache.3qt b/doc/man/man3/qasciicache.3qt index 1b0ab51..489b650 100644 --- a/doc/man/man3/qasciicache.3qt +++ b/doc/man/man3/qasciicache.3qt @@ -151,7 +151,7 @@ See also maxCost() and totalCost(). .SH "uint QAsciiCache::size () const" Returns the size of the hash array used to implement the cache. This should be a bit bigger than count() is likely to be. .SH "void QAsciiCache::statistics () const" -A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using tqDebug(). This function does nothing in the release library. +A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using qDebug(). This function does nothing in the release library. .SH "type * QAsciiCache::take ( const char * k )" Takes the item associated with \fIk\fR out of the cache without deleting it and returns a pointer to the item taken out, or 0 if the key does not exist in the cache. .PP diff --git a/doc/man/man3/qasciidict.3qt b/doc/man/man3/qasciidict.3qt index 2d3d0c9..4f64e64 100644 --- a/doc/man/man3/qasciidict.3qt +++ b/doc/man/man3/qasciidict.3qt @@ -275,7 +275,7 @@ Returns the size of the internal hash array (as specified in the constructor). .PP See also count(). .SH "void QAsciiDict::statistics () const" -Debugging-only function that prints out the dictionary distribution using tqDebug(). +Debugging-only function that prints out the dictionary distribution using qDebug(). .SH "type * QAsciiDict::take ( const char * key )" Takes the item associated with \fIkey\fR out of the dictionary without deleting it (even if auto-deletion is enabled). .PP diff --git a/doc/man/man3/qbytearray.3qt b/doc/man/man3/qbytearray.3qt index 1470fbf..dffb9d1 100644 --- a/doc/man/man3/qbytearray.3qt +++ b/doc/man/man3/qbytearray.3qt @@ -53,11 +53,11 @@ Constructs an empty QByteArray. .SH "QByteArray::QByteArray ( int size )" Constructs a QByteArray of size \fIsize\fR. .SH RELATED FUNCTION DOCUMENTATION -.SH "QByteArray tqCompress ( const QByteArray & data )" +.SH "QByteArray qCompress ( const QByteArray & data )" Compresses the array \fIdata\fR and returns the compressed byte array using zlib. .PP See also qUncompress(). -.SH "QByteArray tqCompress ( const uchar * data, int nbytes )" +.SH "QByteArray qCompress ( const uchar * data, int nbytes )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Compresses the array \fIdata\fR which is \fInbytes\fR long and returns the compressed byte array. @@ -66,7 +66,7 @@ Uncompresses the array \fIdata\fR and returns the uncompressed byte array. .PP Returns an empty QByteArray if the input data was corrupt. .PP -See also tqCompress(). +See also qCompress(). .SH "QByteArray qUncompress ( const uchar * data, int nbytes )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP diff --git a/doc/man/man3/qcache.3qt b/doc/man/man3/qcache.3qt index 0711a63..ddae368 100644 --- a/doc/man/man3/qcache.3qt +++ b/doc/man/man3/qcache.3qt @@ -175,7 +175,7 @@ See also maxCost() and totalCost(). .SH "uint QCache::size () const" Returns the size of the hash array used to implement the cache. This should be a bit bigger than count() is likely to be. .SH "void QCache::statistics () const" -A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using tqDebug(). This function does nothing in the release library. +A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using qDebug(). This function does nothing in the release library. .SH "type * QCache::take ( const QString & k )" Takes the item associated with \fIk\fR out of the cache without deleting it, and returns a pointer to the item taken out, or 0 if the key does not exist in the cache. .PP diff --git a/doc/man/man3/qcanvasview.3qt b/doc/man/man3/qcanvasview.3qt index 78fc95d..7092663 100644 --- a/doc/man/man3/qcanvasview.3qt +++ b/doc/man/man3/qcanvasview.3qt @@ -68,7 +68,7 @@ If you want users to be able to interact with a canvas view, subclass QCanvasVie .br if ( (*it)->rtti() == QCanvasRectangle::RTTI ) .br - tqDebug("A QCanvasRectangle lies somewhere at this point"); + qDebug("A QCanvasRectangle lies somewhere at this point"); .br } .br diff --git a/doc/man/man3/qclipboard.3qt b/doc/man/man3/qclipboard.3qt index 51b9992..fb91a21 100644 --- a/doc/man/man3/qclipboard.3qt +++ b/doc/man/man3/qclipboard.3qt @@ -125,7 +125,7 @@ Example: .br if ( !text.isNull() ) .br - tqDebug( "The clipboard contains: " + text ); + qDebug( "The clipboard contains: " + text ); .br .br // Copy text into the clipboard diff --git a/doc/man/man3/qcstring.3qt b/doc/man/man3/qcstring.3qt index f8d8e64..f170c99 100644 --- a/doc/man/man3/qcstring.3qt +++ b/doc/man/man3/qcstring.3qt @@ -1041,7 +1041,7 @@ See also Note on character comparisons. Reads a string into \fIstr\fR from the stream \fIs\fR. .PP See also Format of the QDataStream operators. -.SH "void * tqmemmove ( void * dst, const void * src, uint len )" +.SH "void * qmemmove ( void * dst, const void * src, uint len )" This function is normally part of the C library. Qt implements memmove() for platforms that do not provide it. .PP memmove() copies \fIlen\fR bytes from \fIsrc\fR into \fIdst\fR. The data is copied correctly even if \fIsrc\fR and \fIdst\fR overlap. @@ -1054,18 +1054,18 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0. .PP Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both). .PP -See also qstrncmp(), tqstricmp(), tqstrnicmp(), and Note on character comparisons. +See also qstrncmp(), qstricmp(), qstrnicmp(), and Note on character comparisons. .SH "char * qstrcpy ( char * dst, const char * src )" A safe strcpy() function. .PP Copies all characters up to and including the '\0' from \fIsrc\fR into \fIdst\fR and returns a pointer to \fIdst\fR. -.SH "char * tqstrdup ( const char * src )" +.SH "char * qstrdup ( const char * src )" Returns a duplicate string. .PP Allocates space for a copy of \fIsrc\fR, copies it, and returns a pointer to the copy. If \fIsrc\fR is 0, it immediately returns 0. .PP The returned string must be deleted using \fCdelete[]\fR. -.SH "int tqstricmp ( const char * str1, const char * str2 )" +.SH "int qstricmp ( const char * str1, const char * str2 )" A safe stricmp() function. .PP Compares \fIstr1\fR and \fIstr2\fR ignoring the case. @@ -1076,7 +1076,7 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0. .PP Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both). .PP -See also qstrcmp(), qstrncmp(), tqstrnicmp(), and Note on character comparisons. +See also qstrcmp(), qstrncmp(), qstrnicmp(), and Note on character comparisons. .SH "uint qstrlen ( const char * str )" A safe strlen function. .PP @@ -1092,14 +1092,14 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0. .PP Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both). .PP -See also qstrcmp(), tqstricmp(), tqstrnicmp(), and Note on character comparisons. -.SH "char * tqstrncpy ( char * dst, const char * src, uint len )" +See also qstrcmp(), qstricmp(), qstrnicmp(), and Note on character comparisons. +.SH "char * qstrncpy ( char * dst, const char * src, uint len )" A safe strncpy() function. .PP Copies at most \fIlen\fR bytes from \fIsrc\fR (stopping at \fIlen\fR or the terminating '\0' whichever comes first) into \fIdst\fR and returns a pointer to \fIdst\fR. Guarantees that \fIdst\fR is '\0'-terminated. If \fIsrc\fR or \fIdst\fR is 0, returns 0 immediately. .PP See also qstrcpy(). -.SH "int tqstrnicmp ( const char * str1, const char * str2, uint len )" +.SH "int qstrnicmp ( const char * str1, const char * str2, uint len )" A safe strnicmp() function. .PP Compares at most \fIlen\fR bytes of \fIstr1\fR and \fIstr2\fR ignoring the case. @@ -1110,7 +1110,7 @@ Special case I: Returns 0 if \fIstr1\fR and \fIstr2\fR are both 0. .PP Special case II: Returns a random nonzero value if \fIstr1\fR is 0 or \fIstr2\fR is 0 (but not both). .PP -See also qstrcmp(), qstrncmp(), tqstricmp(), and Note on character comparisons. +See also qstrcmp(), qstrncmp(), qstricmp(), and Note on character comparisons. .SH "SEE ALSO" .BR http://doc.trolltech.com/qcstring.html diff --git a/doc/man/man3/qdatetime.3qt b/doc/man/man3/qdatetime.3qt index ea70baa..e9e057b 100644 --- a/doc/man/man3/qdatetime.3qt +++ b/doc/man/man3/qdatetime.3qt @@ -219,7 +219,7 @@ Example: .br QDateTime xmas( QDate(dt.date().year(),12,24), QTime(17,00) ); .br - tqDebug( "There are %d seconds to Christmas", dt.secsTo(xmas) ); + qDebug( "There are %d seconds to Christmas", dt.secsTo(xmas) ); .br .fi .PP diff --git a/doc/man/man3/qdict.3qt b/doc/man/man3/qdict.3qt index 0522ad2..b0190e7 100644 --- a/doc/man/man3/qdict.3qt +++ b/doc/man/man3/qdict.3qt @@ -332,7 +332,7 @@ Returns the size of the internal hash array (as specified in the constructor). .PP See also count(). .SH "void QDict::statistics () const" -Debugging-only function that prints out the dictionary distribution using tqDebug(). +Debugging-only function that prints out the dictionary distribution using qDebug(). .SH "type * QDict::take ( const QString & key )" Takes the item with \fIkey\fR out of the dictionary without deleting it (even if auto-deletion is enabled). .PP diff --git a/doc/man/man3/qdir.3qt b/doc/man/man3/qdir.3qt index cedc312..8e13ad2 100644 --- a/doc/man/man3/qdir.3qt +++ b/doc/man/man3/qdir.3qt @@ -233,7 +233,7 @@ See if a directory exists. .br if ( !d.exists() ) .br - tqWarning( "Cannot find the example directory" ); + qWarning( "Cannot find the example directory" ); .br .fi .PP @@ -245,7 +245,7 @@ Traversing directories and reading a file. .br if ( !d.cd("tmp") ) { // "/tmp" .br - tqWarning( "Cannot find the \\"/tmp\\" directory" ); + qWarning( "Cannot find the \\"/tmp\\" directory" ); .br } else { .br @@ -253,7 +253,7 @@ Traversing directories and reading a file. .br if ( !f.open(IO_ReadWrite) ) .br - tqWarning( "Cannot create the file %s", f.name() ); + qWarning( "Cannot create the file %s", f.name() ); .br } .br @@ -615,7 +615,7 @@ Note: If the directory is a symbolic link to the root directory this function re .br if ( d.isRoot() ) .br - tqWarning( "It is a root link" ); + qWarning( "It is a root link" ); .br .fi .PP @@ -663,7 +663,7 @@ Example: .br if ( d1 != d2 ) .br - tqDebug( "They differ" ); + qDebug( "They differ" ); .br .fi .SH "QDir & QDir::operator= ( const QDir & d )" @@ -689,7 +689,7 @@ Example: .br if ( d1 == d2 ) .br - tqDebug( "They're the same" ); + qDebug( "They're the same" ); .br .fi .SH "QString QDir::operator[] ( int index ) const" diff --git a/doc/man/man3/qerrormessage.3qt b/doc/man/man3/qerrormessage.3qt index 419a21f..662486c 100644 --- a/doc/man/man3/qerrormessage.3qt +++ b/doc/man/man3/qerrormessage.3qt @@ -43,7 +43,7 @@ There are two ways to use this class: <ol type=1> .IP 1 For production applications. In this context the class can be used to display messages which you don't need the user to see more than once. To use QErrorMessage like this, you create the dialog in the usual way and call the message() slot, or connect signals to it. .IP 2 -For developers. In this context the static qtHandler() installs a message handler using qInstallMsgHandler() and creates a QErrorMessage that displays tqDebug(), tqWarning() and tqFatal() messages. +For developers. In this context the static qtHandler() installs a message handler using qInstallMsgHandler() and creates a QErrorMessage that displays qDebug(), qWarning() and qFatal() messages. .PP In both cases QErrorMessage will queue pending messages, and display them (or not) in order, as soon as the user presses Enter or clicks OK after seeing each message. .PP diff --git a/doc/man/man3/qfileinfo.3qt b/doc/man/man3/qfileinfo.3qt index 74ca492..ddad3bf 100644 --- a/doc/man/man3/qfileinfo.3qt +++ b/doc/man/man3/qfileinfo.3qt @@ -429,11 +429,11 @@ Example: .br if ( fi.permission( QFileInfo::WriteUser | QFileInfo::ReadGroup ) ) .br - tqWarning( "I can change the file; my group can read the file" ); + qWarning( "I can change the file; my group can read the file" ); .br if ( fi.permission( QFileInfo::WriteGroup | QFileInfo::WriteOther ) ) .br - tqWarning( "The group or others can change the file" ); + qWarning( "The group or others can change the file" ); .br .fi .PP diff --git a/doc/man/man3/qfontdatabase.3qt b/doc/man/man3/qfontdatabase.3qt index 5b64bad..e1ae740 100644 --- a/doc/man/man3/qfontdatabase.3qt +++ b/doc/man/man3/qfontdatabase.3qt @@ -147,7 +147,7 @@ int main( int argc, char **argv ) .br QString family = *f; .br - tqDebug( family ); + qDebug( family ); .br QStringList styles = fdb.styles( family ); .br @@ -169,7 +169,7 @@ int main( int argc, char **argv ) .br dstyle = dstyle.left( dstyle.length() - 1 ) + ")"; .br - tqDebug( dstyle ); + qDebug( dstyle ); .br } .br diff --git a/doc/man/man3/qftp.3qt b/doc/man/man3/qftp.3qt index d9966f6..f9a49a3 100644 --- a/doc/man/man3/qftp.3qt +++ b/doc/man/man3/qftp.3qt @@ -156,7 +156,7 @@ If you want to use QFtp with the QNetworkProtocol interface, you do not use it d .br .fi .PP -This code will only work if the QFtp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with QFtp. +This code will only work if the QFtp class is registered; to register the class, you must call qInitNetworkProtocols() before using a QUrlOperator with QFtp. .PP The rest of this descrption describes the direct interface to FTP. .PP diff --git a/doc/man/man3/qglformat.3qt b/doc/man/man3/qglformat.3qt index 8fca56e..34d43eb 100644 --- a/doc/man/man3/qglformat.3qt +++ b/doc/man/man3/qglformat.3qt @@ -184,7 +184,7 @@ After the widget has been created, you can find out which of the requested featu .br if ( !w->format().hasOverlay() ) { .br - tqFatal( "Cool hardware required" ); + qFatal( "Cool hardware required" ); .br } .br @@ -239,11 +239,11 @@ This constructor makes it easy to specify a certain desired format in classes de .br if ( !format().stencil() ) .br - tqWarning( "Could not get stencil buffer; results will be suboptimal" ); + qWarning( "Could not get stencil buffer; results will be suboptimal" ); .br if ( !format().alphaChannel() ) .br - tqWarning( "Could not get alpha channel; results will be suboptimal" ); + qWarning( "Could not get alpha channel; results will be suboptimal" ); .br ... .br diff --git a/doc/man/man3/qguardedptr.3qt b/doc/man/man3/qguardedptr.3qt index 6d5f380..7f13f89 100644 --- a/doc/man/man3/qguardedptr.3qt +++ b/doc/man/man3/qguardedptr.3qt @@ -75,7 +75,7 @@ Example: .br else .br - tqDebug("The label has been destroyed"); + qDebug("The label has been destroyed"); .br .fi .PP diff --git a/doc/man/man3/qhttp.3qt b/doc/man/man3/qhttp.3qt index f32c369..1348237 100644 --- a/doc/man/man3/qhttp.3qt +++ b/doc/man/man3/qhttp.3qt @@ -144,7 +144,7 @@ If you want to use QHttp with the QNetworkProtocol interface, you do not use it .br .fi .PP -This code will only work if the QHttp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with HTTP. +This code will only work if the QHttp class is registered; to register the class, you must call qInitNetworkProtocols() before using a QUrlOperator with HTTP. .PP The QNetworkProtocol interface for HTTP only supports the operations operationGet() and operationPut(), i.e. QUrlOperator::get() and QUrlOperator::put(), if you use it with a QUrlOperator. .PP diff --git a/doc/man/man3/qintcache.3qt b/doc/man/man3/qintcache.3qt index dc96591..fdd9652 100644 --- a/doc/man/man3/qintcache.3qt +++ b/doc/man/man3/qintcache.3qt @@ -145,7 +145,7 @@ See also maxCost() and totalCost(). .SH "uint QIntCache::size () const" Returns the size of the hash array used to implement the cache. This should be a bit larger than count() is likely to be. .SH "void QIntCache::statistics () const" -A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using tqDebug(). This function does nothing in the release library. +A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using qDebug(). This function does nothing in the release library. .SH "type * QIntCache::take ( long k )" Takes the item associated with \fIk\fR out of the cache without deleting it, and returns a pointer to the item taken out or 0 if the key does not exist in the cache. .PP diff --git a/doc/man/man3/qintdict.3qt b/doc/man/man3/qintdict.3qt index 171acfd..ca8e65d 100644 --- a/doc/man/man3/qintdict.3qt +++ b/doc/man/man3/qintdict.3qt @@ -271,7 +271,7 @@ Returns the size of the internal hash array (as specified in the constructor). .PP See also count(). .SH "void QIntDict::statistics () const" -Debugging-only function that prints out the dictionary distribution using tqDebug(). +Debugging-only function that prints out the dictionary distribution using qDebug(). .SH "type * QIntDict::take ( long key )" Takes the item associated with \fIkey\fR out of the dictionary without deleting it (even if auto-deletion is enabled). .PP diff --git a/doc/man/man3/qlocalfs.3qt b/doc/man/man3/qlocalfs.3qt index 8d5a1d5..3fc7d2b 100644 --- a/doc/man/man3/qlocalfs.3qt +++ b/doc/man/man3/qlocalfs.3qt @@ -32,7 +32,7 @@ This class is derived from QNetworkProtocol. QLocalFs is not normally used direc .br .fi .PP -This code will only work if the QLocalFs class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with QLocalFs. +This code will only work if the QLocalFs class is registered; to register the class, you must call qInitNetworkProtocols() before using a QUrlOperator with QLocalFs. .PP If you really need to use QLocalFs directly, don't forget to set its QUrlOperator with setUrl(). .PP diff --git a/doc/man/man3/qmemarray.3qt b/doc/man/man3/qmemarray.3qt index 92b8fce..40f2c20 100644 --- a/doc/man/man3/qmemarray.3qt +++ b/doc/man/man3/qmemarray.3qt @@ -203,12 +203,12 @@ Example: .br for ( int i = 0; i < a.size(); i++ ) .br - tqDebug( "%d: %d", i, a[i] ); + qDebug( "%d: %d", i, a[i] ); .br .br - tqDebug( "1 is found %d times", a.contains(1) ); + qDebug( "1 is found %d times", a.contains(1) ); .br - tqDebug( "5 is found at index %d", a.find(5) ); + qDebug( "5 is found at index %d", a.find(5) ); .br .br return 0; @@ -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 "Q_UINT16 qChecksum ( 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/qobject.3qt b/doc/man/man3/qobject.3qt index d3de069..fe34d19 100644 --- a/doc/man/man3/qobject.3qt +++ b/doc/man/man3/qobject.3qt @@ -555,7 +555,7 @@ Example: .br QKeyEvent *k = (QKeyEvent*)ev; .br - tqDebug( "Ate key press %d", k->key() ); + qDebug( "Ate key press %d", k->key() ); .br return TRUE; .br @@ -668,7 +668,7 @@ Here's a \fCKeyPressEater\fR class that eats the key presses of its monitored ob .br QKeyEvent *k = (QKeyEvent *)e; .br - tqDebug( "Ate key press %d", k->key() ); + qDebug( "Ate key press %d", k->key() ); .br return TRUE; // eat event .br @@ -903,7 +903,7 @@ Example: .br { .br - tqDebug( "timer event, id %d", e->timerId() ); + qDebug( "timer event, id %d", e->timerId() ); .br } .br @@ -945,11 +945,11 @@ You can find an object by name (and type) using child(). You can find a set of o .PP The object name is set by the constructor or by the setName() function. The object name is not very useful in the current version of Qt, but will become increasingly important in the future. .PP -If the object does not have a name, the name() function returns" unnamed", so printf() (used in tqDebug()) will not be asked to output a null pointer. If you want a null pointer to be returned for unnamed objects, you can call name( 0 ). +If the object does not have a name, the name() function returns" unnamed", so printf() (used in qDebug()) will not be asked to output a null pointer. If you want a null pointer to be returned for unnamed objects, you can call name( 0 ). .PP .nf .br - tqDebug( "MyClass::setPrecision(): (%s) invalid precision %f", + qDebug( "MyClass::setPrecision(): (%s) invalid precision %f", .br name(), newPrecision ); .br diff --git a/doc/man/man3/qptrdict.3qt b/doc/man/man3/qptrdict.3qt index c00544b..684e420 100644 --- a/doc/man/man3/qptrdict.3qt +++ b/doc/man/man3/qptrdict.3qt @@ -273,7 +273,7 @@ Returns the size of the internal hash table (as specified in the constructor). .PP See also count(). .SH "void QPtrDict::statistics () const" -Debugging-only function that prints out the dictionary distribution using tqDebug(). +Debugging-only function that prints out the dictionary distribution using qDebug(). .SH "type * QPtrDict::take ( void * key )" Takes the item associated with \fIkey\fR out of the dictionary without deleting it (even if auto-deletion is enabled). .PP diff --git a/doc/man/man3/qsqlcursor.3qt b/doc/man/man3/qsqlcursor.3qt index 85a5192..c7067de 100644 --- a/doc/man/man3/qsqlcursor.3qt +++ b/doc/man/man3/qsqlcursor.3qt @@ -193,7 +193,7 @@ For example: .br while ( cur.next() ) { .br - tqDebug( cur.value( "id" ).toString() + ": " + + qDebug( cur.value( "id" ).toString() + ": " + .br cur.value( "surname" ).toString() + " " + .br diff --git a/doc/man/man3/qsqlquery.3qt b/doc/man/man3/qsqlquery.3qt index 9a421cf..978e47e 100644 --- a/doc/man/man3/qsqlquery.3qt +++ b/doc/man/man3/qsqlquery.3qt @@ -358,7 +358,7 @@ The bound values can be examined in the following way: .br for ( it = vals.begin(); it != vals.end(); ++it ) .br - tqWarning( "Placeholder: " + it.key() + ", Value: " + (*it).toString() ); + qWarning( "Placeholder: " + it.key() + ", Value: " + (*it).toString() ); .br ... .br @@ -373,7 +373,7 @@ The bound values can be examined in the following way: .br for ( it = list.begin(); it != list.end(); ++it ) .br - tqWarning( "Placeholder pos: %d, Value: " + (*it).toString(), i++ ); + qWarning( "Placeholder pos: %d, Value: " + (*it).toString(), i++ ); .br ... .br diff --git a/doc/man/man3/qstring.3qt b/doc/man/man3/qstring.3qt index bc01d97..1e41f0a 100644 --- a/doc/man/man3/qstring.3qt +++ b/doc/man/man3/qstring.3qt @@ -770,7 +770,7 @@ The following example shows how we could create a 'status' string when processin .PP It is generally fine to use filenames and numbers as we have done in the example above. But note that using arg() to construct natural language sentences does not usually translate well into other languages because sentence structure and word order often differ between languages. .PP -If there is no place marker (\fC%1\fR, \fC%2\fR, etc.), a warning message (tqWarning()) is output and the result is undefined. +If there is no place marker (\fC%1\fR, \fC%2\fR, etc.), a warning message (qWarning()) is output and the result is undefined. .PP \fBWarning:\fR If any placeholder occurs more than once, the result is undefined. .SH "QString QString::arg ( long a, int fieldWidth = 0, int base = 10 ) const" diff --git a/doc/man/man3/qthread.3qt b/doc/man/man3/qthread.3qt index ce662f0..8aa2ecf 100644 --- a/doc/man/man3/qthread.3qt +++ b/doc/man/man3/qthread.3qt @@ -99,7 +99,7 @@ A QThread represents a separate thread of control within the program; it shares .br sleep( 1 ); .br - tqDebug( "Ping!" ); + qDebug( "Ping!" ); .br } .br diff --git a/doc/man/man3/qtime.3qt b/doc/man/man3/qtime.3qt index 33db5b4..1afd494 100644 --- a/doc/man/man3/qtime.3qt +++ b/doc/man/man3/qtime.3qt @@ -293,7 +293,7 @@ Sets this time to the current time. This is practical for timing: .br some_lengthy_task(); .br - tqDebug( "Time elapsed: %d ms", t.elapsed() ); + qDebug( "Time elapsed: %d ms", t.elapsed() ); .br .fi .PP diff --git a/doc/man/man3/qurloperator.3qt b/doc/man/man3/qurloperator.3qt index 54ffa0b..5911200 100644 --- a/doc/man/man3/qurloperator.3qt +++ b/doc/man/man3/qurloperator.3qt @@ -149,7 +149,7 @@ If you want to be notified about success/failure, progress, etc., you can connec .PP The class uses the functionality of registered network protocols to perform these operations. Depending of the protocol of the URL, it uses an appropriate network protocol class for the operations. Each of the operation functions of QUrlOperator creates a QNetworkOperation object that describes the operation and puts it into the operation queue for the network protocol used. If no suitable protocol could be found (because no implementation of the necessary network protocol is registered), the URL operator emits errors. Not every protocol supports every operation, but error handling deals with this problem. .PP -To register the available network protocols, use the tqInitNetworkProtocols() function. The protocols currently supported are: +To register the available network protocols, use the qInitNetworkProtocols() function. The protocols currently supported are: .TP FTP, .TP @@ -348,7 +348,7 @@ See also copy(). .SH "void QUrlOperator::stop ()\fC [virtual]\fR" Stops the current network operation and removes all this QUrlOperator's waiting network operations. .SH RELATED FUNCTION DOCUMENTATION -.SH "void tqInitNetworkProtocols ()" +.SH "void qInitNetworkProtocols ()" This function registers the network protocols for FTP and HTTP. You must call this function before you use QUrlOperator for these protocols. .PP This function is declared in qnetwork.h. diff --git a/doc/man/man3/qvariant.3qt b/doc/man/man3/qvariant.3qt index 4308c88..becd6c4 100644 --- a/doc/man/man3/qvariant.3qt +++ b/doc/man/man3/qvariant.3qt @@ -441,7 +441,7 @@ Here is some example code to demonstrate the use of QVariant: .br int z = v.toInt(); // z = 123 .br - tqDebug("Type is %s", // prints "Type is int" + qDebug("Type is %s", // prints "Type is int" .br v.typeName()); .br |