From 0e4a5c95a4675da94170d7c8997bf14f76451e31 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Nov 2023 16:44:23 +0900 Subject: Replace various strings '#define'd in tqtinterface Signed-off-by: Michele Calgaro (cherry picked from commit 57e0ed66347db15cb1cd66488f095107e7772ad9) --- tdeutils/kfinddialog.cpp | 2 +- tdeutils/tdemultitabbar.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeutils') diff --git a/tdeutils/kfinddialog.cpp b/tdeutils/kfinddialog.cpp index 8339751f6..6444595b3 100644 --- a/tdeutils/kfinddialog.cpp +++ b/tdeutils/kfinddialog.cpp @@ -445,7 +445,7 @@ void KFindDialog::showPatterns() if ( d->m_regexpDialog ) { - KRegExpEditorInterface *iface = tqt_dynamic_cast( d->m_regexpDialog ); + KRegExpEditorInterface *iface = dynamic_cast( d->m_regexpDialog ); assert( iface ); iface->setRegExp( pattern() ); diff --git a/tdeutils/tdemultitabbar.cpp b/tdeutils/tdemultitabbar.cpp index 96dc3c9c3..ea82e2d6e 100644 --- a/tdeutils/tdemultitabbar.cpp +++ b/tdeutils/tdemultitabbar.cpp @@ -445,13 +445,13 @@ void KMultiTabBarButton::setStyle(KMultiTabBar::KMultiTabBarStyle style) void KMultiTabBarButton::hideEvent( TQHideEvent* he) { TQPushButton::hideEvent(he); - KMultiTabBar *tb=tqt_dynamic_cast(parentWidget()); + KMultiTabBar *tb=dynamic_cast(parentWidget()); if (tb) tb->updateSeparator(); } void KMultiTabBarButton::showEvent( TQShowEvent* he) { TQPushButton::showEvent(he); - KMultiTabBar *tb=tqt_dynamic_cast(parentWidget()); + KMultiTabBar *tb=dynamic_cast(parentWidget()); if (tb) tb->updateSeparator(); } -- cgit v1.2.1