From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/helpviewer-example.html | 52 ++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'doc/html/helpviewer-example.html') 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 <ntqcombobox.h> #include <ntqevent.h> #include <ntqlineedit.h> -#include <ntqobjectlist.h> +#include <tqobjectlist.h> #include <ntqfileinfo.h> #include <ntqfile.h> #include <ntqdatastream.h> @@ -155,7 +155,7 @@ private: browser->mimeSourceFactory()->setFilePath( _path ); browser->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - connect( browser, TQ_SIGNAL( sourceChanged(const TQString& ) ), + connect( browser, TQ_SIGNAL( sourceChanged(const TQString& ) ), this, TQ_SLOT( sourceChanged( const TQString&) ) ); setCentralWidget( browser ); @@ -163,18 +163,18 @@ private: if ( !home_.isEmpty() ) browser->setSource( home_ ); - connect( browser, TQ_SIGNAL( highlighted( const TQString&) ), + connect( browser, TQ_SIGNAL( highlighted( const TQString&) ), statusBar(), TQ_SLOT( message( const TQString&)) ); resize( 640,700 ); TQPopupMenu* file = new TQPopupMenu( this ); - file->insertItem( tr("&New Window"), this, TQ_SLOT( newWindow() ), CTRL+Key_N ); - file->insertItem( tr("&Open File"), this, TQ_SLOT( openFile() ), CTRL+Key_O ); - file->insertItem( tr("&Print"), this, TQ_SLOT( print() ), CTRL+Key_P ); + file->insertItem( tr("&New Window"), this, TQ_SLOT( newWindow() ), CTRL+Key_N ); + file->insertItem( tr("&Open File"), this, TQ_SLOT( openFile() ), CTRL+Key_O ); + file->insertItem( tr("&Print"), this, TQ_SLOT( print() ), CTRL+Key_P ); file->insertSeparator(); - file->insertItem( tr("&Close"), this, TQ_SLOT( close() ), CTRL+Key_Q ); - file->insertItem( tr("E&xit"), tqApp, TQ_SLOT( closeAllWindows() ), CTRL+Key_X ); + file->insertItem( tr("&Close"), this, TQ_SLOT( close() ), CTRL+Key_Q ); + file->insertItem( tr("E&xit"), tqApp, TQ_SLOT( closeAllWindows() ), CTRL+Key_X ); // The same three icons are used twice each. TQIconSet icon_back( TQPixmap("back.xpm") ); @@ -183,46 +183,46 @@ private: TQPopupMenu* go = new TQPopupMenu( this ); backwardId = go->insertItem( icon_back, - tr("&Backward"), browser, TQ_SLOT( backward() ), + tr("&Backward"), browser, TQ_SLOT( backward() ), CTRL+Key_Left ); forwardId = go->insertItem( icon_forward, - tr("&Forward"), browser, TQ_SLOT( forward() ), + tr("&Forward"), browser, TQ_SLOT( forward() ), CTRL+Key_Right ); go->insertItem( icon_home, tr("&Home"), browser, TQ_SLOT( home() ) ); TQPopupMenu* help = new TQPopupMenu( this ); - help->insertItem( tr("&About"), this, TQ_SLOT( about() ) ); - help->insertItem( tr("About &TQt"), this, TQ_SLOT( aboutTQt() ) ); + help->insertItem( tr("&About"), this, TQ_SLOT( about() ) ); + help->insertItem( tr("About &TQt"), this, TQ_SLOT( aboutTQt() ) ); hist = new TQPopupMenu( this ); TQStringList::Iterator it = history.begin(); for ( ; it != history.end(); ++it ) mHistory[ hist->insertItem( *it ) ] = *it; - connect( hist, TQ_SIGNAL( activated( int ) ), + connect( hist, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( histChosen( int ) ) ); bookm = new TQPopupMenu( this ); - bookm->insertItem( tr( "Add Bookmark" ), this, TQ_SLOT( addBookmark() ) ); + bookm->insertItem( tr( "Add Bookmark" ), this, TQ_SLOT( addBookmark() ) ); bookm->insertSeparator(); TQStringList::Iterator it2 = bookmarks.begin(); for ( ; it2 != bookmarks.end(); ++it2 ) mBookmarks[ bookm->insertItem( *it2 ) ] = *it2; - connect( bookm, TQ_SIGNAL( activated( int ) ), + connect( bookm, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( bookmChosen( int ) ) ); - menuBar()->insertItem( tr("&File"), file ); - menuBar()->insertItem( tr("&Go"), go ); - menuBar()->insertItem( tr( "History" ), hist ); - menuBar()->insertItem( tr( "Bookmarks" ), bookm ); + menuBar()->insertItem( tr("&File"), file ); + menuBar()->insertItem( tr("&Go"), go ); + menuBar()->insertItem( tr( "History" ), hist ); + menuBar()->insertItem( tr( "Bookmarks" ), bookm ); menuBar()->insertSeparator(); - menuBar()->insertItem( tr("&Help"), help ); + menuBar()->insertItem( tr("&Help"), help ); menuBar()->setItemEnabled( forwardId, FALSE); menuBar()->setItemEnabled( backwardId, FALSE); - connect( browser, TQ_SIGNAL( backwardAvailable( bool ) ), + connect( browser, TQ_SIGNAL( backwardAvailable( bool ) ), this, TQ_SLOT( setBackwardAvailable( bool ) ) ); - connect( browser, TQ_SIGNAL( forwardAvailable( bool ) ), + connect( browser, TQ_SIGNAL( forwardAvailable( bool ) ), this, TQ_SLOT( setForwardAvailable( bool ) ) ); @@ -231,17 +231,17 @@ private: TQToolButton* button; button = new TQToolButton( icon_back, tr("Backward"), "", browser, TQ_SLOT(backward()), toolbar ); - connect( browser, TQ_SIGNAL( backwardAvailable(bool) ), button, TQ_SLOT( setEnabled(bool) ) ); + connect( browser, TQ_SIGNAL( backwardAvailable(bool) ), button, TQ_SLOT( setEnabled(bool) ) ); button->setEnabled( FALSE ); button = new TQToolButton( icon_forward, tr("Forward"), "", browser, TQ_SLOT(forward()), toolbar ); - connect( browser, TQ_SIGNAL( forwardAvailable(bool) ), button, TQ_SLOT( setEnabled(bool) ) ); + connect( browser, TQ_SIGNAL( forwardAvailable(bool) ), button, TQ_SLOT( setEnabled(bool) ) ); button->setEnabled( FALSE ); button = new TQToolButton( icon_home, tr("Home"), "", browser, TQ_SLOT(home()), toolbar ); toolbar->addSeparator(); pathCombo = new TQComboBox( TRUE, toolbar ); - connect( pathCombo, TQ_SIGNAL( activated( const TQString & ) ), + connect( pathCombo, TQ_SIGNAL( activated( const TQString & ) ), this, TQ_SLOT( pathSelected( const TQString & ) ) ); toolbar->setStretchableWidget( pathCombo ); setRightJustification( TRUE ); @@ -462,7 +462,7 @@ int main( int argc, char ** argv ) else help->showMaximized(); - TQObject::connect( &a, TQ_SIGNAL(lastWindowClosed()), + TQObject::connect( &a, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) ); return a.exec(); -- cgit v1.2.3