From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: Enable compilation with TQt for Qt4 3.4.0 TP2 This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslave/filter/filter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kioslave/filter') diff --git a/kioslave/filter/filter.cc b/kioslave/filter/filter.cc index 8392dd160..5ae1a8867 100644 --- a/kioslave/filter/filter.cc +++ b/kioslave/filter/filter.cc @@ -56,7 +56,7 @@ 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::fromLatin1("application/x-") + TQString::fromLatin1(protocol); + TQString mimetype = TQString::tqfromLatin1("application/x-") + TQString::tqfromLatin1(protocol); filter = KFilterBase::findFilterByMimeType( mimetype ); Q_ASSERT(filter); } @@ -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::fromLatin1("put")); + error( KIO::ERR_UNSUPPORTED_ACTION, TQString::tqfromLatin1("put")); } void FilterProtocol::setSubURL(const KURL &url) -- cgit v1.2.1