diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/html/ntqmenubar.html | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-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.html | 10 |
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-><a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&Open", this, SLOT(open()), CTRL+Key_O ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&New", this, SLOT(news()), CTRL+Key_N ); +</pre><pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&Open", this, TQ_SLOT(open()), CTRL+Key_O ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&New", this, TQ_SLOT(news()), CTRL+Key_N ); </pre><pre> menu = new TQMenuBar( this ); </pre><pre> menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&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-><a href="ntqmenudata.html#insertItem">insertItem</a>( "New", myView, SLOT(newFile()), CTRL+Key_N ); - fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open", myView, SLOT(open()), CTRL+Key_O ); + fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "New", myView, TQ_SLOT(newFile()), CTRL+Key_N ); + fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open", myView, TQ_SLOT(open()), CTRL+Key_O ); mainMenu-><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->insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, SLOT(open()), + fileMenu->insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, TQ_SLOT(open()), <a href="ntqobject.html#tr">tr</a>("Ctrl+O") ); </pre> |