diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 159d80315..9e7be2cd0 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>& home_, const <a href="ntqstring.html">TQString</a>& _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>&) ), <a href="ntqmainwindow.html#statusBar">statusBar</a>(), TQ_SLOT( message( const <a href="ntqstring.html">TQString</a>&)) ); - <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-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&New Window"), this, TQ_SLOT( newWindow() ), CTRL+Key_N ); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&Open File"), this, TQ_SLOT( openFile() ), CTRL+Key_O ); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&Print"), this, TQ_SLOT( print() ), CTRL+Key_P ); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&Close"), this, TQ_SLOT( <a href="ntqwidget.html#close">close</a>() ), CTRL+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&Close"), this, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ), CTRL+Key_Q ); <a name="x980"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&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-><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-><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-><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-><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-><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-><a href="ntqcombobox.html#insertItem">insertItem</a>( home_ ); - browser-><a href="ntqwidget.html#setFocus">setFocus</a>(); + browser-><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>& url ) { <a name="x1029"></a> if ( browser-><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-><a href="ntqtextedit.html#documentTitle">documentTitle</a>() ) ; + <a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Helpviewer - " + browser-><a href="ntqtextedit.html#documentTitle">documentTitle</a>() ) ; if ( !url.<a href="ntqstring.html#isEmpty">isEmpty</a>() && 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-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqwidget.html#caption">caption</a>() ) ] = browser-><a href="ntqtextedit.html#context">context</a>(); + mBookmarks[ bookm-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqwidget.html#caption">caption</a>() ) ] = browser-><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-><a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Helpviewer"); + help-><a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Helpviewer"); <a name="x1037"></a> if ( TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->width() > 400 && TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->height() > 500 ) - help-><a href="ntqwidget.html#show">show</a>(); + help-><a href="tqwidget.html#show">show</a>(); else -<a name="x1045"></a> help-><a href="ntqwidget.html#showMaximized">showMaximized</a>(); +<a name="x1045"></a> help-><a href="tqwidget.html#showMaximized">showMaximized</a>(); <a name="x1039"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); |