summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageloader.cpp')
-rw-r--r--src/gvcore/imageloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp
index 6ab91ef..06a9011 100644
--- a/src/gvcore/imageloader.cpp
+++ b/src/gvcore/imageloader.cpp
@@ -444,7 +444,7 @@ void ImageLoader::slotGetResult(KIO::Job* job) {
static TQString mimeTypeFromFormat(const char* format) {
TQStringList formats = KImageIO::types(KImageIO::Reading);
TQStringList mimeTypes = KImageIO::mimeTypes(KImageIO::Reading);
- int pos = formats.tqfindIndex(TQString::fromAscii(format));
+ int pos = formats.findIndex(TQString::fromAscii(format));
Q_ASSERT(pos != -1);
return mimeTypes[pos];
}
@@ -894,7 +894,7 @@ void ImageLoader::ownerDestroyed() {
//---------------------------------------------------------------------
ImageLoader* ImageLoader::loader( const KURL& url, const TQObject* owner, BusyLevel priority ) {
- if( sLoaders.tqcontains( url )) {
+ if( sLoaders.contains( url )) {
ImageLoader* loader = sLoaders[ url ];
loader->ref( owner, priority );
// resume if this owner has high priority