summaryrefslogtreecommitdiffstats
path: root/quanta/utility/quantanetaccess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/utility/quantanetaccess.cpp')
-rw-r--r--quanta/utility/quantanetaccess.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/utility/quantanetaccess.cpp b/quanta/utility/quantanetaccess.cpp
index 375f6f6d..6fa248eb 100644
--- a/quanta/utility/quantanetaccess.cpp
+++ b/quanta/utility/quantanetaccess.cpp
@@ -30,7 +30,7 @@
bool QuantaNetAccess::upload(const TQString& src, const KURL& target, TQWidget* window, bool confirm)
{
- bool ok = KIO::NetAccess::upload(src, target, window);
+ bool ok = TDEIO::NetAccess::upload(src, target, window);
if (ok) {
checkProjectInsert(target, window, confirm);
} else {
@@ -44,7 +44,7 @@ bool QuantaNetAccess::upload(const TQString& src, const KURL& target, TQWidget*
bool QuantaNetAccess::file_copy( const KURL& src, const KURL& target, int permissions,
bool overwrite, bool resume, TQWidget* window, bool confirm)
{
- bool ok = KIO::NetAccess::file_copy( src, target, permissions, overwrite, resume, window );
+ bool ok = TDEIO::NetAccess::file_copy( src, target, permissions, overwrite, resume, window );
if (ok) {
checkProjectInsert(target, window, confirm);
} else {
@@ -68,7 +68,7 @@ bool QuantaNetAccess::file_move( const KURL& src, const KURL& target, int permis
if ( !checkProjectRemove(src, window, confirm)) {
return false;
}
- bool ok = KIO::NetAccess::file_move( src, target, permissions, overwrite, resume, window );
+ bool ok = TDEIO::NetAccess::file_move( src, target, permissions, overwrite, resume, window );
if (ok) {
checkProjectInsert(target, window, confirm);
} else {
@@ -81,7 +81,7 @@ bool QuantaNetAccess::file_move( const KURL& src, const KURL& target, int permis
bool QuantaNetAccess::dircopy( const KURL::List & srcList, const KURL & target, TQWidget* window, bool confirm )
{
- bool ok = KIO::NetAccess::dircopy( srcList, target, window );
+ bool ok = TDEIO::NetAccess::dircopy( srcList, target, window );
if (ok) {
KURL url;
for ( KURL::List::ConstIterator it = srcList.begin(); it != srcList.end(); ++it ) {
@@ -124,7 +124,7 @@ bool QuantaNetAccess::move( const KURL::List& srcList, const KURL& target, TQWid
if ( Project::ref()->projectBaseURL().isParentOf(*it) )
Project::ref()->slotRemove(*it);
}
- bool ok = KIO::NetAccess::move( srcList, targetURL, window );
+ bool ok = TDEIO::NetAccess::move( srcList, targetURL, window );
if (ok) {
KURL url;
for ( KURL::List::ConstIterator it = srcList.begin(); it != srcList.end(); ++it ) {
@@ -147,7 +147,7 @@ bool QuantaNetAccess::del( const KURL & url, TQWidget* window, bool confirm )
if ( !checkProjectDel(url, window, confirm)) {
return false;
}
- bool ok = KIO::NetAccess::del( url, window );
+ bool ok = TDEIO::NetAccess::del( url, window );
if (!ok && confirm)
{
errorMsg(window);
@@ -160,7 +160,7 @@ bool QuantaNetAccess::mkdir( const KURL & url, TQWidget* window, int permissions
{
KURL u = url;
u.adjustPath(-1); //some servers refuse to create directories ending with a slash
- bool ok = KIO::NetAccess::mkdir( u, window, permissions );
+ bool ok = TDEIO::NetAccess::mkdir( u, window, permissions );
if (ok) {
checkProjectInsert(url, window, confirm);
} else {
@@ -262,7 +262,7 @@ KURL QuantaNetAccess::adjustURL(const KURL &url)
void QuantaNetAccess::errorMsg(TQWidget* window)
{
- TQString msg = KIO::NetAccess::lastErrorString();
+ TQString msg = TDEIO::NetAccess::lastErrorString();
if ( !msg.isEmpty())
KMessageBox::sorry(window, msg);
}