diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 33bed5d9b..9aaab16de 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -155,26 +155,26 @@ 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, SIGNAL( <a href="ntqtextbrowser.html#sourceChanged">sourceChanged</a>(const <a href="ntqstring.html">TQString</a>& ) ), - this, SLOT( sourceChanged( const <a href="ntqstring.html">TQString</a>&) ) ); +<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>& ) ), + this, TQ_SLOT( sourceChanged( const <a href="ntqstring.html">TQString</a>&) ) ); <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( browser ); 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, SIGNAL( <a href="ntqtextbrowser.html#highlighted">highlighted</a>( const <a href="ntqstring.html">TQString</a>&) ), - <a href="ntqmainwindow.html#statusBar">statusBar</a>(), SLOT( message( const <a href="ntqstring.html">TQString</a>&)) ); +<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 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, SLOT( newWindow() ), CTRL+Key_N ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Open File"), this, SLOT( openFile() ), CTRL+Key_O ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Print"), this, SLOT( print() ), CTRL+Key_P ); + 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#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Close"), this, 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, SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X ); + 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 ); // The same three icons are used twice each. <a href="ntqiconset.html">TQIconSet</a> icon_back( TQPixmap("back.xpm") ); @@ -183,33 +183,33 @@ 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, SLOT( <a href="ntqtextbrowser.html#backward">backward</a>() ), +<a name="x1019"></a> <a href="ntqobject.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, SLOT( <a href="ntqtextbrowser.html#forward">forward</a>() ), +<a name="x1021"></a> <a href="ntqobject.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, SLOT( <a href="ntqtextbrowser.html#home">home</a>() ) ); +<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, SLOT( about() ) ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("About &TQt"), this, SLOT( aboutTQt() ) ); + 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() ) ); 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, SIGNAL( <a href="ntqpopupmenu.html#activated">activated</a>( int ) ), - this, SLOT( histChosen( int ) ) ); +<a name="x1004"></a> <a href="ntqobject.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, SLOT( addBookmark() ) ); + 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#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, SIGNAL( <a href="ntqpopupmenu.html#activated">activated</a>( int ) ), - this, SLOT( bookmChosen( int ) ) ); + <a href="ntqobject.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 ); @@ -220,29 +220,29 @@ private: <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, SIGNAL( <a href="ntqtextbrowser.html#backwardAvailable">backwardAvailable</a>( bool ) ), - this, SLOT( setBackwardAvailable( bool ) ) ); -<a name="x1022"></a> <a href="ntqobject.html#connect">connect</a>( browser, SIGNAL( <a href="ntqtextbrowser.html#forwardAvailable">forwardAvailable</a>( bool ) ), - this, SLOT( setForwardAvailable( bool ) ) ); +<a name="x1020"></a> <a href="ntqobject.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 ) ), + this, TQ_SLOT( setForwardAvailable( bool ) ) ); <a href="ntqtoolbar.html">TQToolBar</a>* toolbar = new <a href="ntqtoolbar.html">TQToolBar</a>( this ); <a href="ntqmainwindow.html#addToolBar">addToolBar</a>( toolbar, "Toolbar"); <a href="ntqtoolbutton.html">TQToolButton</a>* button; - button = new <a href="ntqtoolbutton.html">TQToolButton</a>( icon_back, tr("Backward"), "", browser, SLOT(<a href="ntqtextbrowser.html#backward">backward</a>()), toolbar ); -<a name="x1035"></a> <a href="ntqobject.html#connect">connect</a>( browser, SIGNAL( <a href="ntqtextbrowser.html#backwardAvailable">backwardAvailable</a>(bool) ), button, SLOT( <a href="ntqwidget.html#setEnabled">setEnabled</a>(bool) ) ); + 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) ) ); button-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - button = new <a href="ntqtoolbutton.html">TQToolButton</a>( icon_forward, tr("Forward"), "", browser, SLOT(<a href="ntqtextbrowser.html#forward">forward</a>()), toolbar ); - <a href="ntqobject.html#connect">connect</a>( browser, SIGNAL( <a href="ntqtextbrowser.html#forwardAvailable">forwardAvailable</a>(bool) ), button, SLOT( <a href="ntqwidget.html#setEnabled">setEnabled</a>(bool) ) ); + 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) ) ); button-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - button = new <a href="ntqtoolbutton.html">TQToolButton</a>( icon_home, tr("Home"), "", browser, SLOT(<a href="ntqtextbrowser.html#home">home</a>()), toolbar ); + 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, SIGNAL( <a href="ntqcombobox.html#activated">activated</a>( const <a href="ntqstring.html">TQString</a> & ) ), - this, SLOT( pathSelected( const <a href="ntqstring.html">TQString</a> & ) ) ); +<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> & ) ), + 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 ); <a href="ntqmainwindow.html#setDockEnabled">setDockEnabled</a>( DockLeft, FALSE ); @@ -462,8 +462,8 @@ 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, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), - &a, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<a name="x1039"></a> TQObject::<a href="ntqobject.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>(); } |