summaryrefslogtreecommitdiffstats
path: root/doc/man/man3
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /doc/man/man3
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'doc/man/man3')
-rw-r--r--doc/man/man3/qapplication.3qt46
-rw-r--r--doc/man/man3/qasciicache.3qt2
-rw-r--r--doc/man/man3/qasciidict.3qt2
-rw-r--r--doc/man/man3/qbytearray.3qt6
-rw-r--r--doc/man/man3/qcache.3qt2
-rw-r--r--doc/man/man3/qcanvasview.3qt2
-rw-r--r--doc/man/man3/qclipboard.3qt2
-rw-r--r--doc/man/man3/qcstring.3qt18
-rw-r--r--doc/man/man3/qdatetime.3qt2
-rw-r--r--doc/man/man3/qdict.3qt2
-rw-r--r--doc/man/man3/qdir.3qt12
-rw-r--r--doc/man/man3/qerrormessage.3qt2
-rw-r--r--doc/man/man3/qfileinfo.3qt4
-rw-r--r--doc/man/man3/qfontdatabase.3qt4
-rw-r--r--doc/man/man3/qftp.3qt2
-rw-r--r--doc/man/man3/qglformat.3qt6
-rw-r--r--doc/man/man3/qguardedptr.3qt2
-rw-r--r--doc/man/man3/qhttp.3qt2
-rw-r--r--doc/man/man3/qintcache.3qt2
-rw-r--r--doc/man/man3/qintdict.3qt2
-rw-r--r--doc/man/man3/qlocalfs.3qt2
-rw-r--r--doc/man/man3/qmemarray.3qt8
-rw-r--r--doc/man/man3/qobject.3qt10
-rw-r--r--doc/man/man3/qptrdict.3qt2
-rw-r--r--doc/man/man3/qsqlcursor.3qt2
-rw-r--r--doc/man/man3/qsqlquery.3qt4
-rw-r--r--doc/man/man3/qstring.3qt2
-rw-r--r--doc/man/man3/qthread.3qt2
-rw-r--r--doc/man/man3/qtime.3qt2
-rw-r--r--doc/man/man3/qurloperator.3qt4
-rw-r--r--doc/man/man3/qvariant.3qt2
31 files changed, 81 insertions, 81 deletions
diff --git a/doc/man/man3/qapplication.3qt b/doc/man/man3/qapplication.3qt
index 7b67978e..f1f1c49d 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 qWarning() function:
+If \fCb\fR is zero, the Q_ASSERT statement will output the following message using the tqWarning() 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 qWarning() and Debugging.
+See also tqWarning() and Debugging.
.SH "void TQ_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 qWarning() and Debugging.
-.SH "void qAddPostRoutine ( QtCleanUpFunction p )"
+See also tqWarning() and Debugging.
+.SH "void tqAddPostRoutine ( 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
- qAddPostRoutine( cleanup_ptr ); // delete later
+ tqAddPostRoutine( cleanup_ptr ); // delete later
.br
}
.br
.fi
.PP
-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.
+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.
.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 qDebug ( const char * msg, ... )"
+.SH "void tqDebug ( 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
- qDebug( "my window handle = %x", myWidget->id() );
+ tqDebug( "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 '&#92;0'-terminator).
.PP
-\fBWarning:\fR Passing (const char *)0 as argument to qDebug might lead to crashes on certain platforms due to the platforms printf implementation.
+\fBWarning:\fR Passing (const char *)0 as argument to tqDebug might lead to crashes on certain platforms due to the platforms printf implementation.
.PP
-See also qWarning(), qFatal(), qInstallMsgHandler(), and Debugging.
-.SH "void qFatal ( const char * msg, ... )"
+See also tqWarning(), tqFatal(), qInstallMsgHandler(), and Debugging.
+.SH "void tqFatal ( 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
- qFatal( "divide: cannot divide by zero" );
+ tqFatal( "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 '&#92;0'-terminator).
.PP
-\fBWarning:\fR Passing (const char *)0 as argument to qFatal might lead to crashes on certain platforms due to the platforms printf implementation.
+\fBWarning:\fR Passing (const char *)0 as argument to tqFatal might lead to crashes on certain platforms due to the platforms printf implementation.
.PP
-See also qDebug(), qWarning(), qInstallMsgHandler(), and Debugging.
+See also tqDebug(), tqWarning(), 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 qDebug(), qWarning(), qFatal(), and Debugging.
-.SH "bool qSysInfo ( int * wordSize, bool * bigEndian )"
+See also tqDebug(), tqWarning(), tqFatal(), and Debugging.
+.SH "bool tqSysInfo ( 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 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 )"
+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 )"
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 * qVersion ()"
+.SH "const char * tqVersion ()"
Returns the Qt version number as a string, for example, "2.3.0" or" 3.0.5".
.PP
The \fCTQT_VERSION\fR define has the numeric value in the form: 0xmmiibb (m = major, i = minor, b = bugfix). For example, Qt 3.0.5's \fCTQT_VERSION\fR is 0x030005.
-.SH "void qWarning ( const char * msg, ... )"
+.SH "void tqWarning ( 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
- qWarning( "f: bad argument, c == %d", c );
+ tqWarning( "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 '&#92;0'-terminator).
.PP
-\fBWarning:\fR Passing (const char *)0 as argument to qWarning might lead to crashes on certain platforms due to the platforms printf implementation.
+\fBWarning:\fR Passing (const char *)0 as argument to tqWarning might lead to crashes on certain platforms due to the platforms printf implementation.
.PP
-See also qDebug(), qFatal(), qInstallMsgHandler(), and Debugging.
+See also tqDebug(), tqFatal(), qInstallMsgHandler(), and Debugging.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqapplication.html
diff --git a/doc/man/man3/qasciicache.3qt b/doc/man/man3/qasciicache.3qt
index fbfaa916..0d05a0d9 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 qDebug(). This function does nothing in the release library.
+A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using tqDebug(). 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 53b21f3f..1298d473 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 qDebug().
+Debugging-only function that prints out the dictionary distribution using tqDebug().
.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 071b0ee7..030f5e2e 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 qCompress ( const QByteArray & data )"
+.SH "QByteArray tqCompress ( const QByteArray & data )"
Compresses the array \fIdata\fR and returns the compressed byte array using zlib.
.PP
See also tqUncompress().
-.SH "QByteArray qCompress ( const uchar * data, int nbytes )"
+.SH "QByteArray tqCompress ( 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 qCompress().
+See also tqCompress().
.SH "QByteArray tqUncompress ( 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 9b095088..149ada95 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 qDebug(). This function does nothing in the release library.
+A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using tqDebug(). 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 bceebfec..fb8580f4 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
- qDebug("A QCanvasRectangle lies somewhere at this point");
+ tqDebug("A QCanvasRectangle lies somewhere at this point");
.br
}
.br
diff --git a/doc/man/man3/qclipboard.3qt b/doc/man/man3/qclipboard.3qt
index 0a157703..b8480ac8 100644
--- a/doc/man/man3/qclipboard.3qt
+++ b/doc/man/man3/qclipboard.3qt
@@ -125,7 +125,7 @@ Example:
.br
if ( !text.isNull() )
.br
- qDebug( "The clipboard contains: " + text );
+ tqDebug( "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 2b291cfb..c6194e4f 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 * qmemmove ( void * dst, const void * src, uint len )"
+.SH "void * tqmemmove ( 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 tqstrncmp(), qstricmp(), qstrnicmp(), and Note on character comparisons.
+See also tqstrncmp(), tqstricmp(), tqstrnicmp(), 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 '&#92;0' from \fIsrc\fR into \fIdst\fR and returns a pointer to \fIdst\fR.
-.SH "char * qstrdup ( const char * src )"
+.SH "char * tqstrdup ( 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 qstricmp ( const char * str1, const char * str2 )"
+.SH "int tqstricmp ( 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(), tqstrncmp(), qstrnicmp(), and Note on character comparisons.
+See also qstrcmp(), tqstrncmp(), tqstrnicmp(), and Note on character comparisons.
.SH "uint tqstrlen ( 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(), qstricmp(), qstrnicmp(), and Note on character comparisons.
-.SH "char * qstrncpy ( char * dst, const char * src, uint len )"
+See also qstrcmp(), tqstricmp(), tqstrnicmp(), and Note on character comparisons.
+.SH "char * tqstrncpy ( 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 '&#92;0' whichever comes first) into \fIdst\fR and returns a pointer to \fIdst\fR. Guarantees that \fIdst\fR is '&#92;0'-terminated. If \fIsrc\fR or \fIdst\fR is 0, returns 0 immediately.
.PP
See also qstrcpy().
-.SH "int qstrnicmp ( const char * str1, const char * str2, uint len )"
+.SH "int tqstrnicmp ( 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(), tqstrncmp(), qstricmp(), and Note on character comparisons.
+See also qstrcmp(), tqstrncmp(), tqstricmp(), and Note on character comparisons.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqcstring.html
diff --git a/doc/man/man3/qdatetime.3qt b/doc/man/man3/qdatetime.3qt
index abab9195..c2ecc145 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
- qDebug( "There are %d seconds to Christmas", dt.secsTo(xmas) );
+ tqDebug( "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 57e8231b..c8f9a4c0 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 qDebug().
+Debugging-only function that prints out the dictionary distribution using tqDebug().
.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 bd8ccc31..3ef6a07b 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
- qWarning( "Cannot find the example directory" );
+ tqWarning( "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
- qWarning( "Cannot find the \\"/tmp\\" directory" );
+ tqWarning( "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
- qWarning( "Cannot create the file %s", f.name() );
+ tqWarning( "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
- qWarning( "It is a root link" );
+ tqWarning( "It is a root link" );
.br
.fi
.PP
@@ -663,7 +663,7 @@ Example:
.br
if ( d1 != d2 )
.br
- qDebug( "They differ" );
+ tqDebug( "They differ" );
.br
.fi
.SH "QDir & QDir::operator= ( const QDir & d )"
@@ -689,7 +689,7 @@ Example:
.br
if ( d1 == d2 )
.br
- qDebug( "They're the same" );
+ tqDebug( "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 182926dd..4e5ce9e1 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 qDebug(), qWarning() and qFatal() messages.
+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.
.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 8fc19e0d..5cf8195d 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
- qWarning( "I can change the file; my group can read the file" );
+ tqWarning( "I can change the file; my group can read the file" );
.br
if ( fi.permission( QFileInfo::WriteGroup | QFileInfo::WriteOther ) )
.br
- qWarning( "The group or others can change the file" );
+ tqWarning( "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 a13caf4b..7582fa7d 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
- qDebug( family );
+ tqDebug( 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
- qDebug( dstyle );
+ tqDebug( dstyle );
.br
}
.br
diff --git a/doc/man/man3/qftp.3qt b/doc/man/man3/qftp.3qt
index cf35b138..a1b5c450 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 qInitNetworkProtocols() before using a QUrlOperator with QFtp.
+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.
.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 30162f21..6c61f063 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
- qFatal( "Cool hardware required" );
+ tqFatal( "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
- qWarning( "Could not get stencil buffer; results will be suboptimal" );
+ tqWarning( "Could not get stencil buffer; results will be suboptimal" );
.br
if ( !format().alphaChannel() )
.br
- qWarning( "Could not get alpha channel; results will be suboptimal" );
+ tqWarning( "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 67de03a1..11f362d4 100644
--- a/doc/man/man3/qguardedptr.3qt
+++ b/doc/man/man3/qguardedptr.3qt
@@ -75,7 +75,7 @@ Example:
.br
else
.br
- qDebug("The label has been destroyed");
+ tqDebug("The label has been destroyed");
.br
.fi
.PP
diff --git a/doc/man/man3/qhttp.3qt b/doc/man/man3/qhttp.3qt
index c73f499e..0710e05e 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 qInitNetworkProtocols() before using a QUrlOperator with HTTP.
+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.
.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 a5ca1ef1..b12feaed 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 qDebug(). This function does nothing in the release library.
+A debug-only utility function. Prints out cache usage, hit/miss, and distribution information using tqDebug(). 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 77bf8649..355002ca 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 qDebug().
+Debugging-only function that prints out the dictionary distribution using tqDebug().
.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 5a164008..13ffcab9 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 qInitNetworkProtocols() before using a QUrlOperator with QLocalFs.
+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.
.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 1b6e6873..5a26651d 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
- qDebug( "%d: %d", i, a[i] );
+ tqDebug( "%d: %d", i, a[i] );
.br
.br
- qDebug( "1 is found %d times", a.contains(1) );
+ tqDebug( "1 is found %d times", a.contains(1) );
.br
- qDebug( "5 is found at index %d", a.find(5) );
+ tqDebug( "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 qChecksum ( const char * data, uint len )"
+.SH "Q_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/qobject.3qt b/doc/man/man3/qobject.3qt
index f83c0ab1..e1e5e7a1 100644
--- a/doc/man/man3/qobject.3qt
+++ b/doc/man/man3/qobject.3qt
@@ -555,7 +555,7 @@ Example:
.br
QKeyEvent *k = (QKeyEvent*)ev;
.br
- qDebug( "Ate key press %d", k->key() );
+ tqDebug( "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
- qDebug( "Ate key press %d", k->key() );
+ tqDebug( "Ate key press %d", k->key() );
.br
return TRUE; // eat event
.br
@@ -903,7 +903,7 @@ Example:
.br
{
.br
- qDebug( "timer event, id %d", e->timerId() );
+ tqDebug( "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 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 ).
+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 ).
.PP
.nf
.br
- qDebug( "MyClass::setPrecision(): (%s) invalid precision %f",
+ tqDebug( "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 e4d220a9..4656bb15 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 qDebug().
+Debugging-only function that prints out the dictionary distribution using tqDebug().
.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 4f73ae6a..47df1a62 100644
--- a/doc/man/man3/qsqlcursor.3qt
+++ b/doc/man/man3/qsqlcursor.3qt
@@ -193,7 +193,7 @@ For example:
.br
while ( cur.next() ) {
.br
- qDebug( cur.value( "id" ).toString() + ": " +
+ tqDebug( 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 b6c816cd..07b22894 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
- qWarning( "Placeholder: " + it.key() + ", Value: " + (*it).toString() );
+ tqWarning( "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
- qWarning( "Placeholder pos: %d, Value: " + (*it).toString(), i++ );
+ tqWarning( "Placeholder pos: %d, Value: " + (*it).toString(), i++ );
.br
...
.br
diff --git a/doc/man/man3/qstring.3qt b/doc/man/man3/qstring.3qt
index e93ca252..1395b5fa 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 (qWarning()) is output and the result is undefined.
+If there is no place marker (\fC%1\fR, \fC%2\fR, etc.), a warning message (tqWarning()) 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 01a83214..69538e5c 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
- qDebug( "Ping!" );
+ tqDebug( "Ping!" );
.br
}
.br
diff --git a/doc/man/man3/qtime.3qt b/doc/man/man3/qtime.3qt
index bae95d37..b409e408 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
- qDebug( "Time elapsed: %d ms", t.elapsed() );
+ tqDebug( "Time elapsed: %d ms", t.elapsed() );
.br
.fi
.PP
diff --git a/doc/man/man3/qurloperator.3qt b/doc/man/man3/qurloperator.3qt
index c13a29c2..a38dc990 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 qInitNetworkProtocols() function. The protocols currently supported are:
+To register the available network protocols, use the tqInitNetworkProtocols() 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 qInitNetworkProtocols ()"
+.SH "void tqInitNetworkProtocols ()"
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 ntqnetwork.h.
diff --git a/doc/man/man3/qvariant.3qt b/doc/man/man3/qvariant.3qt
index 13103e0f..cc1c0b38 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
- qDebug("Type is %s", // prints "Type is int"
+ tqDebug("Type is %s", // prints "Type is int"
.br
v.typeName());
.br