summaryrefslogtreecommitdiffstats
path: root/kfind
diff options
context:
space:
mode:
Diffstat (limited to 'kfind')
-rw-r--r--kfind/kfinddlg.cpp2
-rw-r--r--kfind/kftabdlg.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kfind/kfinddlg.cpp b/kfind/kfinddlg.cpp
index ff47a2776..7fabcecde 100644
--- a/kfind/kfinddlg.cpp
+++ b/kfind/kfinddlg.cpp
@@ -72,7 +72,7 @@ KfindDlg::KfindDlg(const KURL & url, TQWidget *parent, const char *name)
connect(win ,TQT_SIGNAL(resultSelected(bool)),
this,TQT_SIGNAL(resultSelected(bool)));
- query = new KQuery(TQT_TQOBJECT(frame));
+ query = new KQuery(frame);
connect(query, TQT_SIGNAL(addFile(const KFileItem*,const TQString&)),
TQT_SLOT(addFile(const KFileItem*,const TQString&)));
connect(query, TQT_SIGNAL(result(int)), TQT_SLOT(slotResult(int)));
diff --git a/kfind/kftabdlg.cpp b/kfind/kftabdlg.cpp
index 240b223bf..6def97ec6 100644
--- a/kfind/kftabdlg.cpp
+++ b/kfind/kftabdlg.cpp
@@ -496,7 +496,7 @@ void KfindTabWidget::loadHistory()
void KfindTabWidget::slotEditRegExp()
{
if ( ! regExpDialog )
- regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) );
+ regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this );
KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) );
if ( !iface )
@@ -807,7 +807,7 @@ bool KfindTabWidget::isSearchRecursive()
Digit validator. Allows only digits to be typed.
**/
KDigitValidator::KDigitValidator( TQWidget * parent, const char *name )
- : TQValidator( TQT_TQOBJECT(parent), name )
+ : TQValidator( parent, name )
{
r = new TQRegExp("^[0-9]*$");
}