From 82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:32:29 +0900 Subject: Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro --- konqueror/konq_factory.cpp | 2 +- konqueror/konq_mainwindow.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'konqueror') diff --git a/konqueror/konq_factory.cpp b/konqueror/konq_factory.cpp index d89cbf9a6..e35f5b7c7 100644 --- a/konqueror/konq_factory.cpp +++ b/konqueror/konq_factory.cpp @@ -74,7 +74,7 @@ KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *parentWidget, const cha kdError(1202) << "Part " << obj << " (" << obj->className() << ") doesn't inherit KParts::ReadOnlyPart !" << endl; KParts::ReadOnlyPart* part = static_cast( obj ); - TQFrame* frame = ::tqqt_cast( part->widget() ); + TQFrame* frame = ::tqt_cast( part->widget() ); if (frame) { frame->setFrameStyle( TQFrame::NoFrame ); diff --git a/konqueror/konq_mainwindow.cpp b/konqueror/konq_mainwindow.cpp index 78238087f..4633f72c9 100644 --- a/konqueror/konq_mainwindow.cpp +++ b/konqueror/konq_mainwindow.cpp @@ -1189,9 +1189,9 @@ void KonqMainWindow::slotCreateNewWindow( const KURL &url, const KParts::URLArgs { KParts::BrowserHostExtension *hostExtension = 0; KParts::ReadOnlyPart *ro_part = 0L; - KParts::BrowserExtension *be = ::tqqt_cast(sender()); + KParts::BrowserExtension *be = ::tqt_cast(sender()); if (be) - ro_part = ::tqqt_cast(be->parent()); + ro_part = ::tqt_cast(be->parent()); if ( findChildView( ro_part, args.frameName, &mainWindow, &hostExtension, &part ) ) { // Found a view. If url isn't empty, we should open it - but this never happens currently @@ -4839,7 +4839,7 @@ void KonqMainWindow::slotPopupMenu( KXMLGUIClient *client, const TQPoint &_globa if ( client ) pPopupMenu->factory()->addClient( client ); - KParts::BrowserExtension *be = ::tqqt_cast(sender()); + KParts::BrowserExtension *be = ::tqt_cast(sender()); if ( be ) { @@ -4905,7 +4905,7 @@ void KonqMainWindow::slotPopupMenu( KXMLGUIClient *client, const TQPoint &_globa } // Special case: RMB + renaming in sidebar; setFocus would abort editing. TQWidget* fw = focusWidget(); - if ( !fw || !::tqqt_cast( fw ) ) + if ( !fw || !::tqt_cast( fw ) ) m_oldView->part()->widget()->setFocus(); } } -- cgit v1.2.1