summaryrefslogtreecommitdiffstats
path: root/src/gvcore/archive.cpp
diff options
context:
space:
mode:
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) {