summaryrefslogtreecommitdiffstats
path: root/knights/knights.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/knights.cpp')
-rw-r--r--knights/knights.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knights/knights.cpp b/knights/knights.cpp
index 5cef31c..fb59d80 100644
--- a/knights/knights.cpp
+++ b/knights/knights.cpp
@@ -985,22 +985,22 @@ void Knights::installThemes( void )
for( loop = 0; loop < files.count(); loop++ )
{
/* Try writing to the global theme dir */
- if( !KIO::NetAccess::copy( files[loop], KURL( TQString( Resource->themeDir() + files[loop].filename() ) ) ) )
+ if( !TDEIO::NetAccess::copy( files[loop], KURL( TQString( Resource->themeDir() + files[loop].filename() ) ) ) )
{
/* Nope... Try a local .knights dir */
allerror += "\n\n" + TQString( Resource->themeDir() + files[loop].filename() )
- + " - " + KIO::NetAccess::lastErrorString();
- if( !KIO::NetAccess::exists( KURL( TQString( TQDir::homeDirPath() + "/.knights" ) ) ) )
+ + " - " + TDEIO::NetAccess::lastErrorString();
+ if( !TDEIO::NetAccess::exists( KURL( TQString( TQDir::homeDirPath() + "/.knights" ) ) ) )
{
/* Create local .knights dir */
- KIO::NetAccess::mkdir( KURL( TQString( TQDir::homeDirPath() + "/.knights" ) ) );
+ TDEIO::NetAccess::mkdir( KURL( TQString( TQDir::homeDirPath() + "/.knights" ) ) );
}
- if( !KIO::NetAccess::copy( files[loop], KURL( TQString( TQDir::homeDirPath() + "/.knights/" + files[loop].filename() ) ) ) )
+ if( !TDEIO::NetAccess::copy( files[loop], KURL( TQString( TQDir::homeDirPath() + "/.knights/" + files[loop].filename() ) ) ) )
{
/* Nope, can't copy it anywhere */
installError = TRUE;
allerror += "\n\n" + TQString( TQDir::homeDirPath() + "/.knights/"
- + files[loop].filename() ) + " - " + KIO::NetAccess::lastErrorString();
+ + files[loop].filename() ) + " - " + TDEIO::NetAccess::lastErrorString();
}
else
{