diff options
Diffstat (limited to 'doc/html/qaccel.html')
-rw-r--r-- | doc/html/qaccel.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/qaccel.html b/doc/html/qaccel.html index b7c1dd7f6..e7e725a89 100644 --- a/doc/html/qaccel.html +++ b/doc/html/qaccel.html @@ -180,7 +180,7 @@ Removes all accelerator items. </h3> Connects the accelerator item <em>id</em> to the slot <em>member</em> of <em>receiver</em>. <p> <pre> - a->connectItem( 201, mainView, SLOT(tquit()) ); + a->connectItem( 201, mainView, SLOT(quit()) ); </pre> <p> Of course, you can also send a signal as <em>member</em>. @@ -221,8 +221,8 @@ negative identifier less than -1. <p> <pre> TQAccel *a = new TQAccel( myWindow ); // create accels for myWindow a-><a href="#insertItem">insertItem</a>( CTRL + Key_P, 200 ); // Ctrl+P, e.g. to print document - a-><a href="#insertItem">insertItem</a>( ALT + Key_X, 201 ); // Alt+X, e.g. to tquit - a-><a href="#insertItem">insertItem</a>( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to tquit + a-><a href="#insertItem">insertItem</a>( ALT + Key_X, 201 ); // Alt+X, e.g. to quit + a-><a href="#insertItem">insertItem</a>( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit a-><a href="#insertItem">insertItem</a>( <a href="qt.html#Key-enum">Key_D</a> ); // gets a unique negative id < -1 a-><a href="#insertItem">insertItem</a>( CTRL + SHIFT + Key_P ); // gets a unique negative id < -1 </pre> |