diff options
Diffstat (limited to 'doc/html/ntqaccel.html')
-rw-r--r-- | doc/html/ntqaccel.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqaccel.html b/doc/html/ntqaccel.html index 998f51a31..6ee5c31c0 100644 --- a/doc/html/ntqaccel.html +++ b/doc/html/ntqaccel.html @@ -90,7 +90,7 @@ widgets automatically generate accelerators, such as <a href="ntqbutton.html">TQ <a href="ntqgroupbox.html">TQGroupBox</a>, <a href="tqlabel.html">TQLabel</a> (with <a href="tqlabel.html#setBuddy">TQLabel::setBuddy</a>()), <a href="tqmenubar.html">TQMenuBar</a> and <a href="ntqtabbar.html">TQTabBar</a>. Example: <pre> - <a href="ntqpushbutton.html">TQPushButton</a> p( "&Exit", parent ); // automatic shortcut ALT+Key_E + <a href="tqpushbutton.html">TQPushButton</a> p( "&Exit", parent ); // automatic shortcut ALT+Key_E <a href="tqpopupmenu.html">TQPopupMenu</a> *fileMenu = new fileMenu( parent ); fileMenu-><a href="tqmenudata.html#insertItem">insertItem</a>( "Undo", parent, TQ_SLOT(undo()), CTRL+Key_Z ); </pre> @@ -111,8 +111,8 @@ slots (see <a href="#connectItem">connectItem</a>() and <a href="#disconnectItem accelerators match the same key. Instead, the first matching accelerator sends out the <a href="#activatedAmbiguously">activatedAmbiguously</a>() signal. By pressing the key multiple times, users can navigate between all -matching accelerators. Some standard controls like <a href="ntqpushbutton.html">TQPushButton</a> and -<a href="ntqcheckbox.html">TQCheckBox</a> connect the activatedAmbiguously() signal to the +matching accelerators. Some standard controls like <a href="tqpushbutton.html">TQPushButton</a> and +<a href="tqcheckbox.html">TQCheckBox</a> connect the activatedAmbiguously() signal to the harmless setFocus() slot, whereas activated() is connected to a slot invoking the button's action. Most controls, like <a href="tqlabel.html">TQLabel</a> and <a href="ntqtabbar.html">TQTabBar</a>, treat activated() and activatedAmbiguously() as |