summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqmenubar.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /doc/html/ntqmenubar.html
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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>