author | llornkcor <llornkcor> | 2002-04-30 12:13:14 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-30 12:13:14 (UTC) |
commit | 99ae08c3e872fb9dcbba8057ee98f9f1687d0af1 (patch) (side-by-side diff) | |
tree | 48546f25bfd565839687cde043e5ab1079098ae6 | |
parent | 713aa4385e859c9300ee2a5b0086fbaabf3b3a33 (diff) | |
download | opie-99ae08c3e872fb9dcbba8057ee98f9f1687d0af1.zip opie-99ae08c3e872fb9dcbba8057ee98f9f1687d0af1.tar.gz opie-99ae08c3e872fb9dcbba8057ee98f9f1687d0af1.tar.bz2 |
took out QCop busy() because its too slow to respond, fixed titlebar after disconnect still showing ftp server info
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 6684abb..6d0be57 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp @@ -391,5 +391,5 @@ void OpieFtp::connectorBtnToggled(bool On) void OpieFtp::connector() { - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); // qApp->processEvents(); currentRemoteDir=remotePath->text(); @@ -434,5 +434,5 @@ void OpieFtp::connector() writeConfig(); connectServerBtn->setText( tr("Disconnect")); - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); } @@ -446,4 +446,5 @@ void OpieFtp::disConnector() connectServerBtn->setText( tr("Connect")); connectServerBtn->setOn(FALSE); + setCaption("OpieFtp"); } @@ -491,5 +492,5 @@ void OpieFtp::localUpload() TabWidget->setCurrentPage(1); remoteDirList( (const QString &)currentRemoteDir); //this also calls populate - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); } @@ -506,5 +507,5 @@ void OpieFtp::remoteDownload() // qApp->processEvents(); int fsz; - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); QList<QListViewItem> * getSelectedItems( QListView * Remote_View ); @@ -549,5 +550,5 @@ void OpieFtp::remoteDownload() TabWidget->setCurrentPage(0); populateLocalView(); - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); } @@ -560,5 +561,5 @@ bool OpieFtp::remoteDirList(const QString &dir) tmp+="._temp"; // qDebug("Listing remote dir "+tmp); - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); if (!FtpDir( tmp.latin1(), dir.latin1(), conn) ) { QString msg; @@ -569,5 +570,5 @@ bool OpieFtp::remoteDirList(const QString &dir) } populateRemoteView() ; - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); return true; } @@ -575,5 +576,5 @@ bool OpieFtp::remoteDirList(const QString &dir) bool OpieFtp::remoteChDir(const QString &dir) { - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); if (!FtpChdir( dir.latin1(), conn )) { QString msg; @@ -582,8 +583,8 @@ bool OpieFtp::remoteChDir(const QString &dir) QMessageBox::message(tr("Note"),msg); // qDebug(msg); - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); return FALSE; } - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); return TRUE; } @@ -756,5 +757,5 @@ void OpieFtp::remoteListClicked(QListViewItem *selectedItem) } } else { - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); return; } @@ -958,5 +959,5 @@ void OpieFtp::remoteMakDir() QString filename = fileDlg->LineEdit1->text();//+".playlist"; QString tmp=currentRemoteDir+filename; - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); if(FtpMkdir( tmp.latin1(), conn) == 0) { QString msg; @@ -965,5 +966,5 @@ void OpieFtp::remoteMakDir() QMessageBox::message(tr("Note"),msg); } - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); remoteDirList( (const QString &)currentRemoteDir); //this also calls populate } @@ -978,5 +979,5 @@ void OpieFtp::remoteDelete() QString f = it.current()->text(0); // QString f = Remote_View->currentItem()->text(0); - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); if( f.right(1) =="/") { QString path= currentRemoteDir+f; @@ -1013,5 +1014,5 @@ void OpieFtp::remoteDelete() } } - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); } @@ -1026,5 +1027,5 @@ void OpieFtp::remoteRename() QString oldName = currentRemoteDir +"/"+ curFile; QString newName = currentRemoteDir +"/"+ fileDlg->LineEdit1->text();//+".playlist"; - QCopEnvelope ( "QPE/System", "busy()" ); +// QCopEnvelope ( "QPE/System", "busy()" ); if(FtpRename( oldName.latin1(), newName.latin1(),conn) == 0) { QString msg; @@ -1033,5 +1034,5 @@ void OpieFtp::remoteRename() QMessageBox::message(tr("Note"),msg); } - QCopEnvelope ( "QPE/System", "notBusy()" ); +// QCopEnvelope ( "QPE/System", "notBusy()" ); remoteDirList( (const QString &)currentRemoteDir); //this also calls populate } |