summaryrefslogtreecommitdiffstats
path: root/src/gvcore/archive.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitff8c66f117613688a0979d2296cbf6c778136419 (patch)
treee08685a8a074de43b2d5a890eb2038575ddbd119 /src/gvcore/archive.cpp
parent362662842b9a5b2c51d442b69b69c06ddb60994c (diff)
downloadgwenview-ff8c66f117613688a0979d2296cbf6c778136419.tar.gz
gwenview-ff8c66f117613688a0979d2296cbf6c778136419.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/archive.cpp')
-rw-r--r--src/gvcore/archive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/archive.cpp b/src/gvcore/archive.cpp
index a0e78ed..b3ad7f8 100644
--- a/src/gvcore/archive.cpp
+++ b/src/gvcore/archive.cpp
@@ -39,7 +39,7 @@ static const MimeTypeProtocols& mimeTypeProtocols() {
KMimeType::List list = KMimeType::allMimeTypes();
KMimeType::List::Iterator it=list.begin(), end=list.end();
for (; it!=end; ++it) {
- if ( (*it)->propertyNames().tqfindIndex(KDE_PROTOCOL)!= -1 ) {
+ if ( (*it)->propertyNames().findIndex(KDE_PROTOCOL)!= -1 ) {
TQString protocol = (*it)->property(KDE_PROTOCOL).toString();
map[(*it)->name()] = protocol;
}
@@ -50,7 +50,7 @@ static const MimeTypeProtocols& mimeTypeProtocols() {
bool fileItemIsArchive(const KFileItem* item) {
- return mimeTypeProtocols().tqcontains(item->mimetype());
+ return mimeTypeProtocols().contains(item->mimetype());
}
bool fileItemIsDirOrArchive(const KFileItem* item) {