summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qaccel.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qaccel.3qt')
-rw-r--r--doc/man/man3/qaccel.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/qaccel.3qt b/doc/man/man3/qaccel.3qt
index 07e8f3ee8..9c5e23e5f 100644
--- a/doc/man/man3/qaccel.3qt
+++ b/doc/man/man3/qaccel.3qt
@@ -176,7 +176,7 @@ Connects the accelerator item \fIid\fR to the slot \fImember\fR of \fIreceiver\f
.PP
.nf
.br
- a->connectItem( 201, mainView, SLOT(tquit()) );
+ a->connectItem( 201, mainView, SLOT(quit()) );
.br
.fi
.PP
@@ -212,9 +212,9 @@ If \fIid\fR is negative, then the item will be assigned a unique negative identi
.br
a->insertItem( CTRL + Key_P, 200 ); // Ctrl+P, e.g. to print document
.br
- a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to tquit
+ a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to quit
.br
- a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to tquit
+ a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit
.br
a->insertItem( Key_D ); // gets a unique negative id < -1
.br