summaryrefslogtreecommitdiffstats
path: root/doc/html/debug.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-15 13:05:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-22 10:05:58 +0900
commit397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch)
tree0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/html/debug.html
parent755d46927cc6a5719e695aeb8133be6897de62d8 (diff)
downloadtqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.tar.gz
tqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.zip
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/debug.html')
-rw-r--r--doc/html/debug.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/debug.html b/doc/html/debug.html
index 5d4aa007f..d8e43ae20 100644
--- a/doc/html/debug.html
+++ b/doc/html/debug.html
@@ -58,16 +58,16 @@ option is only valid for the X11 version of TQt.
<a name="2"></a><p> TQt includes three global functions for writing out warning and debug
text.
<ul>
-<li> <a href="ntqapplication.html#qDebug">tqDebug()</a> for writing debug output for testing etc.
-<li> <a href="ntqapplication.html#qWarning">tqWarning()</a> for writing warning output when program
+<li> <a href="tqapplication.html#qDebug">tqDebug()</a> for writing debug output for testing etc.
+<li> <a href="tqapplication.html#qWarning">tqWarning()</a> for writing warning output when program
errors occur.
-<li> <a href="ntqapplication.html#qFatal">tqFatal()</a> for writing fatal error messages
+<li> <a href="tqapplication.html#qFatal">tqFatal()</a> for writing fatal error messages
and exiting.
</ul>
<p> The TQt implementation of these functions prints the text to the <tt>stderr</tt>
output under Unix/X11 and to the debugger under Windows. You can
take over these functions by installing a message handler;
-<a href="ntqapplication.html#qInstallMsgHandler">qInstallMsgHandler()</a>.
+<a href="tqapplication.html#qInstallMsgHandler">qInstallMsgHandler()</a>.
<p> The debugging functions <a href="tqobject.html#dumpObjectTree">TQObject::dumpObjectTree</a>() and <a href="tqobject.html#dumpObjectInfo">TQObject::dumpObjectInfo</a>() are often useful when an application looks
or acts strangely. More useful if you use object names than not, but
often useful even without names.
@@ -77,10 +77,10 @@ often useful even without names.
<tt>#define</tt>s.
<p> Two important macros are:
<ul>
-<li> <a href="ntqapplication.html#Q_ASSERT">Q_ASSERT(b)</a> where b is a boolean
+<li> <a href="tqapplication.html#Q_ASSERT">Q_ASSERT(b)</a> where b is a boolean
expression, writes the warning: "ASSERT: 'b' in file file.cpp (234)"
if b is FALSE.
-<li> <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR(p)</a> where p is a pointer.
+<li> <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR(p)</a> where p is a pointer.
Writes the warning "In file file.cpp, line 234: Out of memory" if p is
0.
</ul>
@@ -88,9 +88,9 @@ Writes the warning "In file file.cpp, line 234: Out of memory" if p is
<pre>
char *alloc( int size )
{
- <a href="ntqapplication.html#Q_ASSERT">Q_ASSERT</a>( size &gt; 0 );
+ <a href="tqapplication.html#Q_ASSERT">Q_ASSERT</a>( size &gt; 0 );
char *p = new char[size];
- <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( p );
+ <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( p );
return p;
}
</pre>
@@ -107,7 +107,7 @@ TQ_CHECK_PTR:
char *alloc( int size )
{
char *p;
- <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( p = new char[size] ); // WRONG!
+ <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( p = new char[size] ); // WRONG!
return p;
}
</pre>
@@ -140,12 +140,12 @@ define TQT_NO_CHECK.
{
#if defined(QT_CHECK_NULL)
if ( p == 0 )
- <a href="ntqapplication.html#qWarning">tqWarning</a>( "f: Null pointer not allowed" );
+ <a href="tqapplication.html#qWarning">tqWarning</a>( "f: Null pointer not allowed" );
#endif
#if defined(QT_CHECK_RANGE)
if ( i &lt; 0 )
- <a href="ntqapplication.html#qWarning">tqWarning</a>( "f: The index cannot be negative" );
+ <a href="tqapplication.html#qWarning">tqWarning</a>( "f: The index cannot be negative" );
#endif
}
</pre>