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/man/man3/tqmenubar.3qt | |
| 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/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 |
