summaryrefslogtreecommitdiffstats
path: root/kioslave/filter/filter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/filter/filter.cc')
-rw-r--r--kioslave/filter/filter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/filter/filter.cc b/kioslave/filter/filter.cc
index 8a09e1b7a..8392dd160 100644
--- a/kioslave/filter/filter.cc
+++ b/kioslave/filter/filter.cc
@@ -56,8 +56,8 @@ int kdemain( int argc, char ** argv)
FilterProtocol::FilterProtocol( const TQCString & protocol, const TQCString &pool, const TQCString &app )
: KIO::SlaveBase( protocol, pool, app )
{
- TQString mimetype = TQString::tqfromLatin1("application/x-") + TQString::tqfromLatin1(protocol);
- filter = KFilterBase::tqfindFilterByMimeType( mimetype );
+ TQString mimetype = TQString::fromLatin1("application/x-") + TQString::fromLatin1(protocol);
+ filter = KFilterBase::findFilterByMimeType( mimetype );
Q_ASSERT(filter);
}
@@ -117,7 +117,7 @@ void FilterProtocol::get( const KURL & )
}
if (bNeedMimetype)
{
- KMimeMagicResult * result = KMimeMagic::self()->tqfindBufferFileType( outputBuffer, subURL.fileName() );
+ KMimeMagicResult * result = KMimeMagic::self()->findBufferFileType( outputBuffer, subURL.fileName() );
kdDebug(7110) << "Emitting mimetype " << result->mimeType() << endl;
mimeType( result->mimeType() );
bNeedMimetype = false;
@@ -157,7 +157,7 @@ void FilterProtocol::get( const KURL & )
void FilterProtocol::put( const KURL &/*url*/, int, bool /*_overwrite*/, bool /*_resume*/ )
{
- error( KIO::ERR_UNSUPPORTED_ACTION, TQString::tqfromLatin1("put"));
+ error( KIO::ERR_UNSUPPORTED_ACTION, TQString::fromLatin1("put"));
}
void FilterProtocol::setSubURL(const KURL &url)