From 10da9998098672ff2d6c1213bda6993adc0b6589 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 17 Dec 2023 20:55:11 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- krename/coorddialog.cpp | 2 +- krename/replacedialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/krename/coorddialog.cpp b/krename/coorddialog.cpp index 818fd55..8388b51 100644 --- a/krename/coorddialog.cpp +++ b/krename/coorddialog.cpp @@ -56,7 +56,7 @@ CoordDialog::CoordDialog( const TQString & file, TQWidget *_parent, const char * filename = new DSLineEdit( parent ); filename->setText( file ); - filename->setValidator( new TQRegExpValidator( TQRegExp( file ), TQT_TQOBJECT(this) ) ); + filename->setValidator( new TQRegExpValidator( TQRegExp( file ), this ) ); preview = new TQLabel( parent ); diff --git a/krename/replacedialog.cpp b/krename/replacedialog.cpp index 85db862..b91d5e5 100644 --- a/krename/replacedialog.cpp +++ b/krename/replacedialog.cpp @@ -190,7 +190,7 @@ void ReplaceDialog::moveFocus() void ReplaceDialog::invokeRegEdit() { - TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) ); + TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery( "KRegExpEditor/KRegExpEditor", TQString(), this ); KRegExpEditorInterface *iface = static_cast( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) ); if ( !iface ) -- cgit v1.2.1