summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/lnk
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
commit20de04ce44f63fb911103d7870d39d2782d14cda (patch)
treebddd13cef2fae98892caf538dc64b5357732c517 /kfile-plugins/lnk
parent4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff)
downloadtdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz
tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kfile-plugins/lnk')
-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;
}