summaryrefslogtreecommitdiffstats
path: root/doc/html/helpviewer-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r--doc/html/helpviewer-example.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html
index 159d8031..9e7be2cd 100644
--- a/doc/html/helpviewer-example.html
+++ b/doc/html/helpviewer-example.html
@@ -144,7 +144,7 @@ private:
#include <ctype.h>
<a name="f350"></a>HelpWindow::HelpWindow( const <a href="ntqstring.html">TQString</a>&amp; home_, const <a href="ntqstring.html">TQString</a>&amp; _path,
- <a href="ntqwidget.html">TQWidget</a>* parent, const char *name )
+ <a href="tqwidget.html">TQWidget</a>* parent, const char *name )
: <a href="ntqmainwindow.html">TQMainWindow</a>( parent, name, WDestructiveClose ),
pathCombo( 0 )
{
@@ -166,14 +166,14 @@ private:
<a name="x1023"></a> <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#highlighted">highlighted</a>( const <a href="ntqstring.html">TQString</a>&amp;) ),
<a href="ntqmainwindow.html#statusBar">statusBar</a>(), TQ_SLOT( message( const <a href="ntqstring.html">TQString</a>&amp;)) );
- <a href="ntqwidget.html#resize">resize</a>( 640,700 );
+ <a href="tqwidget.html#resize">resize</a>( 640,700 );
<a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&amp;New Window"), this, TQ_SLOT( newWindow() ), CTRL+Key_N );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&amp;Open File"), this, TQ_SLOT( openFile() ), CTRL+Key_O );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&amp;Print"), this, TQ_SLOT( print() ), CTRL+Key_P );
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&amp;Close"), this, TQ_SLOT( <a href="ntqwidget.html#close">close</a>() ), CTRL+Key_Q );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&amp;Close"), this, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ), CTRL+Key_Q );
<a name="x980"></a> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&amp;xit"), tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X );
// The same three icons are used twice each.
@@ -231,11 +231,11 @@ private:
<a href="ntqtoolbutton.html">TQToolButton</a>* button;
button = new <a href="ntqtoolbutton.html">TQToolButton</a>( icon_back, tr("Backward"), "", browser, TQ_SLOT(<a href="ntqtextbrowser.html#backward">backward</a>()), toolbar );
-<a name="x1035"></a> <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#backwardAvailable">backwardAvailable</a>(bool) ), button, TQ_SLOT( <a href="ntqwidget.html#setEnabled">setEnabled</a>(bool) ) );
- button-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+<a name="x1035"></a> <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#backwardAvailable">backwardAvailable</a>(bool) ), button, TQ_SLOT( <a href="tqwidget.html#setEnabled">setEnabled</a>(bool) ) );
+ button-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
button = new <a href="ntqtoolbutton.html">TQToolButton</a>( icon_forward, tr("Forward"), "", browser, TQ_SLOT(<a href="ntqtextbrowser.html#forward">forward</a>()), toolbar );
- <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#forwardAvailable">forwardAvailable</a>(bool) ), button, TQ_SLOT( <a href="ntqwidget.html#setEnabled">setEnabled</a>(bool) ) );
- button-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#forwardAvailable">forwardAvailable</a>(bool) ), button, TQ_SLOT( <a href="tqwidget.html#setEnabled">setEnabled</a>(bool) ) );
+ button-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
button = new <a href="ntqtoolbutton.html">TQToolButton</a>( icon_home, tr("Home"), "", browser, TQ_SLOT(<a href="ntqtextbrowser.html#home">home</a>()), toolbar );
<a name="x1033"></a> toolbar-&gt;<a href="ntqtoolbar.html#addSeparator">addSeparator</a>();
@@ -249,7 +249,7 @@ private:
<a href="ntqmainwindow.html#setDockEnabled">setDockEnabled</a>( DockRight, FALSE );
<a name="x983"></a> pathCombo-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>( home_ );
- browser-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
+ browser-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
}
@@ -268,9 +268,9 @@ void <a name="f352"></a>HelpWindow::setForwardAvailable( bool b)
void <a name="f353"></a>HelpWindow::sourceChanged( const <a href="ntqstring.html">TQString</a>&amp; url )
{
<a name="x1029"></a> if ( browser-&gt;<a href="ntqtextedit.html#documentTitle">documentTitle</a>().isNull() )
- <a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Helpviewer - " + url );
+ <a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Helpviewer - " + url );
else
- <a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Helpviewer - " + browser-&gt;<a href="ntqtextedit.html#documentTitle">documentTitle</a>() ) ;
+ <a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Helpviewer - " + browser-&gt;<a href="ntqtextedit.html#documentTitle">documentTitle</a>() ) ;
if ( !url.<a href="ntqstring.html#isEmpty">isEmpty</a>() &amp;&amp; pathCombo ) {
bool exists = FALSE;
@@ -419,7 +419,7 @@ void <a name="f363"></a>HelpWindow::bookmChosen( int i )
void <a name="f364"></a>HelpWindow::addBookmark()
{
- mBookmarks[ bookm-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqwidget.html#caption">caption</a>() ) ] = browser-&gt;<a href="ntqtextedit.html#context">context</a>();
+ mBookmarks[ bookm-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqwidget.html#caption">caption</a>() ) ] = browser-&gt;<a href="ntqtextedit.html#context">context</a>();
}
</pre>
@@ -455,12 +455,12 @@ int main( int argc, char ** argv )
}
HelpWindow *help = new HelpWindow(home, ".", 0, "help viewer");
- help-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Helpviewer");
+ help-&gt;<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Helpviewer");
<a name="x1037"></a> if ( TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()-&gt;width() &gt; 400
&amp;&amp; TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()-&gt;height() &gt; 500 )
- help-&gt;<a href="ntqwidget.html#show">show</a>();
+ help-&gt;<a href="tqwidget.html#show">show</a>();
else
-<a name="x1045"></a> help-&gt;<a href="ntqwidget.html#showMaximized">showMaximized</a>();
+<a name="x1045"></a> help-&gt;<a href="tqwidget.html#showMaximized">showMaximized</a>();
<a name="x1039"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()),
&amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );