diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:28:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:28:24 -0600 |
commit | 20de04ce44f63fb911103d7870d39d2782d14cda (patch) | |
tree | bddd13cef2fae98892caf538dc64b5357732c517 /kfile-plugins | |
parent | 4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff) | |
download | tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kfile-plugins')
-rw-r--r-- | kfile-plugins/folder/kfile_folder.cpp | 2 | ||||
-rw-r--r-- | kfile-plugins/lnk/read_lnk.cpp | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/kfile-plugins/folder/kfile_folder.cpp b/kfile-plugins/folder/kfile_folder.cpp index fe4ea9a..f4db1f3 100644 --- a/kfile-plugins/folder/kfile_folder.cpp +++ b/kfile-plugins/folder/kfile_folder.cpp @@ -67,7 +67,7 @@ bool KFolderPlugin::readInfo( KFileMetaInfo& info, uint /*what*/) TQFileInfo* file; int items = 0; - KIO::filesize_t bytes = 0; + TDEIO::filesize_t bytes = 0; while ( (file = list.current()) != 0 ) { ++list; 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; } |