From 3b25eb314a3cc15e6643b8467d0e6345c10e7415 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:26 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 762dc98fa6b143629c75b3bbe277228fb04e8324) --- libtdepim/kcmdesignerfields.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtdepim/kcmdesignerfields.cpp') diff --git a/libtdepim/kcmdesignerfields.cpp b/libtdepim/kcmdesignerfields.cpp index 64ef02db..03c2f161 100644 --- a/libtdepim/kcmdesignerfields.cpp +++ b/libtdepim/kcmdesignerfields.cpp @@ -91,7 +91,7 @@ class PageItem : public TQCheckListItem new TQListViewItem( this, name, allowedTypes[ it.current()->className() ], it.current()->className(), - TQWhatsThis::textFor( TQT_TQWIDGET( it.current() ) ) ); + TQWhatsThis::textFor( static_cast( it.current() ) ) ); } } @@ -162,7 +162,7 @@ void KCMDesignerFields::delayedInit() load(); // Install a dirwatcher that will detect newly created or removed designer files - KDirWatch *dw = new KDirWatch( TQT_TQOBJECT(this) ); + KDirWatch *dw = new KDirWatch( this ); TDEStandardDirs::makeDir(localUiDir()); dw->addDir( localUiDir(), true ); connect( dw, TQT_SIGNAL( created(const TQString&) ), TQT_SLOT( rebuildList() ) ); -- cgit v1.2.3