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 | ff8c66f117613688a0979d2296cbf6c778136419 (patch) | |
tree | e08685a8a074de43b2d5a890eb2038575ddbd119 /src/gvcore/archive.cpp | |
parent | 362662842b9a5b2c51d442b69b69c06ddb60994c (diff) | |
download | gwenview-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.cpp | 4 |
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) { |