summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmenudata.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqmenudata.3qt')
-rw-r--r--doc/man/man3/tqmenudata.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqmenudata.3qt b/doc/man/man3/tqmenudata.3qt
index 60115fc3..cbc1f527 100644
--- a/doc/man/man3/tqmenudata.3qt
+++ b/doc/man/man3/tqmenudata.3qt
@@ -334,9 +334,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
@@ -348,7 +348,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