summaryrefslogtreecommitdiffstats
path: root/doc/html/ftpclient-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ftpclient-example.html')
-rw-r--r--doc/html/ftpclient-example.html28
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 &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="tqfiledialog-h.html">tqfiledialog.h</a>&gt;
-#include &lt;<a href="qprogressdialog-h.html">ntqprogressdialog.h</a>&gt;
+#include &lt;<a href="tqprogressdialog-h.html">tqprogressdialog.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#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> &amp;progress, TQ_SLOT(<a href="ntqprogressdialog.html#setProgress">setProgress</a>(int,int)) );
+<a name="x770"></a> &amp;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> &amp;progress, TQ_SLOT(<a href="ntqprogressdialog.html#reset">reset</a>()) );
-<a name="x768"></a> connect( &amp;progress, TQ_SIGNAL(<a href="ntqprogressdialog.html#cancelled">cancelled</a>()),
+<a name="x769"></a> &amp;progress, TQ_SLOT(<a href="tqprogressdialog.html#reset">reset</a>()) );
+<a name="x768"></a> connect( &amp;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-&gt;<a href="qlistviewitem.html#text">text</a>(0),
+<a name="x766"></a> item-&gt;<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)),
- &amp;progress, TQ_SLOT(<a href="ntqprogressdialog.html#setProgress">setProgress</a>(int,int)) );
+ &amp;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)),
- &amp;progress, TQ_SLOT(<a href="ntqprogressdialog.html#reset">reset</a>()) );
- connect( &amp;progress, TQ_SIGNAL(<a href="ntqprogressdialog.html#cancelled">cancelled</a>()),
+ &amp;progress, TQ_SLOT(<a href="tqprogressdialog.html#reset">reset</a>()) );
+ connect( &amp;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-&gt;<a href="tqftp.html#get">get</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>(0), file );
+<a name="x755"></a> ftp-&gt;<a href="tqftp.html#get">get</a>( item-&gt;<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-&gt;isDir() )
return;
-<a name="x762"></a> ftp-&gt;<a href="tqftp.html#remove">remove</a>( item-&gt;<a href="qlistviewitem.html#text">text</a>(0) );
+<a name="x762"></a> ftp-&gt;<a href="tqftp.html#remove">remove</a>( item-&gt;<a href="tqlistviewitem.html#text">text</a>(0) );
ftp-&gt;<a href="tqftp.html#list">list</a>();
}
@@ -218,10 +218,10 @@ void FtpMainWindow::changePath( const <a href="tqstring.html">TQString</a> &amp;
// 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)-&gt;isDir() )
- changePath( item-&gt;<a href="qlistviewitem.html#text">text</a>(0) );
+ changePath( item-&gt;<a href="tqlistviewitem.html#text">text</a>(0) );
else
downloadFile();
}