From 0cf411b09cf5d8970b873a338a69eae98d5ce5d8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 8 Jun 2024 12:56:43 +0900 Subject: Rename text nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/addressbook-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/addressbook-example.html') diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index 957cc0105..c61e3fb32 100644 --- a/doc/html/addressbook-example.html +++ b/doc/html/addressbook-example.html @@ -290,7 +290,7 @@ protected: #include <ntqlabel.h> #include <ntqcheckbox.h> #include <ntqfile.h> -#include <ntqtextstream.h> +#include <tqtextstream.h> ABCentralWidget::ABCentralWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) @@ -313,8 +313,8 @@ void ABCentralWidget::save( const TQS if ( !f.open( IO_WriteOnly ) ) return; - TQTextStream t( &f ); - t.setEncoding(TQTextStream::UnicodeUTF8); + TQTextStream t( &f ); + t.setEncoding(TQTextStream::UnicodeUTF8); TQListViewItemIterator it( listView ); @@ -333,13 +333,13 @@ void ABCentralWidget::load( const TQS if ( !f.open( IO_ReadOnly ) ) return; - TQTextStream t( &f ); - t.setEncoding(TQTextStream::UnicodeUTF8); + TQTextStream t( &f ); + t.setEncoding(TQTextStream::UnicodeUTF8); - while ( !t.atEnd() ) { + while ( !t.atEnd() ) { TQListViewItem *item = new TQListViewItem( listView ); for ( unsigned int i = 0; i < 4; i++ ) - item->setText( i, t.readLine() ); + item->setText( i, t.readLine() ); } f.close(); -- cgit v1.2.1