summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/lnk/read_lnk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/lnk/read_lnk.cpp')
-rw-r--r--kfile-plugins/lnk/read_lnk.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kfile-plugins/lnk/read_lnk.cpp b/kfile-plugins/lnk/read_lnk.cpp
index c3825e0..1170f9a 100644
--- a/kfile-plugins/lnk/read_lnk.cpp
+++ b/kfile-plugins/lnk/read_lnk.cpp
@@ -63,7 +63,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
const char* lnkFile = 0;
TQString tempFile;
- if ( KIO::NetAccess::download(url, tempFile, 0) )
+ if ( TDEIO::NetAccess::download(url, tempFile, 0) )
lnkFile = tempFile.latin1();
else
return false;
@@ -73,7 +73,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
if ( !fd )
{
kdWarning(7034) << "could not open file " << lnkFile << endl;
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -83,7 +83,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
{
kdWarning(7034) << "wrong header size" << endl;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -91,7 +91,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
{
kdWarning(7034) << "wrong magic in header" << endl;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -104,7 +104,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
{
kdWarning(7034) << "could not read shell item id list" << endl;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
}
@@ -124,7 +124,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
{
kdWarning(7034) << "could not read file localtion table" << endl;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -133,7 +133,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
if ( (loc.totalLen <= sizeof(loc)) || (loc.totalLen > 4096) ) // 4096 is just an arbitrary number I think shall be enough
{
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -146,7 +146,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
kdWarning(7034) << "could not read pathes data" << endl;
delete [] data;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -197,7 +197,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
{
kdWarning(7034) << "could not read description string length" << endl;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -208,7 +208,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
kdWarning(7034) << "could not read description string" << endl;
delete [] data;
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return false;
}
@@ -221,7 +221,7 @@ bool readLNK(const KURL &url, LNKInfo &info)
}
fclose(fd);
- KIO::NetAccess::removeTempFile(tempFile);
+ TDEIO::NetAccess::removeTempFile(tempFile);
return true;
}