diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 2159e0704bbe79347bd50131b79894cdac782db7 (patch) | |
tree | d67866751bc14dfa1ab412664f2ff2bbb035e0fa | |
parent | 12231ef224d4a1f9057b5c3fd9d113aacc664a37 (diff) | |
download | libkdcraw-2159e0704bbe79347bd50131b79894cdac782db7.tar.gz libkdcraw-2159e0704bbe79347bd50131b79894cdac782db7.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/libkdcraw@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | libkdcraw/libkdcraw/kdcraw.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdcraw/libkdcraw/kdcraw.cpp b/libkdcraw/libkdcraw/kdcraw.cpp index dd97f2b..13cfd40 100644 --- a/libkdcraw/libkdcraw/kdcraw.cpp +++ b/libkdcraw/libkdcraw/kdcraw.cpp @@ -104,7 +104,7 @@ bool KDcraw::loadEmbeddedPreview(TQByteArray& imgData, const TQString& path) TQString rawFilesExt(rawFiles()); TQString ext = fileInfo.extension(false).upper(); - if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext)) + if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext)) return false; LibRaw raw; @@ -162,7 +162,7 @@ bool KDcraw::loadHalfPreview(TQImage& image, const TQString& path) TQString rawFilesExt(rawFiles()); TQString ext = fileInfo.extension(false).upper(); - if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext)) + if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext)) return false; qDebug("Try to use reduced RAW picture extraction"); @@ -229,7 +229,7 @@ bool KDcraw::rawFileIdentify(DcrawInfoContainer& identify, const TQString& path) TQString ext = fileInfo.extension(false).upper(); identify.isDecodable = false; - if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext)) + if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext)) return false; LibRaw raw; @@ -264,7 +264,7 @@ bool KDcraw::extractRAWData(const TQString& filePath, TQByteArray &rawData, Dcra TQString ext = fileInfo.extension(false).upper(); identify.isDecodable = false; - if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().tqcontains(ext)) + if (!fileInfo.exists() || ext.isEmpty() || !rawFilesExt.upper().contains(ext)) return false; if (m_cancel) |