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-31 22:16:03 +0900 |
| commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
| tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /doc/html/ntqpopupmenu.html | |
| parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
| download | tqt-ecca365d.tar.gz tqt-ecca365d.zip | |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'doc/html/ntqpopupmenu.html')
| -rw-r--r-- | doc/html/ntqpopupmenu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqpopupmenu.html b/doc/html/ntqpopupmenu.html index 470a19a1b..0d48975bd 100644 --- a/doc/html/ntqpopupmenu.html +++ b/doc/html/ntqpopupmenu.html @@ -394,8 +394,8 @@ connects it to the slot <em>member</em> in the object <em>receiver</em>. <pre> <a href="ntqmenubar.html">TQMenuBar</a> *mainMenu = new <a href="ntqmenubar.html">TQMenuBar</a>; TQPopupMenu *fileMenu = new TQPopupMenu; - 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> @@ -405,7 +405,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> |
