diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/ftpclient-example.html | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ftpclient-example.html')
-rw-r--r-- | doc/html/ftpclient-example.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/ftpclient-example.html b/doc/html/ftpclient-example.html index f760da2d4..4ae1c881a 100644 --- a/doc/html/ftpclient-example.html +++ b/doc/html/ftpclient-example.html @@ -64,7 +64,7 @@ commands. The GUI parts are done in the Designer. #include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> -#include <<a href="qprogressdialog-h.html">ntqprogressdialog.h</a>> +#include <<a href="tqprogressdialog-h.html">tqprogressdialog.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include "connectdialog.h" @@ -115,7 +115,7 @@ void FtpMainWindow::uploadFile() return; } - <a href="ntqprogressdialog.html">TQProgressDialog</a> progress( + <a href="tqprogressdialog.html">TQProgressDialog</a> progress( tr("Uploading file..."), tr("Cancel"), 0, @@ -123,10 +123,10 @@ void FtpMainWindow::uploadFile() "upload progress dialog", TRUE ); <a name="x752"></a> connect( ftp, TQ_SIGNAL(<a href="tqftp.html#dataTransferProgress">dataTransferProgress</a>(int,int)), -<a name="x770"></a> &progress, TQ_SLOT(<a href="ntqprogressdialog.html#setProgress">setProgress</a>(int,int)) ); +<a name="x770"></a> &progress, TQ_SLOT(<a href="tqprogressdialog.html#setProgress">setProgress</a>(int,int)) ); connect( ftp, TQ_SIGNAL(<a href="tqftp.html#commandFinished">commandFinished</a>(int,bool)), -<a name="x769"></a> &progress, TQ_SLOT(<a href="ntqprogressdialog.html#reset">reset</a>()) ); -<a name="x768"></a> connect( &progress, TQ_SIGNAL(<a href="ntqprogressdialog.html#cancelled">cancelled</a>()), +<a name="x769"></a> &progress, TQ_SLOT(<a href="tqprogressdialog.html#reset">reset</a>()) ); +<a name="x768"></a> connect( &progress, TQ_SIGNAL(<a href="tqprogressdialog.html#cancelled">cancelled</a>()), <a name="x744"></a> ftp, TQ_SLOT(<a href="tqftp.html#abort">abort</a>()) ); <a href="tqfileinfo.html">TQFileInfo</a> fi( fileName ); @@ -143,7 +143,7 @@ void FtpMainWindow::downloadFile() return; <a name="x742"></a> <a href="tqstring.html">TQString</a> fileName = TQFileDialog::<a href="tqfiledialog.html#getSaveFileName">getSaveFileName</a>( -<a name="x766"></a> item-><a href="qlistviewitem.html#text">text</a>(0), +<a name="x766"></a> item-><a href="tqlistviewitem.html#text">text</a>(0), TQString::null, this, "download file dialog", @@ -161,7 +161,7 @@ void FtpMainWindow::downloadFile() return; } - <a href="ntqprogressdialog.html">TQProgressDialog</a> progress( + <a href="tqprogressdialog.html">TQProgressDialog</a> progress( tr("Downloading file..."), tr("Cancel"), 0, @@ -169,13 +169,13 @@ void FtpMainWindow::downloadFile() "download progress dialog", TRUE ); connect( ftp, TQ_SIGNAL(<a href="tqftp.html#dataTransferProgress">dataTransferProgress</a>(int,int)), - &progress, TQ_SLOT(<a href="ntqprogressdialog.html#setProgress">setProgress</a>(int,int)) ); + &progress, TQ_SLOT(<a href="tqprogressdialog.html#setProgress">setProgress</a>(int,int)) ); connect( ftp, TQ_SIGNAL(<a href="tqftp.html#commandFinished">commandFinished</a>(int,bool)), - &progress, TQ_SLOT(<a href="ntqprogressdialog.html#reset">reset</a>()) ); - connect( &progress, TQ_SIGNAL(<a href="ntqprogressdialog.html#cancelled">cancelled</a>()), + &progress, TQ_SLOT(<a href="tqprogressdialog.html#reset">reset</a>()) ); + connect( &progress, TQ_SIGNAL(<a href="tqprogressdialog.html#cancelled">cancelled</a>()), ftp, TQ_SLOT(<a href="tqftp.html#abort">abort</a>()) ); -<a name="x755"></a> ftp-><a href="tqftp.html#get">get</a>( item-><a href="qlistviewitem.html#text">text</a>(0), file ); +<a name="x755"></a> ftp-><a href="tqftp.html#get">get</a>( item-><a href="tqlistviewitem.html#text">text</a>(0), file ); progress.<a href="tqdialog.html#exec">exec</a>(); // ### takes a lot of time!!! } @@ -185,7 +185,7 @@ void FtpMainWindow::removeFile() if ( !item || item->isDir() ) return; -<a name="x762"></a> ftp-><a href="tqftp.html#remove">remove</a>( item-><a href="qlistviewitem.html#text">text</a>(0) ); +<a name="x762"></a> ftp-><a href="tqftp.html#remove">remove</a>( item-><a href="tqlistviewitem.html#text">text</a>(0) ); ftp-><a href="tqftp.html#list">list</a>(); } @@ -218,10 +218,10 @@ void FtpMainWindow::changePath( const <a href="tqstring.html">TQString</a> & // This slot is connected to the TQListView::doubleClicked() and // TQListView::returnPressed() signals of the remoteView. -void FtpMainWindow::changePathOrDownload( <a href="qlistviewitem.html">TQListViewItem</a> *item ) +void FtpMainWindow::changePathOrDownload( <a href="tqlistviewitem.html">TQListViewItem</a> *item ) { if ( ((FtpViewItem*)item)->isDir() ) - changePath( item-><a href="qlistviewitem.html#text">text</a>(0) ); + changePath( item-><a href="tqlistviewitem.html#text">text</a>(0) ); else downloadFile(); } |