diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/network/ftpclient | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/network/ftpclient')
-rw-r--r-- | examples/network/ftpclient/ftpmainwindow.ui.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/examples/network/ftpclient/ftpmainwindow.ui.h b/examples/network/ftpclient/ftpmainwindow.ui.h index 8f3cde07c..ded8b2600 100644 --- a/examples/network/ftpclient/ftpmainwindow.ui.h +++ b/examples/network/ftpclient/ftpmainwindow.ui.h @@ -36,18 +36,18 @@ void FtpMainWindow::init() statusBar()->addWidget( stateFtp, 0, TRUE ); ftp = new TQFtp( this ); - connect( ftp, SIGNAL(commandStarted(int)), - SLOT(ftp_commandStarted()) ); - connect( ftp, SIGNAL(commandFinished(int,bool)), - SLOT(ftp_commandFinished()) ); - connect( ftp, SIGNAL(done(bool)), - SLOT(ftp_done(bool)) ); - connect( ftp, SIGNAL(stateChanged(int)), - SLOT(ftp_stateChanged(int)) ); - connect( ftp, SIGNAL(listInfo(const TQUrlInfo &)), - SLOT(ftp_listInfo(const TQUrlInfo &)) ); - connect( ftp, SIGNAL(rawCommandReply(int, const TQString &)), - SLOT(ftp_rawCommandReply(int, const TQString &)) ); + connect( ftp, TQ_SIGNAL(commandStarted(int)), + TQ_SLOT(ftp_commandStarted()) ); + connect( ftp, TQ_SIGNAL(commandFinished(int,bool)), + TQ_SLOT(ftp_commandFinished()) ); + connect( ftp, TQ_SIGNAL(done(bool)), + TQ_SLOT(ftp_done(bool)) ); + connect( ftp, TQ_SIGNAL(stateChanged(int)), + TQ_SLOT(ftp_stateChanged(int)) ); + connect( ftp, TQ_SIGNAL(listInfo(const TQUrlInfo &)), + TQ_SLOT(ftp_listInfo(const TQUrlInfo &)) ); + connect( ftp, TQ_SIGNAL(rawCommandReply(int, const TQString &)), + TQ_SLOT(ftp_rawCommandReply(int, const TQString &)) ); } void FtpMainWindow::destroy() @@ -82,12 +82,12 @@ void FtpMainWindow::uploadFile() this, "upload progress dialog", TRUE ); - connect( ftp, SIGNAL(dataTransferProgress(int,int)), - &progress, SLOT(setProgress(int,int)) ); - connect( ftp, SIGNAL(commandFinished(int,bool)), - &progress, SLOT(reset()) ); - connect( &progress, SIGNAL(cancelled()), - ftp, SLOT(abort()) ); + connect( ftp, TQ_SIGNAL(dataTransferProgress(int,int)), + &progress, TQ_SLOT(setProgress(int,int)) ); + connect( ftp, TQ_SIGNAL(commandFinished(int,bool)), + &progress, TQ_SLOT(reset()) ); + connect( &progress, TQ_SIGNAL(cancelled()), + ftp, TQ_SLOT(abort()) ); TQFileInfo fi( fileName ); ftp->put( file, fi.fileName() ); @@ -128,12 +128,12 @@ void FtpMainWindow::downloadFile() this, "download progress dialog", TRUE ); - connect( ftp, SIGNAL(dataTransferProgress(int,int)), - &progress, SLOT(setProgress(int,int)) ); - connect( ftp, SIGNAL(commandFinished(int,bool)), - &progress, SLOT(reset()) ); - connect( &progress, SIGNAL(cancelled()), - ftp, SLOT(abort()) ); + connect( ftp, TQ_SIGNAL(dataTransferProgress(int,int)), + &progress, TQ_SLOT(setProgress(int,int)) ); + connect( ftp, TQ_SIGNAL(commandFinished(int,bool)), + &progress, TQ_SLOT(reset()) ); + connect( &progress, TQ_SIGNAL(cancelled()), + ftp, TQ_SLOT(abort()) ); ftp->get( item->text(0), file ); progress.exec(); // ### takes a lot of time!!! |