diff options
Diffstat (limited to 'doc/man/man3/tqobject.3qt')
-rw-r--r-- | doc/man/man3/tqobject.3qt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index 1c72fbd89..841426d75 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -553,7 +553,7 @@ Example: .br if ( e->type() == TQEvent::KeyPress ) { .br - QKeyEvent *k = (QKeyEvent*)ev; + TQKeyEvent *k = (TQKeyEvent*)ev; .br tqDebug( "Ate key press %d", k->key() ); .br @@ -666,7 +666,7 @@ Here's a \fCKeyPressEater\fR class that eats the key presses of its monitored ob .br // special processing for key press .br - QKeyEvent *k = (QKeyEvent *)e; + TQKeyEvent *k = (TQKeyEvent *)e; .br tqDebug( "Ate key press %d", k->key() ); .br |