From bd87b2af9dde0633e56a792665cdec7a9675da95 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 25 Nov 2012 14:05:14 -0600 Subject: Automated update from Qt3 --- doc/html/ntqobject.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/ntqobject.html') diff --git a/doc/html/ntqobject.html b/doc/html/ntqobject.html index d5d23adf..06ecf97e 100644 --- a/doc/html/ntqobject.html +++ b/doc/html/ntqobject.html @@ -522,7 +522,7 @@ TRUE; otherwise return FALSE. if ( obj == textEdit ) { if ( e->type() == TQEvent::KeyPress ) { TQKeyEvent *k = (TQKeyEvent*)ev; - qDebug( "Ate key press %d", k->key() ); + tqDebug( "Ate key press %d", k->key() ); return TRUE; } else { return FALSE; @@ -616,7 +616,7 @@ monitored objects: if ( e->type() == TQEvent::KeyPress ) { // special processing for key press TQKeyEvent *k = (TQKeyEvent *)e; - qDebug( "Ate key press %d", k->key() ); + tqDebug( "Ate key press %d", k->key() ); return TRUE; // eat event } else { // standard event processing @@ -859,7 +859,7 @@ used to find out which timer was activated. void MyObject::timerEvent( TQTimerEvent *e ) { - qDebug( "timer event, id %d", e->timerId() ); + tqDebug( "timer event, id %d", e->timerId() ); } @@ -920,11 +920,11 @@ function. The object name is not very useful in the current version of TQt, but will become increasingly important in the future.

If the object does not have a name, the name() function returns -"unnamed", so printf() (used in qDebug()) will not be asked to +"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 ).

-        qDebug( "MyClass::setPrecision(): (%s) invalid precision %f",
+        tqDebug( "MyClass::setPrecision(): (%s) invalid precision %f",
                 name(), newPrecision );
     
-- cgit v1.2.3