diff options
Diffstat (limited to 'doc/html/helpsystem-example.html')
-rw-r--r-- | doc/html/helpsystem-example.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/helpsystem-example.html b/doc/html/helpsystem-example.html index 028ac9403..6a210e97e 100644 --- a/doc/html/helpsystem-example.html +++ b/doc/html/helpsystem-example.html @@ -368,9 +368,9 @@ so that the system path is used. <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&File", fileMenu ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Help", helpMenu ); - int fileId = fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", this, SLOT(<a href="ntqwidget.html#close">close</a>()) ); + int fileId = fileMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", this, TQ_SLOT(<a href="ntqwidget.html#close">close</a>()) ); - int helpId = helpMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open Assistant", this, SLOT(assistantSlot()) ); + int helpId = helpMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open Assistant", this, TQ_SLOT(assistantSlot()) ); // populate toolbar <a href="ntqtoolbar.html">TQToolBar</a>* toolbar = new <a href="ntqtoolbar.html">TQToolBar</a>( this ); @@ -385,9 +385,9 @@ and the toolbar are populated. which will enter "What's this?" mode when clicked. <pre> //create tooltipgroup <a href="qtooltipgroup.html">TQToolTipGroup</a> * tipGroup = new <a href="qtooltipgroup.html">TQToolTipGroup</a>( this ); - <a name="x2697"></a> <a href="ntqobject.html#connect">connect</a>( tipGroup, SIGNAL(<a href="qtooltipgroup.html#showTip">showTip</a>(const <a href="ntqstring.html">TQString</a>&)), statusBar(), - SLOT(message(const <a href="ntqstring.html">TQString</a>&)) ); - <a name="x2696"></a> <a href="ntqobject.html#connect">connect</a>( tipGroup, SIGNAL(<a href="qtooltipgroup.html#removeTip">removeTip</a>()), statusBar(), SLOT(clear()) ); + <a name="x2697"></a> <a href="ntqobject.html#connect">connect</a>( tipGroup, TQ_SIGNAL(<a href="qtooltipgroup.html#showTip">showTip</a>(const <a href="ntqstring.html">TQString</a>&)), statusBar(), + TQ_SLOT(message(const <a href="ntqstring.html">TQString</a>&)) ); + <a name="x2696"></a> <a href="ntqobject.html#connect">connect</a>( tipGroup, TQ_SIGNAL(<a href="qtooltipgroup.html#removeTip">removeTip</a>()), statusBar(), TQ_SLOT(clear()) ); </pre> <p> A <a href="qtooltipgroup.html">TQToolTipGroup</a> is created and will show and remove tooltips in the statusbar as the tooltips are displayed on the widgets. @@ -422,13 +422,13 @@ Instances of the two WhatsThis subclasses are created for the headers and the table. What's This? help is also added for the menu items. <pre> // connections - <a href="ntqobject.html#connect">connect</a>( assistantButton, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, SLOT(assistantSlot()) ); - <a href="ntqobject.html#connect">connect</a>( horizontalWhatsThis, SIGNAL(linkClicked(const <a href="ntqstring.html">TQString</a>&)), assistant, - SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="ntqstring.html">TQString</a>&)) ); - <a href="ntqobject.html#connect">connect</a>( verticalWhatsThis, SIGNAL(linkClicked(const <a href="ntqstring.html">TQString</a>&)), assistant, - SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="ntqstring.html">TQString</a>&)) ); - <a href="ntqobject.html#connect">connect</a>( cellWhatsThis, SIGNAL(linkClicked(const <a href="ntqstring.html">TQString</a>&)), assistant, - SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="ntqstring.html">TQString</a>&)) ); + <a href="ntqobject.html#connect">connect</a>( assistantButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(assistantSlot()) ); + <a href="ntqobject.html#connect">connect</a>( horizontalWhatsThis, TQ_SIGNAL(linkClicked(const <a href="ntqstring.html">TQString</a>&)), assistant, + TQ_SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="ntqstring.html">TQString</a>&)) ); + <a href="ntqobject.html#connect">connect</a>( verticalWhatsThis, TQ_SIGNAL(linkClicked(const <a href="ntqstring.html">TQString</a>&)), assistant, + TQ_SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="ntqstring.html">TQString</a>&)) ); + <a href="ntqobject.html#connect">connect</a>( cellWhatsThis, TQ_SIGNAL(linkClicked(const <a href="ntqstring.html">TQString</a>&)), assistant, + TQ_SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="ntqstring.html">TQString</a>&)) ); } </pre> <p> Signals and slots are connected, so that the relevant pages will |