diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 0f137723f..fb4c30415 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -87,7 +87,7 @@ private: void readBookmarks(); <a href="tqtextbrowser.html">TQTextBrowser</a>* browser; - <a href="ntqcombobox.html">TQComboBox</a> *pathCombo; + <a href="tqcombobox.html">TQComboBox</a> *pathCombo; int backwardId, forwardId; <a href="tqstringlist.html">TQStringList</a> history, bookmarks; <a href="tqmap.html">TQMap</a><int, TQString> mHistory, mBookmarks; @@ -129,9 +129,9 @@ private: #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qcombobox-h.html">ntqcombobox.h</a>> +#include <<a href="tqcombobox-h.html">tqcombobox.h</a>> #include <<a href="tqevent-h.html">tqevent.h</a>> -#include <<a href="qlineedit-h.html">ntqlineedit.h</a>> +#include <<a href="tqlineedit-h.html">tqlineedit.h</a>> #include <<a href="tqobjectlist-h.html">tqobjectlist.h</a>> #include <<a href="tqfileinfo-h.html">tqfileinfo.h</a>> #include <<a href="tqfile-h.html">tqfile.h</a>> @@ -240,15 +240,15 @@ private: <a name="x1033"></a> toolbar-><a href="tqtoolbar.html#addSeparator">addSeparator</a>(); - pathCombo = new <a href="ntqcombobox.html">TQComboBox</a>( TRUE, toolbar ); -<a name="x981"></a> <a href="tqobject.html#connect">connect</a>( pathCombo, TQ_SIGNAL( <a href="ntqcombobox.html#activated">activated</a>( const <a href="tqstring.html">TQString</a> & ) ), + pathCombo = new <a href="tqcombobox.html">TQComboBox</a>( TRUE, toolbar ); +<a name="x981"></a> <a href="tqobject.html#connect">connect</a>( pathCombo, TQ_SIGNAL( <a href="tqcombobox.html#activated">activated</a>( const <a href="tqstring.html">TQString</a> & ) ), this, TQ_SLOT( pathSelected( const <a href="tqstring.html">TQString</a> & ) ) ); <a name="x1034"></a> toolbar-><a href="tqtoolbar.html#setStretchableWidget">setStretchableWidget</a>( pathCombo ); <a href="tqmainwindow.html#setRightJustification">setRightJustification</a>( TRUE ); <a href="tqmainwindow.html#setDockEnabled">setDockEnabled</a>( DockLeft, FALSE ); <a href="tqmainwindow.html#setDockEnabled">setDockEnabled</a>( DockRight, FALSE ); -<a name="x983"></a> pathCombo-><a href="ntqcombobox.html#insertItem">insertItem</a>( home_ ); +<a name="x983"></a> pathCombo-><a href="tqcombobox.html#insertItem">insertItem</a>( home_ ); browser-><a href="tqwidget.html#setFocus">setFocus</a>(); } @@ -275,18 +275,18 @@ void <a name="f353"></a>HelpWindow::sourceChanged( const <a href="tqstring.html" if ( !url.<a href="tqstring.html#isEmpty">isEmpty</a>() && pathCombo ) { bool exists = FALSE; int i; -<a name="x982"></a> for ( i = 0; i < pathCombo-><a href="ntqcombobox.html#count">count</a>(); ++i ) { -<a name="x985"></a> if ( pathCombo-><a href="ntqcombobox.html#text">text</a>( i ) == url ) { +<a name="x982"></a> for ( i = 0; i < pathCombo-><a href="tqcombobox.html#count">count</a>(); ++i ) { +<a name="x985"></a> if ( pathCombo-><a href="tqcombobox.html#text">text</a>( i ) == url ) { exists = TRUE; break; } } if ( !exists ) { - pathCombo-><a href="ntqcombobox.html#insertItem">insertItem</a>( url, 0 ); -<a name="x984"></a> pathCombo-><a href="ntqcombobox.html#setCurrentItem">setCurrentItem</a>( 0 ); + pathCombo-><a href="tqcombobox.html#insertItem">insertItem</a>( url, 0 ); +<a name="x984"></a> pathCombo-><a href="tqcombobox.html#setCurrentItem">setCurrentItem</a>( 0 ); mHistory[ hist-><a href="tqmenudata.html#insertItem">insertItem</a>( url ) ] = url; } else - pathCombo-><a href="ntqcombobox.html#setCurrentItem">setCurrentItem</a>( i ); + pathCombo-><a href="tqcombobox.html#setCurrentItem">setCurrentItem</a>( i ); } } |