summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 )