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.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/ftpclient-example.html b/doc/html/ftpclient-example.html
index 13ad9fae4..21fee013b 100644
--- a/doc/html/ftpclient-example.html
+++ b/doc/html/ftpclient-example.html
@@ -86,8 +86,8 @@ void FtpMainWindow::init()
TQ_SLOT(ftp_stateChanged(int)) );
<a name="x757"></a> connect( ftp, TQ_SIGNAL(<a href="ntqftp.html#listInfo">listInfo</a>(const <a href="ntqurlinfo.html">TQUrlInfo</a> &amp;)),
TQ_SLOT(ftp_listInfo(const <a href="ntqurlinfo.html">TQUrlInfo</a> &amp;)) );
-<a name="x761"></a> connect( ftp, TQ_SIGNAL(<a href="ntqftp.html#rawCommandReply">rawCommandReply</a>(int, const <a href="ntqstring.html">TQString</a> &amp;)),
- TQ_SLOT(ftp_rawCommandReply(int, const <a href="ntqstring.html">TQString</a> &amp;)) );
+<a name="x761"></a> connect( ftp, TQ_SIGNAL(<a href="ntqftp.html#rawCommandReply">rawCommandReply</a>(int, const <a href="tqstring.html">TQString</a> &amp;)),
+ TQ_SLOT(ftp_rawCommandReply(int, const <a href="tqstring.html">TQString</a> &amp;)) );
}
void FtpMainWindow::destroy()
@@ -98,13 +98,13 @@ void FtpMainWindow::destroy()
void FtpMainWindow::uploadFile()
{
-<a name="x741"></a> <a href="ntqstring.html">TQString</a> fileName = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>(
- <a href="ntqstring.html#TQString-null">TQString::null</a>,
+<a name="x741"></a> <a href="tqstring.html">TQString</a> fileName = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>(
+ <a href="tqstring.html#TQString-null">TQString::null</a>,
TQString::null,
this,
"upload file dialog",
tr("Choose a file to upload") );
-<a name="x771"></a> if ( fileName.<a href="ntqstring.html#isNull">isNull</a>() )
+<a name="x771"></a> if ( fileName.<a href="tqstring.html#isNull">isNull</a>() )
return;
<a href="ntqfile.html">TQFile</a> *file = new <a href="ntqfile.html">TQFile</a>( fileName );
@@ -142,13 +142,13 @@ void FtpMainWindow::downloadFile()
if ( !item || item-&gt;isDir() )
return;
-<a name="x742"></a> <a href="ntqstring.html">TQString</a> fileName = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>(
+<a name="x742"></a> <a href="tqstring.html">TQString</a> fileName = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>(
<a name="x766"></a> item-&gt;<a href="qlistviewitem.html#text">text</a>(0),
TQString::null,
this,
"download file dialog",
tr("Save downloaded file as") );
- if ( fileName.<a href="ntqstring.html#isNull">isNull</a>() )
+ if ( fileName.<a href="tqstring.html#isNull">isNull</a>() )
return;
// create file on the heap because it has to be valid throughout the whole
@@ -209,7 +209,7 @@ void FtpMainWindow::connectToHost()
// This slot is connected to the TQComboBox::activated() signal of the
// remotePath.
-void FtpMainWindow::changePath( const <a href="ntqstring.html">TQString</a> &amp;newPath )
+void FtpMainWindow::changePath( const <a href="tqstring.html">TQString</a> &amp;newPath )
{
<a name="x745"></a> ftp-&gt;<a href="ntqftp.html#cd">cd</a>( newPath );
ftp-&gt;<a href="ntqftp.html#rawCommand">rawCommand</a>( "PWD" );
@@ -297,10 +297,10 @@ void FtpMainWindow::ftp_listInfo( const <a href="ntqurlinfo.html">TQUrlInfo</a>
<a name="x776"></a><a name="x775"></a><a name="x774"></a> i.<a href="ntqurlinfo.html#name">name</a>(), TQString::number(i.<a href="ntqurlinfo.html#size">size</a>()), i.<a href="ntqurlinfo.html#lastModified">lastModified</a>().toString() );
}
-void FtpMainWindow::ftp_rawCommandReply( int code, const <a href="ntqstring.html">TQString</a> &amp;text )
+void FtpMainWindow::ftp_rawCommandReply( int code, const <a href="tqstring.html">TQString</a> &amp;text )
{
if ( code == 257 ) {
-<a name="x772"></a> currentFtpDir = text.<a href="ntqstring.html#section">section</a>( '"', 1, 1 );
+<a name="x772"></a> currentFtpDir = text.<a href="tqstring.html#section">section</a>( '"', 1, 1 );
for ( int i = 0; i&lt;remotePath-&gt;count(); i++ ) {
// make sure that we don't insert duplicates