diff options
Diffstat (limited to 'doc/html/ftpclient-example.html')
-rw-r--r-- | doc/html/ftpclient-example.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/ftpclient-example.html b/doc/html/ftpclient-example.html index 4ae1c881a..fed20eb58 100644 --- a/doc/html/ftpclient-example.html +++ b/doc/html/ftpclient-example.html @@ -62,7 +62,7 @@ commands. The GUI parts are done in the Designer. #include <<a href="tqlineedit-h.html">tqlineedit.h</a>> #include <<a href="tqspinbox-h.html">tqspinbox.h</a>> #include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> -#include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> +#include <<a href="tqmessagebox-h.html">tqmessagebox.h</a>> #include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> #include <<a href="tqprogressdialog-h.html">tqprogressdialog.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> @@ -109,7 +109,7 @@ void FtpMainWindow::uploadFile() <a href="tqfile.html">TQFile</a> *file = new <a href="tqfile.html">TQFile</a>( fileName ); if ( !file-><a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) ) { -<a name="x767"></a> TQMessageBox::<a href="ntqmessagebox.html#critical">critical</a>( this, tr("Upload error"), +<a name="x767"></a> TQMessageBox::<a href="tqmessagebox.html#critical">critical</a>( this, tr("Upload error"), tr("Can't open file '%1' for reading.").arg(fileName) ); delete file; return; @@ -155,7 +155,7 @@ void FtpMainWindow::downloadFile() // asynchronous download operation <a href="tqfile.html">TQFile</a> *file = new <a href="tqfile.html">TQFile</a>( fileName ); if ( !file-><a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ) ) { - TQMessageBox::<a href="ntqmessagebox.html#critical">critical</a>( this, tr("Download error"), + TQMessageBox::<a href="tqmessagebox.html#critical">critical</a>( this, tr("Download error"), tr("Can't open file '%1' for writing.").arg(fileName) ); delete file; return; @@ -251,7 +251,7 @@ void FtpMainWindow::ftp_commandFinished() void FtpMainWindow::ftp_done( bool error ) { if ( error ) { -<a name="x754"></a> TQMessageBox::<a href="ntqmessagebox.html#critical">critical</a>( this, tr("FTP Error"), ftp-><a href="tqftp.html#errorString">errorString</a>() ); +<a name="x754"></a> TQMessageBox::<a href="tqmessagebox.html#critical">critical</a>( this, tr("FTP Error"), ftp-><a href="tqftp.html#errorString">errorString</a>() ); // If we are connected, but not logged in, it is not meaningful to stay // connected to the server since the error is a really fatal one (login |