summaryrefslogtreecommitdiffstats
path: root/doc/html/tqaccel.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqaccel.html')
-rw-r--r--doc/html/tqaccel.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tqaccel.html b/doc/html/tqaccel.html
index e2ff8a9c5..654202689 100644
--- a/doc/html/tqaccel.html
+++ b/doc/html/tqaccel.html
@@ -98,7 +98,7 @@ Example:
<p> A TQAccel contains a list of accelerator items that can be
manipulated using <a href="#insertItem">insertItem</a>(), <a href="#removeItem">removeItem</a>(), <a href="#clear">clear</a>(), <a href="#key">key</a>() and
<a href="#findKey">findKey</a>().
-<p> Each accelerator item consists of an identifier and a <a href="ntqkeysequence.html">TQKeySequence</a>. A single key sequence consists of a keyboard code
+<p> Each accelerator item consists of an identifier and a <a href="tqkeysequence.html">TQKeySequence</a>. A single key sequence consists of a keyboard code
combined with modifiers (<a href="ntqt.html#Modifier-enum">SHIFT</a>, <a href="ntqt.html#Modifier-enum">CTRL</a>, <a href="ntqt.html#Modifier-enum">ALT</a> or <a href="ntqt.html#Modifier-enum">UNICODE_ACCEL</a>). For example, <tt>CTRL + Key_P</tt> could be a shortcut
for printing a document. The key codes are listed in <a href="qnamespace-h.html">ntqnamespace.h</a>. As an alternative, use <a href="ntqt.html#Modifier-enum">UNICODE_ACCEL</a> with the
unicode code point of the character. For example, <tt>UNICODE_ACCEL + 'A'</tt> gives the same accelerator as <a href="ntqt.html#Key-enum">Key_A</a>.
@@ -141,7 +141,7 @@ combination.
TQ_SLOT(printDoc()) ); // printDoc() slot
</pre>
-<p> <p>See also <a href="qkeyevent.html">TQKeyEvent</a>, <a href="tqwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>(), <a href="tqmenudata.html#setAccel">TQMenuData::setAccel</a>(), <a href="tqbutton.html#accel-prop">TQButton::accel</a>, <a href="tqlabel.html#setBuddy">TQLabel::setBuddy</a>(), <a href="ntqkeysequence.html">TQKeySequence</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Keyboard Shortcuts</a>, and <a href="misc.html">Miscellaneous Classes</a>.
+<p> <p>See also <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="tqwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>(), <a href="tqmenudata.html#setAccel">TQMenuData::setAccel</a>(), <a href="tqbutton.html#accel-prop">TQButton::accel</a>, <a href="tqlabel.html#setBuddy">TQLabel::setBuddy</a>(), <a href="tqkeysequence.html">TQKeySequence</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Keyboard Shortcuts</a>, and <a href="misc.html">Miscellaneous Classes</a>.
<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="TQAccel"></a>TQAccel::TQAccel ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
@@ -206,12 +206,12 @@ called <em>member</em> in the <em>receiver</em> object.
</h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
serves no purpose anymore
<p>Reimplemented from <a href="tqobject.html#eventFilter">TQObject</a>.
-<h3 class=fn>int <a name="findKey"></a>TQAccel::findKey ( const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;key ) const
+<h3 class=fn>int <a name="findKey"></a>TQAccel::findKey ( const&nbsp;<a href="tqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;key ) const
</h3>
Returns the identifier of the accelerator item with the key code
<em>key</em>, or -1 if the item cannot be found.
-<h3 class=fn>int <a name="insertItem"></a>TQAccel::insertItem ( const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;key, int&nbsp;id = -1 )
+<h3 class=fn>int <a name="insertItem"></a>TQAccel::insertItem ( const&nbsp;<a href="tqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;key, int&nbsp;id = -1 )
</h3>
Inserts an accelerator item and returns the item's identifier.
<p> <em>key</em> is a key code and an optional combination of SHIFT, CTRL
@@ -241,17 +241,17 @@ Returns TRUE if the accelerator item with the identifier <em>id</em> is
enabled. Returns FALSE if the item is disabled or cannot be found.
<p> <p>See also <a href="#setItemEnabled">setItemEnabled</a>() and <a href="#isEnabled">isEnabled</a>().
-<h3 class=fn><a href="ntqkeysequence.html">TQKeySequence</a> <a name="key"></a>TQAccel::key ( int&nbsp;id )
+<h3 class=fn><a href="tqkeysequence.html">TQKeySequence</a> <a name="key"></a>TQAccel::key ( int&nbsp;id )
</h3>
Returns the key sequence of the accelerator item with identifier
<em>id</em>, or an invalid key sequence (0) if the id cannot be found.
-<h3 class=fn><a href="tqstring.html">TQString</a> <a name="keyToString"></a>TQAccel::keyToString ( <a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;k )<tt> [static]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="keyToString"></a>TQAccel::keyToString ( <a href="tqkeysequence.html">TQKeySequence</a>&nbsp;k )<tt> [static]</tt>
</h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> Creates an accelerator string for the key <em>k</em>.
For instance CTRL+Key_O gives "Ctrl+O". The "Ctrl" etc.
are translated (using <a href="tqobject.html#tr">TQObject::tr</a>()) in the "TQAccel" context.
-<p> The function is superfluous. Cast the <a href="ntqkeysequence.html">TQKeySequence</a> <em>k</em> to a
+<p> The function is superfluous. Cast the <a href="tqkeysequence.html">TQKeySequence</a> <em>k</em> to a
<a href="tqstring.html">TQString</a> for the same effect.
<h3 class=fn>void <a name="removeItem"></a>TQAccel::removeItem ( int&nbsp;id )
@@ -284,7 +284,7 @@ and the user hits the accelerator key.
accelerator key), use <a href="tqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>().
<p> <p>See also <a href="#whatsThis">whatsThis</a>(), <a href="tqwhatsthis.html#inWhatsThisMode">TQWhatsThis::inWhatsThisMode</a>(), <a href="tqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>(), and <a href="tqaction.html#whatsThis-prop">TQAction::whatsThis</a>.
-<h3 class=fn><a href="ntqkeysequence.html">TQKeySequence</a> <a name="shortcutKey"></a>TQAccel::shortcutKey ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str )<tt> [static]</tt>
+<h3 class=fn><a href="tqkeysequence.html">TQKeySequence</a> <a name="shortcutKey"></a>TQAccel::shortcutKey ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;str )<tt> [static]</tt>
</h3>
Returns the shortcut key sequence for <em>str</em>, or an invalid key
sequence (0) if <em>str</em> has no shortcut sequence.
@@ -296,7 +296,7 @@ you must write e.g. TQt::ALT+TQt::Key_Q.)
Group do not appear to have issued equivalent recommendations for
other languages.
-<h3 class=fn><a href="ntqkeysequence.html">TQKeySequence</a> <a name="stringToKey"></a>TQAccel::stringToKey ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;s )<tt> [static]</tt>
+<h3 class=fn><a href="tqkeysequence.html">TQKeySequence</a> <a name="stringToKey"></a>TQAccel::stringToKey ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;s )<tt> [static]</tt>
</h3><b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> Returns an accelerator code for the string <em>s</em>. For example
"Ctrl+O" gives CTRL+UNICODE_ACCEL+'O'. The strings "Ctrl",
@@ -313,7 +313,7 @@ translations:
<p> Notice the <tt>"File|Open"</tt> translator comment. It is by no means
necessary, but it provides some context for the human translator.
-<p> The function is superfluous. Construct a <a href="ntqkeysequence.html">TQKeySequence</a> from the
+<p> The function is superfluous. Construct a <a href="tqkeysequence.html">TQKeySequence</a> from the
string <em>s</em> for the same effect.
<p> <p>See also <a href="tqobject.html#tr">TQObject::tr</a>() and <a href="i18n.html">Internationalization with TQt</a>.