diff options
Diffstat (limited to 'doc/man/man3/tqguardedptr.3qt')
-rw-r--r-- | doc/man/man3/tqguardedptr.3qt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqguardedptr.3qt b/doc/man/man3/tqguardedptr.3qt index 580a8b955..b6c8e7a12 100644 --- a/doc/man/man3/tqguardedptr.3qt +++ b/doc/man/man3/tqguardedptr.3qt @@ -61,12 +61,12 @@ Example: .PP .nf .br - QGuardedPtr<QLabel> label = new QLabel( 0, "label" ); + QGuardedPtr<TQLabel> label = new TQLabel( 0, "label" ); .br label->setText( "I like guarded pointers" ); .br .br - delete (QLabel*) label; // simulate somebody destroying the label + delete (TQLabel*) label; // simulate somebody destroying the label .br .br if ( label) |