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 300b2499e..bbb45097f 100644 --- a/doc/html/helpsystem-example.html +++ b/doc/html/helpsystem-example.html @@ -60,7 +60,7 @@ a <a href="ntqtable.html">TQTable</a> as the central widget. <a href="ntqheader.html">TQHeader</a> and TQTable by reimplementing maybeTip(). The constructors differ from the <a href="ntqtooltip.html">TQToolTip</a> constructor in having a TQHeader and a TQTable respectively as the first parameter for -the constructor instead of a <a href="ntqwidget.html">TQWidget</a>. This is because +the constructor instead of a <a href="tqwidget.html">TQWidget</a>. This is because we want to ensure that only headers and tables can be passed as arguments. A <a href="qtooltipgroup.html">TQToolTipGroup</a> can be provided as the second argument to show tooltips in, for example a statusbar. @@ -147,16 +147,16 @@ in a tooltip and to provide text for the <a href="qtooltipgroup.html">TQToolTipG { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - WhatsThis( <a href="ntqwidget.html">TQWidget</a> *w, TQWidget *watch = 0 ); + WhatsThis( <a href="tqwidget.html">TQWidget</a> *w, TQWidget *watch = 0 ); bool clicked( const <a href="ntqstring.html">TQString</a> &link ); - <a href="ntqwidget.html">TQWidget</a> *parentWidget() const; + <a href="tqwidget.html">TQWidget</a> *parentWidget() const; signals: void linkClicked( const <a href="ntqstring.html">TQString</a> &link ); private: - <a href="ntqwidget.html">TQWidget</a> *widget; + <a href="tqwidget.html">TQWidget</a> *widget; }; </pre> @@ -168,7 +168,7 @@ and TableWhatsThis classes. <a href="#footnote1"><sup>(1)</sup></a><a name="foot reimplements clicked() which will be called when the user clicks inside the "What's this?" window. It also declares a signal linkClicked() which will be emitted when a hyperlink is clicked. -<pre> WhatsThis::WhatsThis( <a href="ntqwidget.html">TQWidget</a> *w, TQWidget *watch ) +<pre> WhatsThis::WhatsThis( <a href="tqwidget.html">TQWidget</a> *w, TQWidget *watch ) : <a href="ntqwhatsthis.html">TQWhatsThis</a>( watch ? watch : w ), widget( w ) { } @@ -179,7 +179,7 @@ one which receives the events. Normally this is the same widget, but some widgets, like <a href="ntqtable.html">TQTable</a>, are more complex and have a viewport() widget which receives the events. If such a widget is passed to the constructor it will propagate the parameter to -the TQWhatsThis constructor and store the <a href="ntqwidget.html">TQWidget</a> pointer itself +the TQWhatsThis constructor and store the <a href="tqwidget.html">TQWidget</a> pointer itself in it's member variable to allow easier use of the TQWidget API later on. <pre> bool WhatsThis::clicked( const <a href="ntqstring.html">TQString</a> &link ) @@ -368,7 +368,7 @@ 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, TQ_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="tqwidget.html#close">close</a>()) ); int helpId = helpMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open Assistant", this, TQ_SLOT(assistantSlot()) ); @@ -463,7 +463,7 @@ in TQt Assistant. { <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); MainWindow main; - main.<a href="ntqwidget.html#show">show</a>(); + main.<a href="tqwidget.html#show">show</a>(); <a name="x2701"></a> app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &main ); <a name="x2700"></a> return app.<a href="ntqapplication.html#exec">exec</a>(); } |