summaryrefslogtreecommitdiffstats
path: root/kfind
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-22 18:45:07 +0900
committerMichele Calgaro <[email protected]>2023-12-26 21:27:31 +0900
commit0e5ef873f0394ebc87c08d030130cf4089cb1d42 (patch)
tree39b0a54ef4dfc173c556d6e6c7ece5107aed464a /kfind
parentdcda00127ea03e99ca6253422624e2d3c2e62f3a (diff)
downloadtdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.tar.gz
tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
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]*$");
}