summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/netaccess_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/netaccess_imp.cpp')
-rw-r--r--kjsembed/bindings/netaccess_imp.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kjsembed/bindings/netaccess_imp.cpp b/kjsembed/bindings/netaccess_imp.cpp
index c7462e28..0ffbc12c 100644
--- a/kjsembed/bindings/netaccess_imp.cpp
+++ b/kjsembed/bindings/netaccess_imp.cpp
@@ -45,9 +45,9 @@ bool NetAccess::download( const KURL& src, const TQString& loc )
{
TQString mloc = loc;
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::download( src, mloc, 0 );
+ return TDEIO::NetAccess::download( src, mloc, 0 );
#else
- return KIO::NetAccess::download( src, mloc );
+ return TDEIO::NetAccess::download( src, mloc );
#endif
}
@@ -60,40 +60,40 @@ TQString NetAccess::createTempFile( const TQString& prefix, const TQString& ext,
void NetAccess::removeTempFile( const TQString& name )
{
- KIO::NetAccess::removeTempFile( name );
+ TDEIO::NetAccess::removeTempFile( name );
}
bool NetAccess::upload( const TQString& src, const KURL& dest )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::upload( src, dest, 0 );
+ return TDEIO::NetAccess::upload( src, dest, 0 );
#else
- return KIO::NetAccess::upload( src, dest );
+ return TDEIO::NetAccess::upload( src, dest );
#endif
}
bool NetAccess::copy( const KURL& src, const KURL& target )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::copy( src, target, 0 );
+ return TDEIO::NetAccess::copy( src, target, 0 );
#else
- return KIO::NetAccess::copy( src, target );
+ return TDEIO::NetAccess::copy( src, target );
#endif
}
bool NetAccess::dircopy( const KURL& src, const KURL& target )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::dircopy( src, target, 0 );
+ return TDEIO::NetAccess::dircopy( src, target, 0 );
#else
- return KIO::NetAccess::dircopy( src, target );
+ return TDEIO::NetAccess::dircopy( src, target );
#endif
}
bool NetAccess::move( const KURL& src, const KURL& target )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::move( src, target, 0 );
+ return TDEIO::NetAccess::move( src, target, 0 );
#else
kdWarning() << "NetAccess::move(src,target) is not supported on 3.1" << endl;
return false;
@@ -103,18 +103,18 @@ bool NetAccess::move( const KURL& src, const KURL& target )
bool NetAccess::exists( const KURL& url, bool source )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::exists( url, source, 0 );
+ return TDEIO::NetAccess::exists( url, source, 0 );
#else
- return KIO::NetAccess::exists( url, source );
+ return TDEIO::NetAccess::exists( url, source );
#endif
}
bool NetAccess::del( const KURL & url )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::del( url, 0 );
+ return TDEIO::NetAccess::del( url, 0 );
#else
- return KIO::NetAccess::del( url );
+ return TDEIO::NetAccess::del( url );
#endif
}
@@ -127,7 +127,7 @@ int NetAccess::propertiesDialog( const KURL &url )
TQString NetAccess::fish_execute( const KURL& url, const TQString& command )
{
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::fish_execute( url, command, 0 );
+ return TDEIO::NetAccess::fish_execute( url, command, 0 );
#else
kdWarning() << "NetAccess::fish_execute(url,command) is not supported on 3.1" << endl;
return TQString::null;
@@ -139,15 +139,15 @@ TQString NetAccess::mimetype( const KURL& url )
kdDebug()<<"mimetype CALLED "<<endl;
#if KDE_IS_VERSION(3,1,90)
- return KIO::NetAccess::mimetype( url, 0 );
+ return TDEIO::NetAccess::mimetype( url, 0 );
#else
- return KIO::NetAccess::mimetype( url );
+ return TDEIO::NetAccess::mimetype( url );
#endif
}
TQString NetAccess::lastErrorString()
{
- return KIO::NetAccess::lastErrorString();
+ return TDEIO::NetAccess::lastErrorString();
}
}