summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqmenubar.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqmenubar.html')
-rw-r--r--doc/html/ntqmenubar.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/ntqmenubar.html b/doc/html/ntqmenubar.html
index 4dde93ad7..143a14a90 100644
--- a/doc/html/ntqmenubar.html
+++ b/doc/html/ntqmenubar.html
@@ -118,8 +118,8 @@ appropriately whenever the parent is resized.
<pre> <a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
-</pre><pre> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&amp;Open", this, SLOT(open()), CTRL+Key_O );
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&amp;New", this, SLOT(news()), CTRL+Key_N );
+</pre><pre> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&amp;Open", this, TQ_SLOT(open()), CTRL+Key_O );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&amp;New", this, TQ_SLOT(news()), CTRL+Key_N );
</pre><pre> menu = new TQMenuBar( this );
</pre><pre> menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
</pre>
@@ -268,8 +268,8 @@ connects it to the slot <em>member</em> in the object <em>receiver</em>.
<pre>
TQMenuBar *mainMenu = new TQMenuBar;
<a href="ntqpopupmenu.html">TQPopupMenu</a> *fileMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>;
- fileMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "New", myView, SLOT(newFile()), CTRL+Key_N );
- fileMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Open", myView, SLOT(open()), CTRL+Key_O );
+ fileMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "New", myView, TQ_SLOT(newFile()), CTRL+Key_N );
+ fileMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Open", myView, TQ_SLOT(open()), CTRL+Key_O );
mainMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "File", fileMenu );
</pre>
@@ -279,7 +279,7 @@ accelerator key. Use <a href="ntqmenudata.html#connectItem">connectItem</a>() an
accelerator. (For translations use a string <a href="ntqkeysequence.html">key
sequence</a>.):
<pre>
- fileMenu-&gt;insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, SLOT(open()),
+ fileMenu-&gt;insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, TQ_SLOT(open()),
<a href="ntqobject.html#tr">tr</a>("Ctrl+O") );
</pre>