summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmenubar.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqmenubar.3qt')
-rw-r--r--doc/man/man3/tqmenubar.3qt10
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