summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-17 20:55:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-18 22:41:27 +0900
commit44470b8aac4ef252b9f4169b5df025d4405e3c37 (patch)
treeb7f37dc1ee2676f591ca1e047dc184c65cec5a3c
parent7132d1d7682f32a3319bb8dbd5a8e82e862d3438 (diff)
downloadkrename-44470b8aac4ef252b9f4169b5df025d4405e3c37.tar.gz
krename-44470b8aac4ef252b9f4169b5df025d4405e3c37.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 10da9998098672ff2d6c1213bda6993adc0b6589)
-rw-r--r--krename/coorddialog.cpp2
-rw-r--r--krename/replacedialog.cpp2
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<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) );
+ TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this );
KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) );
if ( !iface )