diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:32:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 02:32:29 +0900 |
commit | 82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7 (patch) | |
tree | 2c76f6f5cd0d00d68367512b574896bc11052122 /konqueror | |
parent | 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7 (diff) | |
download | tdebase-82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7.tar.gz tdebase-82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror')
-rw-r--r-- | konqueror/konq_factory.cpp | 2 | ||||
-rw-r--r-- | konqueror/konq_mainwindow.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
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<KParts::ReadOnlyPart *>( obj ); - TQFrame* frame = ::tqqt_cast<TQFrame*>( part->widget() ); + TQFrame* frame = ::tqt_cast<TQFrame*>( 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<KParts::BrowserExtension *>(sender()); + KParts::BrowserExtension *be = ::tqt_cast<KParts::BrowserExtension *>(sender()); if (be) - ro_part = ::tqqt_cast<KParts::ReadOnlyPart *>(be->parent()); + ro_part = ::tqt_cast<KParts::ReadOnlyPart *>(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<KParts::BrowserExtension *>(sender()); + KParts::BrowserExtension *be = ::tqt_cast<KParts::BrowserExtension *>(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<TQLineEdit*>( fw ) ) + if ( !fw || !::tqt_cast<TQLineEdit*>( fw ) ) m_oldView->part()->widget()->setFocus(); } } |