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/ntqmenudata.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/ntqmenudata.html')
-rw-r--r-- | doc/html/ntqmenudata.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqmenudata.html b/doc/html/ntqmenudata.html index 0343f2cff..698bea5e8 100644 --- a/doc/html/ntqmenudata.html +++ b/doc/html/ntqmenudata.html @@ -292,8 +292,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>; <a href="ntqpopupmenu.html">TQPopupMenu</a> *fileMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>; - fileMenu-><a href="#insertItem">insertItem</a>( "New", myView, SLOT(newFile()), CTRL+Key_N ); - fileMenu-><a href="#insertItem">insertItem</a>( "Open", myView, SLOT(open()), CTRL+Key_O ); + fileMenu-><a href="#insertItem">insertItem</a>( "New", myView, TQ_SLOT(newFile()), CTRL+Key_N ); + fileMenu-><a href="#insertItem">insertItem</a>( "Open", myView, TQ_SLOT(open()), CTRL+Key_O ); mainMenu-><a href="#insertItem">insertItem</a>( "File", fileMenu ); </pre> @@ -303,7 +303,7 @@ accelerator key. Use <a href="#connectItem">connectItem</a>() and <a href="#setA accelerator. (For translations use a string <a href="ntqkeysequence.html">key sequence</a>.): <pre> - fileMenu->insertItem( tr("Open"), myView, SLOT(open()), + fileMenu->insertItem( tr("Open"), myView, TQ_SLOT(open()), tr("Ctrl+O") ); </pre> |