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/man/man3/tqmenubar.3qt | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt-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/man/man3/tqmenubar.3qt')
-rw-r--r-- | doc/man/man3/tqmenubar.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqmenubar.3qt b/doc/man/man3/tqmenubar.3qt index 22d7106fd..42289d798 100644 --- a/doc/man/man3/tqmenubar.3qt +++ b/doc/man/man3/tqmenubar.3qt @@ -170,9 +170,9 @@ Example of creating a menu bar with menu items (from menu/menu.cpp): .PP .nf .br - file->insertItem( p1, "&Open", this, SLOT(open()), CTRL+Key_O ); + file->insertItem( p1, "&Open", this, TQ_SLOT(open()), CTRL+Key_O ); .br - file->insertItem( p2, "&New", this, SLOT(news()), CTRL+Key_N ); + file->insertItem( p2, "&New", this, TQ_SLOT(news()), CTRL+Key_N ); .fi .PP .nf @@ -294,9 +294,9 @@ Example: .br QPopupMenu *fileMenu = new QPopupMenu; .br - fileMenu->insertItem( "New", myView, SLOT(newFile()), CTRL+Key_N ); + fileMenu->insertItem( "New", myView, TQ_SLOT(newFile()), CTRL+Key_N ); .br - fileMenu->insertItem( "Open", myView, SLOT(open()), CTRL+Key_O ); + fileMenu->insertItem( "Open", myView, TQ_SLOT(open()), CTRL+Key_O ); .br mainMenu->insertItem( "File", fileMenu ); .br @@ -308,7 +308,7 @@ If you need to translate accelerators, use tr() with the text and accelerator. ( .PP .nf .br - fileMenu->insertItem( tr("Open"), myView, SLOT(open()), + fileMenu->insertItem( tr("Open"), myView, TQ_SLOT(open()), .br tr("Ctrl+O") ); .br |