-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 | |||
@@ -392,3 +392,3 @@ void OpieFtp::connector() | |||
392 | { | 392 | { |
393 | QCopEnvelope ( "QPE/System", "busy()" ); | 393 | // QCopEnvelope ( "QPE/System", "busy()" ); |
394 | // qApp->processEvents(); | 394 | // qApp->processEvents(); |
@@ -435,3 +435,3 @@ void OpieFtp::connector() | |||
435 | connectServerBtn->setText( tr("Disconnect")); | 435 | connectServerBtn->setText( tr("Disconnect")); |
436 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 436 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
437 | } | 437 | } |
@@ -447,2 +447,3 @@ void OpieFtp::disConnector() | |||
447 | connectServerBtn->setOn(FALSE); | 447 | connectServerBtn->setOn(FALSE); |
448 | setCaption("OpieFtp"); | ||
448 | } | 449 | } |
@@ -492,3 +493,3 @@ void OpieFtp::localUpload() | |||
492 | remoteDirList( (const QString &)currentRemoteDir); //this also calls populate | 493 | remoteDirList( (const QString &)currentRemoteDir); //this also calls populate |
493 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 494 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
494 | } | 495 | } |
@@ -507,3 +508,3 @@ void OpieFtp::remoteDownload() | |||
507 | int fsz; | 508 | int fsz; |
508 | QCopEnvelope ( "QPE/System", "busy()" ); | 509 | // QCopEnvelope ( "QPE/System", "busy()" ); |
509 | 510 | ||
@@ -550,3 +551,3 @@ void OpieFtp::remoteDownload() | |||
550 | populateLocalView(); | 551 | populateLocalView(); |
551 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 552 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
552 | } | 553 | } |
@@ -561,3 +562,3 @@ bool OpieFtp::remoteDirList(const QString &dir) | |||
561 | // qDebug("Listing remote dir "+tmp); | 562 | // qDebug("Listing remote dir "+tmp); |
562 | QCopEnvelope ( "QPE/System", "busy()" ); | 563 | // QCopEnvelope ( "QPE/System", "busy()" ); |
563 | if (!FtpDir( tmp.latin1(), dir.latin1(), conn) ) { | 564 | if (!FtpDir( tmp.latin1(), dir.latin1(), conn) ) { |
@@ -570,3 +571,3 @@ bool OpieFtp::remoteDirList(const QString &dir) | |||
570 | populateRemoteView() ; | 571 | populateRemoteView() ; |
571 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 572 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
572 | return true; | 573 | return true; |
@@ -576,3 +577,3 @@ bool OpieFtp::remoteChDir(const QString &dir) | |||
576 | { | 577 | { |
577 | QCopEnvelope ( "QPE/System", "busy()" ); | 578 | // QCopEnvelope ( "QPE/System", "busy()" ); |
578 | if (!FtpChdir( dir.latin1(), conn )) { | 579 | if (!FtpChdir( dir.latin1(), conn )) { |
@@ -583,6 +584,6 @@ bool OpieFtp::remoteChDir(const QString &dir) | |||
583 | // qDebug(msg); | 584 | // qDebug(msg); |
584 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 585 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
585 | return FALSE; | 586 | return FALSE; |
586 | } | 587 | } |
587 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 588 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
588 | return TRUE; | 589 | return TRUE; |
@@ -757,3 +758,3 @@ void OpieFtp::remoteListClicked(QListViewItem *selectedItem) | |||
757 | } else { | 758 | } else { |
758 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 759 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
759 | return; | 760 | return; |
@@ -959,3 +960,3 @@ void OpieFtp::remoteMakDir() | |||
959 | QString tmp=currentRemoteDir+filename; | 960 | QString tmp=currentRemoteDir+filename; |
960 | QCopEnvelope ( "QPE/System", "busy()" ); | 961 | // QCopEnvelope ( "QPE/System", "busy()" ); |
961 | if(FtpMkdir( tmp.latin1(), conn) == 0) { | 962 | if(FtpMkdir( tmp.latin1(), conn) == 0) { |
@@ -966,3 +967,3 @@ void OpieFtp::remoteMakDir() | |||
966 | } | 967 | } |
967 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 968 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
968 | remoteDirList( (const QString &)currentRemoteDir); //this also calls populate | 969 | remoteDirList( (const QString &)currentRemoteDir); //this also calls populate |
@@ -979,3 +980,3 @@ void OpieFtp::remoteDelete() | |||
979 | // QString f = Remote_View->currentItem()->text(0); | 980 | // QString f = Remote_View->currentItem()->text(0); |
980 | QCopEnvelope ( "QPE/System", "busy()" ); | 981 | // QCopEnvelope ( "QPE/System", "busy()" ); |
981 | if( f.right(1) =="/") { | 982 | if( f.right(1) =="/") { |
@@ -1014,3 +1015,3 @@ void OpieFtp::remoteDelete() | |||
1014 | } | 1015 | } |
1015 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 1016 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
1016 | } | 1017 | } |
@@ -1027,3 +1028,3 @@ void OpieFtp::remoteRename() | |||
1027 | QString newName = currentRemoteDir +"/"+ fileDlg->LineEdit1->text();//+".playlist"; | 1028 | QString newName = currentRemoteDir +"/"+ fileDlg->LineEdit1->text();//+".playlist"; |
1028 | QCopEnvelope ( "QPE/System", "busy()" ); | 1029 | // QCopEnvelope ( "QPE/System", "busy()" ); |
1029 | if(FtpRename( oldName.latin1(), newName.latin1(),conn) == 0) { | 1030 | if(FtpRename( oldName.latin1(), newName.latin1(),conn) == 0) { |
@@ -1034,3 +1035,3 @@ void OpieFtp::remoteRename() | |||
1034 | } | 1035 | } |
1035 | QCopEnvelope ( "QPE/System", "notBusy()" ); | 1036 | // QCopEnvelope ( "QPE/System", "notBusy()" ); |
1036 | remoteDirList( (const QString &)currentRemoteDir); //this also calls populate | 1037 | remoteDirList( (const QString &)currentRemoteDir); //this also calls populate |