From 42957a3f812a1db64a9ae452baa2d3fbc35f2466 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Aug 2024 22:02:11 +0900 Subject: Rename more widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/fileiconview-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/fileiconview-example.html') diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html index 18d392f0c..8ec2b7428 100644 --- a/doc/html/fileiconview-example.html +++ b/doc/html/fileiconview-example.html @@ -1095,7 +1095,7 @@ protected: TQtFileIconView *fileview; DirectoryView *dirlist; - TQProgressBar *progress; + TQProgressBar *progress; TQLabel *label; TQComboBox *pathCombo; TQToolButton *upButton, *mkdirButton; @@ -1135,7 +1135,7 @@ protected slots: #include "../dirview/dirview.h" #include <ntqsplitter.h> -#include <ntqprogressbar.h> +#include <tqprogressbar.h> #include <tqlabel.h> #include <tqstatusbar.h> #include <tqtoolbar.h> @@ -1201,10 +1201,10 @@ void FileMainWindow::setup() TQSplitter *splitter = new TQSplitter( this ); dirlist = new DirectoryView( splitter, "dirlist", TRUE ); - dirlist->addColumn( "Name" ); - dirlist->addColumn( "Type" ); + dirlist->addColumn( "Name" ); + dirlist->addColumn( "Type" ); Directory *root = new Directory( dirlist, "/" ); - root->setOpen( TRUE ); + root->setOpen( TRUE ); splitter->setResizeMode( dirlist, TQSplitter::KeepSize ); fileview = new TQtFileIconView( "/", splitter ); @@ -1251,7 +1251,7 @@ void FileMainWindow::setup() label = new TQLabel( statusBar() ); statusBar()->addWidget( label, 2, TRUE ); - progress = new TQProgressBar( statusBar() ); + progress = new TQProgressBar( statusBar() ); statusBar()->addWidget( progress, 1, TRUE ); connect( fileview, TQ_SIGNAL( enableUp() ), @@ -1294,20 +1294,20 @@ void FileMainWindow::directoryChanged( const FileMainWindow::slotStartReadDir( int dirs ) { label->setText( tr( " Reading Directory..." ) ); - progress->reset(); - progress->setTotalSteps( dirs ); + progress->reset(); + progress->setTotalSteps( dirs ); } void FileMainWindow::slotReadNextDir() { - int p = progress->progress(); - progress->setProgress( ++p ); + int p = progress->progress(); + progress->setProgress( ++p ); } void FileMainWindow::slotReadDirDone() { label->setText( tr( " Reading Directory Done." ) ); - progress->setProgress( progress->totalSteps() ); + progress->setProgress( progress->totalSteps() ); } void FileMainWindow::cdUp() -- cgit v1.2.1