diff options
Diffstat (limited to 'doc/html/ntqmenubar.html')
-rw-r--r-- | doc/html/ntqmenubar.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/ntqmenubar.html b/doc/html/ntqmenubar.html index 4dde93ad7..143a14a90 100644 --- a/doc/html/ntqmenubar.html +++ b/doc/html/ntqmenubar.html @@ -118,8 +118,8 @@ appropriately whenever the parent is resized. <pre> <a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); -</pre><pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&Open", this, SLOT(open()), CTRL+Key_O ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&New", this, SLOT(news()), CTRL+Key_N ); +</pre><pre> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&Open", this, TQ_SLOT(open()), CTRL+Key_O ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&New", this, TQ_SLOT(news()), CTRL+Key_N ); </pre><pre> menu = new TQMenuBar( this ); </pre><pre> menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&File", file ); </pre> @@ -268,8 +268,8 @@ connects it to the slot <em>member</em> in the object <em>receiver</em>. <pre> TQMenuBar *mainMenu = new TQMenuBar; <a href="ntqpopupmenu.html">TQPopupMenu</a> *fileMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>; - fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "New", myView, SLOT(newFile()), CTRL+Key_N ); - fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open", myView, SLOT(open()), CTRL+Key_O ); + fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "New", myView, TQ_SLOT(newFile()), CTRL+Key_N ); + fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open", myView, TQ_SLOT(open()), CTRL+Key_O ); mainMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "File", fileMenu ); </pre> @@ -279,7 +279,7 @@ accelerator key. Use <a href="ntqmenudata.html#connectItem">connectItem</a>() an accelerator. (For translations use a string <a href="ntqkeysequence.html">key sequence</a>.): <pre> - fileMenu->insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, SLOT(open()), + fileMenu->insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, TQ_SLOT(open()), <a href="ntqobject.html#tr">tr</a>("Ctrl+O") ); </pre> |