From d5688771d8a6837975be512ee37f61bad7dbd345 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:23 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- tdeutils/kcmultidialog.cpp | 2 +- tdeutils/kfinddialog.cpp | 2 +- tdeutils/tdecmoduleloader.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeutils') diff --git a/tdeutils/kcmultidialog.cpp b/tdeutils/kcmultidialog.cpp index eb7567a6d..73f6c471c 100644 --- a/tdeutils/kcmultidialog.cpp +++ b/tdeutils/kcmultidialog.cpp @@ -338,7 +338,7 @@ void KCMultiDialog::removeAllModules() { kdDebug( 710 ) << "remove 2" << endl; TDECModuleProxy * kcm = ( *it ).kcm; - TQObject * page = TQT_TQOBJECT(kcm->parent()); + TQObject * page = kcm->parent(); kcm->hide(); if( page ) { diff --git a/tdeutils/kfinddialog.cpp b/tdeutils/kfinddialog.cpp index 6444595b3..9162d0ffc 100644 --- a/tdeutils/kfinddialog.cpp +++ b/tdeutils/kfinddialog.cpp @@ -439,7 +439,7 @@ void KFindDialog::showPatterns() { if ( !d->m_regexpDialogQueryDone ) { - d->m_regexpDialog = KParts::ComponentFactory::createInstanceFromQuery( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) ); + d->m_regexpDialog = KParts::ComponentFactory::createInstanceFromQuery( "KRegExpEditor/KRegExpEditor", TQString(), this ); d->m_regexpDialogQueryDone = true; } diff --git a/tdeutils/tdecmoduleloader.cpp b/tdeutils/tdecmoduleloader.cpp index 174226ed2..907060ec7 100644 --- a/tdeutils/tdecmoduleloader.cpp +++ b/tdeutils/tdecmoduleloader.cpp @@ -72,7 +72,7 @@ TDECModule* TDECModuleLoader::load(const TDECModuleInfo &mod, const TQString &li KLibFactory *factory = lib->factory(); if ( factory ) { - TDECModule *module = KParts::ComponentFactory::createInstanceFromFactory( factory, TQT_TQOBJECT(parent), name ? name : mod.handle().latin1(), args ); + TDECModule *module = KParts::ComponentFactory::createInstanceFromFactory( factory, parent, name ? name : mod.handle().latin1(), args ); if (module) return module; } -- cgit v1.2.1