summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqaccel.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-02 21:37:22 +0900
committerMichele Calgaro <[email protected]>2024-07-06 11:24:55 +0900
commit7552c6d73043b1040139033f6864db48ae5446cf (patch)
treef90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/ntqaccel.html
parentc113da2069b66130f67a0f27c699e1cec83588a5 (diff)
downloadtqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz
tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/ntqaccel.html')
-rw-r--r--doc/html/ntqaccel.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/ntqaccel.html b/doc/html/ntqaccel.html
index f2e8183cf..6da44b2f7 100644
--- a/doc/html/ntqaccel.html
+++ b/doc/html/ntqaccel.html
@@ -82,17 +82,17 @@ combination is pressed. The accelerator handles all keyboard
activity for all the children of one top-level widget, so it is
not affected by the <a href="focus.html#keyboard-focus">keyboard focus</a>.
<p> In most cases, you will not need to use this class directly. Use
-the <a href="ntqaction.html">TQAction</a> class to create actions with accelerators that can be
+the <a href="tqaction.html">TQAction</a> class to create actions with accelerators that can be
used in both menus and toolbars. If you're only interested in
-menus use <a href="ntqmenudata.html#insertItem">TQMenuData::insertItem</a>() or <a href="ntqmenudata.html#setAccel">TQMenuData::setAccel</a>() to make
+menus use <a href="tqmenudata.html#insertItem">TQMenuData::insertItem</a>() or <a href="tqmenudata.html#setAccel">TQMenuData::setAccel</a>() to make
accelerators for operations that are also available on menus. Many
widgets automatically generate accelerators, such as <a href="ntqbutton.html">TQButton</a>,
-<a href="ntqgroupbox.html">TQGroupBox</a>, <a href="ntqlabel.html">TQLabel</a> (with <a href="ntqlabel.html#setBuddy">TQLabel::setBuddy</a>()), <a href="ntqmenubar.html">TQMenuBar</a> and <a href="ntqtabbar.html">TQTabBar</a>.
+<a href="ntqgroupbox.html">TQGroupBox</a>, <a href="ntqlabel.html">TQLabel</a> (with <a href="ntqlabel.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( "&amp;Exit", parent ); // automatic shortcut ALT+Key_E
- <a href="ntqpopupmenu.html">TQPopupMenu</a> *fileMenu = new fileMenu( parent );
- fileMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Undo", parent, TQ_SLOT(undo()), CTRL+Key_Z );
+ <a href="tqpopupmenu.html">TQPopupMenu</a> *fileMenu = new fileMenu( parent );
+ fileMenu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "Undo", parent, TQ_SLOT(undo()), CTRL+Key_Z );
</pre>
<p> A TQAccel contains a list of accelerator items that can be
@@ -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="ntqmenudata.html#setAccel">TQMenuData::setAccel</a>(), <a href="ntqbutton.html#accel-prop">TQButton::accel</a>, <a href="ntqlabel.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="qkeyevent.html">TQKeyEvent</a>, <a href="tqwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>(), <a href="tqmenudata.html#setAccel">TQMenuData::setAccel</a>(), <a href="ntqbutton.html#accel-prop">TQButton::accel</a>, <a href="ntqlabel.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>.
<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 )
@@ -281,8 +281,8 @@ Sets a What's This help text for the accelerator item <em>id</em> to <em>text</e
<p> The text will be shown when the application is in What's This mode
and the user hits the accelerator key.
<p> To set What's This help on a menu item (with or without an
-accelerator key), use <a href="ntqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>().
-<p> <p>See also <a href="#whatsThis">whatsThis</a>(), <a href="ntqwhatsthis.html#inWhatsThisMode">TQWhatsThis::inWhatsThisMode</a>(), <a href="ntqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>(), and <a href="ntqaction.html#whatsThis-prop">TQAction::whatsThis</a>.
+accelerator key), use <a href="tqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>().
+<p> <p>See also <a href="#whatsThis">whatsThis</a>(), <a href="ntqwhatsthis.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>
@@ -306,8 +306,8 @@ if <em>s</em> is not recognized.
<p> This function is typically used with <a href="tqobject.html#tr">tr</a>(), so that accelerator keys can be replaced in
translations:
<p> <pre>
- <a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p1, tr("&amp;Open..."), this, TQ_SLOT(open()),
+ <a href="tqpopupmenu.html">TQPopupMenu</a> *file = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
+ file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( p1, tr("&amp;Open..."), this, TQ_SLOT(open()),
TQAccel::<a href="#stringToKey">stringToKey</a>(<a href="tqobject.html#tr">tr</a>("Ctrl+O", "File|Open")) );
</pre>