From fef846914f8db6dc117e206ef913d519bf6bb33e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 29 Jul 2024 12:43:23 +0900 Subject: Rename basic widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/helpviewer-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/helpviewer-example.html') 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(); TQTextBrowser* browser; - TQComboBox *pathCombo; + TQComboBox *pathCombo; int backwardId, forwardId; TQStringList history, bookmarks; TQMap<int, TQString> mHistory, mBookmarks; @@ -129,9 +129,9 @@ private: #include <ntqmessagebox.h> #include <tqfiledialog.h> #include <ntqapplication.h> -#include <ntqcombobox.h> +#include <tqcombobox.h> #include <tqevent.h> -#include <ntqlineedit.h> +#include <tqlineedit.h> #include <tqobjectlist.h> #include <tqfileinfo.h> #include <tqfile.h> @@ -240,15 +240,15 @@ private: toolbar->addSeparator(); - pathCombo = new TQComboBox( TRUE, toolbar ); - connect( pathCombo, TQ_SIGNAL( activated( const TQString & ) ), + pathCombo = new TQComboBox( TRUE, toolbar ); + connect( pathCombo, TQ_SIGNAL( activated( const TQString & ) ), this, TQ_SLOT( pathSelected( const TQString & ) ) ); toolbar->setStretchableWidget( pathCombo ); setRightJustification( TRUE ); setDockEnabled( DockLeft, FALSE ); setDockEnabled( DockRight, FALSE ); - pathCombo->insertItem( home_ ); + pathCombo->insertItem( home_ ); browser->setFocus(); } @@ -275,18 +275,18 @@ void HelpWindow::sourceChanged( const isEmpty() && pathCombo ) { bool exists = FALSE; int i; - for ( i = 0; i < pathCombo->count(); ++i ) { - if ( pathCombo->text( i ) == url ) { + for ( i = 0; i < pathCombo->count(); ++i ) { + if ( pathCombo->text( i ) == url ) { exists = TRUE; break; } } if ( !exists ) { - pathCombo->insertItem( url, 0 ); - pathCombo->setCurrentItem( 0 ); + pathCombo->insertItem( url, 0 ); + pathCombo->setCurrentItem( 0 ); mHistory[ hist->insertItem( url ) ] = url; } else - pathCombo->setCurrentItem( i ); + pathCombo->setCurrentItem( i ); } } -- cgit v1.2.3