|
|
@ -55,7 +55,7 @@
|
|
|
|
#include "kpackage.h"
|
|
|
|
#include "kpackage.h"
|
|
|
|
#include "managementWidget.h"
|
|
|
|
#include "managementWidget.h"
|
|
|
|
#include "pkgOptions.h"
|
|
|
|
#include "pkgOptions.h"
|
|
|
|
#include "kio.h"
|
|
|
|
#include "tdeio.h"
|
|
|
|
#include "findf.h"
|
|
|
|
#include "findf.h"
|
|
|
|
#include "search.h"
|
|
|
|
#include "search.h"
|
|
|
|
#include "options.h"
|
|
|
|
#include "options.h"
|
|
|
@ -643,12 +643,12 @@ TQString KPACKAGE::fetchNetFile( const KURL & url )
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
save_url = url;
|
|
|
|
save_url = url;
|
|
|
|
|
|
|
|
|
|
|
|
setStatus(i18n("Starting KIO"));
|
|
|
|
setStatus(i18n("Starting TDEIO"));
|
|
|
|
|
|
|
|
|
|
|
|
Kio kio;
|
|
|
|
Kio kio;
|
|
|
|
|
|
|
|
|
|
|
|
if (kio.download(url, cf)) {
|
|
|
|
if (kio.download(url, cf)) {
|
|
|
|
setStatus(i18n("KIO finished"));
|
|
|
|
setStatus(i18n("TDEIO finished"));
|
|
|
|
TQFileInfo fi(cf);
|
|
|
|
TQFileInfo fi(cf);
|
|
|
|
if (!(fi.exists() && fi.size() > 0)) {
|
|
|
|
if (!(fi.exists() && fi.size() > 0)) {
|
|
|
|
unlink(TQFile::encodeName(cf));
|
|
|
|
unlink(TQFile::encodeName(cf));
|
|
|
@ -660,7 +660,7 @@ TQString KPACKAGE::fetchNetFile( const KURL & url )
|
|
|
|
return cf;
|
|
|
|
return cf;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
setStatus(i18n("KIO failed"));
|
|
|
|
setStatus(i18n("TDEIO failed"));
|
|
|
|
return "";
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|