From 04766b207afba7961d4d802313e426f5a2fbef63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kofficecore/KoQueryTrader.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/kofficecore/KoQueryTrader.cpp') diff --git a/lib/kofficecore/KoQueryTrader.cpp b/lib/kofficecore/KoQueryTrader.cpp index e164aa1af..0003d00d1 100644 --- a/lib/kofficecore/KoQueryTrader.cpp +++ b/lib/kofficecore/KoQueryTrader.cpp @@ -48,7 +48,7 @@ KoDocumentEntry::KoDocumentEntry( KService::Ptr service ) { } -KoDocument* KoDocumentEntry::createDoc( KoDocument* tqparent, const char* name ) const +KoDocument* KoDocumentEntry::createDoc( KoDocument* parent, const char* name ) const { KLibFactory* factory = KLibLoader::self()->factory( TQFile::encodeName(m_service->library()) ); @@ -59,10 +59,10 @@ KoDocument* KoDocumentEntry::createDoc( KoDocument* tqparent, const char* name ) TQObject* obj; if ( factory->inherits( "KParts::Factory" ) ) - obj = static_cast(factory)->createPart( 0L, "", tqparent, name, "KoDocument" ); + obj = static_cast(factory)->createPart( 0L, "", parent, name, "KoDocument" ); else { kdWarning(30003) << "factory doesn't inherit KParts::Factory ! It is a " << factory->className() << endl; // This shouldn't happen... - obj = factory->create( tqparent, name, "KoDocument" ); + obj = factory->create( parent, name, "KoDocument" ); } if ( !obj || !obj->inherits( "KoDocument" ) ) @@ -192,7 +192,7 @@ TQValueList KoFilterEntry::query( const TQString & _constr ) return lst; } -KoFilter* KoFilterEntry::createFilter( KoFilterChain* chain, TQObject* tqparent, const char* name ) +KoFilter* KoFilterEntry::createFilter( KoFilterChain* chain, TQObject* parent, const char* name ) { KLibFactory* factory = KLibLoader::self()->factory( TQFile::encodeName( m_service->library() ) ); @@ -201,7 +201,7 @@ KoFilter* KoFilterEntry::createFilter( KoFilterChain* chain, TQObject* tqparent, return 0; } - TQObject* obj = factory->create( tqparent, name, "KoFilter" ); + TQObject* obj = factory->create( parent, name, "KoFilter" ); if ( !obj || !obj->inherits( "KoFilter" ) ) { delete obj; -- cgit v1.2.3