diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 9aaab16de..159d80315 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -132,7 +132,7 @@ private: #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qevent-h.html">ntqevent.h</a>> #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> -#include <<a href="qobjectlist-h.html">ntqobjectlist.h</a>> +#include <<a href="tqobjectlist-h.html">tqobjectlist.h</a>> #include <<a href="qfileinfo-h.html">ntqfileinfo.h</a>> #include <<a href="qfile-h.html">ntqfile.h</a>> #include <<a href="qdatastream-h.html">ntqdatastream.h</a>> @@ -155,7 +155,7 @@ private: <a name="x1030"></a> browser-><a href="ntqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>()->setFilePath( _path ); browser-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken ); -<a name="x1027"></a> <a href="ntqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#sourceChanged">sourceChanged</a>(const <a href="ntqstring.html">TQString</a>& ) ), +<a name="x1027"></a> <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#sourceChanged">sourceChanged</a>(const <a href="ntqstring.html">TQString</a>& ) ), this, TQ_SLOT( sourceChanged( const <a href="ntqstring.html">TQString</a>&) ) ); <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( browser ); @@ -163,18 +163,18 @@ private: if ( !home_.<a href="ntqstring.html#isEmpty">isEmpty</a>() ) <a name="x1025"></a> browser-><a href="ntqtextbrowser.html#setSource">setSource</a>( home_ ); -<a name="x1023"></a> <a href="ntqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#highlighted">highlighted</a>( const <a href="ntqstring.html">TQString</a>&) ), +<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="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&New Window"), this, TQ_SLOT( newWindow() ), CTRL+Key_N ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Open File"), this, TQ_SLOT( openFile() ), CTRL+Key_O ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Print"), this, TQ_SLOT( print() ), CTRL+Key_P ); + 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="ntqobject.html#tr">tr</a>("&Close"), this, TQ_SLOT( <a href="ntqwidget.html#close">close</a>() ), CTRL+Key_Q ); -<a name="x980"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X ); + 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 ); +<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. <a href="ntqiconset.html">TQIconSet</a> icon_back( TQPixmap("back.xpm") ); @@ -183,46 +183,46 @@ private: <a href="ntqpopupmenu.html">TQPopupMenu</a>* go = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); backwardId = go-><a href="ntqmenudata.html#insertItem">insertItem</a>( icon_back, -<a name="x1019"></a> <a href="ntqobject.html#tr">tr</a>("&Backward"), browser, TQ_SLOT( <a href="ntqtextbrowser.html#backward">backward</a>() ), +<a name="x1019"></a> <a href="tqobject.html#tr">tr</a>("&Backward"), browser, TQ_SLOT( <a href="ntqtextbrowser.html#backward">backward</a>() ), CTRL+Key_Left ); forwardId = go-><a href="ntqmenudata.html#insertItem">insertItem</a>( icon_forward, -<a name="x1021"></a> <a href="ntqobject.html#tr">tr</a>("&Forward"), browser, TQ_SLOT( <a href="ntqtextbrowser.html#forward">forward</a>() ), +<a name="x1021"></a> <a href="tqobject.html#tr">tr</a>("&Forward"), browser, TQ_SLOT( <a href="ntqtextbrowser.html#forward">forward</a>() ), CTRL+Key_Right ); <a name="x1024"></a> go-><a href="ntqmenudata.html#insertItem">insertItem</a>( icon_home, tr("&Home"), browser, TQ_SLOT( <a href="ntqtextbrowser.html#home">home</a>() ) ); <a href="ntqpopupmenu.html">TQPopupMenu</a>* help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&About"), this, TQ_SLOT( about() ) ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("About &TQt"), this, TQ_SLOT( aboutTQt() ) ); + help-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&About"), this, TQ_SLOT( about() ) ); + help-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("About &TQt"), this, TQ_SLOT( aboutTQt() ) ); hist = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); TQStringList::Iterator it = history.begin(); for ( ; it != history.end(); ++it ) mHistory[ hist-><a href="ntqmenudata.html#insertItem">insertItem</a>( *it ) ] = *it; -<a name="x1004"></a> <a href="ntqobject.html#connect">connect</a>( hist, TQ_SIGNAL( <a href="ntqpopupmenu.html#activated">activated</a>( int ) ), +<a name="x1004"></a> <a href="tqobject.html#connect">connect</a>( hist, TQ_SIGNAL( <a href="ntqpopupmenu.html#activated">activated</a>( int ) ), this, TQ_SLOT( histChosen( int ) ) ); bookm = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - bookm-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>( "Add Bookmark" ), this, TQ_SLOT( addBookmark() ) ); + bookm-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>( "Add Bookmark" ), this, TQ_SLOT( addBookmark() ) ); bookm-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); TQStringList::Iterator it2 = bookmarks.begin(); for ( ; it2 != bookmarks.end(); ++it2 ) mBookmarks[ bookm-><a href="ntqmenudata.html#insertItem">insertItem</a>( *it2 ) ] = *it2; - <a href="ntqobject.html#connect">connect</a>( bookm, TQ_SIGNAL( <a href="ntqpopupmenu.html#activated">activated</a>( int ) ), + <a href="tqobject.html#connect">connect</a>( bookm, TQ_SIGNAL( <a href="ntqpopupmenu.html#activated">activated</a>( int ) ), this, TQ_SLOT( bookmChosen( int ) ) ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&File"), file ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&Go"), go ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>( "History" ), hist ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>( "Bookmarks" ), bookm ); + <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&File"), file ); + <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&Go"), go ); + <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>( "History" ), hist ); + <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>( "Bookmarks" ), bookm ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertSeparator(); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&Help"), help ); + <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&Help"), help ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->setItemEnabled( forwardId, FALSE); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->setItemEnabled( backwardId, FALSE); -<a name="x1020"></a> <a href="ntqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#backwardAvailable">backwardAvailable</a>( bool ) ), +<a name="x1020"></a> <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#backwardAvailable">backwardAvailable</a>( bool ) ), this, TQ_SLOT( setBackwardAvailable( bool ) ) ); -<a name="x1022"></a> <a href="ntqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#forwardAvailable">forwardAvailable</a>( bool ) ), +<a name="x1022"></a> <a href="tqobject.html#connect">connect</a>( browser, TQ_SIGNAL( <a href="ntqtextbrowser.html#forwardAvailable">forwardAvailable</a>( bool ) ), this, TQ_SLOT( setForwardAvailable( bool ) ) ); @@ -231,17 +231,17 @@ 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="ntqobject.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) ) ); +<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 ); 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="ntqobject.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) ) ); + <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 ); 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>(); pathCombo = new <a href="ntqcombobox.html">TQComboBox</a>( TRUE, toolbar ); -<a name="x981"></a> <a href="ntqobject.html#connect">connect</a>( pathCombo, TQ_SIGNAL( <a href="ntqcombobox.html#activated">activated</a>( const <a href="ntqstring.html">TQString</a> & ) ), +<a name="x981"></a> <a href="tqobject.html#connect">connect</a>( pathCombo, TQ_SIGNAL( <a href="ntqcombobox.html#activated">activated</a>( const <a href="ntqstring.html">TQString</a> & ) ), this, TQ_SLOT( pathSelected( const <a href="ntqstring.html">TQString</a> & ) ) ); <a name="x1034"></a> toolbar-><a href="ntqtoolbar.html#setStretchableWidget">setStretchableWidget</a>( pathCombo ); <a href="ntqmainwindow.html#setRightJustification">setRightJustification</a>( TRUE ); @@ -462,7 +462,7 @@ int main( int argc, char ** argv ) else <a name="x1045"></a> help-><a href="ntqwidget.html#showMaximized">showMaximized</a>(); -<a name="x1039"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</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>()) ); return a.<a href="ntqapplication.html#exec">exec</a>(); |