summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpopupmenu.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpopupmenu.3qt')
-rw-r--r--doc/man/man3/tqpopupmenu.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqpopupmenu.3qt b/doc/man/man3/tqpopupmenu.3qt
index d8dfa0b33..05df91223 100644
--- a/doc/man/man3/tqpopupmenu.3qt
+++ b/doc/man/man3/tqpopupmenu.3qt
@@ -422,9 +422,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
@@ -436,7 +436,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