diff options
Diffstat (limited to 'doc/html/helpsystem-example.html')
-rw-r--r-- | doc/html/helpsystem-example.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/helpsystem-example.html b/doc/html/helpsystem-example.html index 386b1cdbc..de203396e 100644 --- a/doc/html/helpsystem-example.html +++ b/doc/html/helpsystem-example.html @@ -40,7 +40,7 @@ in an application. <p> It uses <a href="tqtooltip.html">TQToolTip</a> and <a href="tqwhatsthis.html">TQWhatsThis</a> to provide both static and dynamic balloon help for the widgets in the application, and <a href="tqtooltipgroup.html">TQToolTipGroup</a> to display extended information for each tooltip -in the statusbar. <a href="ntqassistantclient.html">TQAssistantClient</a> is used to display help +in the statusbar. <a href="tqassistantclient.html">TQAssistantClient</a> is used to display help pages using TQt Assistant. <p> The application has a user interface based on a <a href="tqmainwindow.html">TQMainWindow</a> with a menubar, statusbar and a toolbar, and uses @@ -315,7 +315,7 @@ and return a string accordingly. HeaderToolTip *horizontalTip; HeaderToolTip *verticalTip; TableToolTip *cellTip; - <a href="ntqassistantclient.html">TQAssistantClient</a> *assistant; + <a href="tqassistantclient.html">TQAssistantClient</a> *assistant; }; </pre> <p> A <a href="tqmainwindow.html">TQMainWindow</a> is used to create a user interface that uses the @@ -325,14 +325,14 @@ sensitive help in the application. which creates an instance of TQt Assistant when it is called. The class keeps references to the tooltip classes as members because they are not TQObjects and need to be deleted explicitly. -The class has a reference to <a href="ntqassistantclient.html">TQAssistantClient</a> as a +The class has a reference to <a href="tqassistantclient.html">TQAssistantClient</a> as a member as well, to allow easier access to TQt Assistant later on. <p> <pre> MainWindow::MainWindow() { <a href="tqmainwindow.html#statusBar">statusBar</a>(); - assistant = new <a href="ntqassistantclient.html">TQAssistantClient</a>( TQDir("../../bin").absPath(), this ); + assistant = new <a href="tqassistantclient.html">TQAssistantClient</a>( TQDir("../../bin").absPath(), this ); </pre> <p> The MainWindow constructor creates an instance of TQAssistantClient using <a href="tqstring.html#TQString-null">TQString::null</a> as the first argument @@ -424,11 +424,11 @@ menu items. <pre> // connections <a href="tqobject.html#connect">connect</a>( assistantButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(assistantSlot()) ); <a href="tqobject.html#connect">connect</a>( horizontalWhatsThis, TQ_SIGNAL(linkClicked(const <a href="tqstring.html">TQString</a>&)), assistant, - TQ_SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="tqstring.html">TQString</a>&)) ); + TQ_SLOT(<a href="tqassistantclient.html#showPage">showPage</a>(const <a href="tqstring.html">TQString</a>&)) ); <a href="tqobject.html#connect">connect</a>( verticalWhatsThis, TQ_SIGNAL(linkClicked(const <a href="tqstring.html">TQString</a>&)), assistant, - TQ_SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="tqstring.html">TQString</a>&)) ); + TQ_SLOT(<a href="tqassistantclient.html#showPage">showPage</a>(const <a href="tqstring.html">TQString</a>&)) ); <a href="tqobject.html#connect">connect</a>( cellWhatsThis, TQ_SIGNAL(linkClicked(const <a href="tqstring.html">TQString</a>&)), assistant, - TQ_SLOT(<a href="ntqassistantclient.html#showPage">showPage</a>(const <a href="tqstring.html">TQString</a>&)) ); + TQ_SLOT(<a href="tqassistantclient.html#showPage">showPage</a>(const <a href="tqstring.html">TQString</a>&)) ); } </pre> <p> Signals and slots are connected, so that the relevant pages will @@ -448,7 +448,7 @@ deleted when the widget is deleted. <pre> void MainWindow::assistantSlot() { <a href="tqstring.html">TQString</a> docsPath = TQDir("../../doc").absPath(); - <a name="x2686"></a> assistant-><a href="ntqassistantclient.html#showPage">showPage</a>( TQString("%1/html/ntqassistantclient.html").arg(docsPath) ); + <a name="x2686"></a> assistant-><a href="tqassistantclient.html#showPage">showPage</a>( TQString("%1/html/tqassistantclient.html").arg(docsPath) ); } </pre> <p> The assistantSlot() uses applicationDirPath() to find the |