From 1ff93d9ecc8ec5e4aded6713d64d8d18d98feaf0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:19:25 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro (cherry picked from commit dbf84303c4c651dfd061eff721a028cfd73e3b8b) --- src/controller.cpp | 2 +- src/core/drophandler.cpp | 2 +- src/entryiconview.cpp | 2 +- src/mainwindow.cpp | 2 +- src/newstuff/manager.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/controller.cpp b/src/controller.cpp index 904b124..a99cca9 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -336,7 +336,7 @@ void Controller::goEntrySibling(EntryDirection dir_) { return; } // find the widget that has an entry selected - GUI::ListView* view = ::tqqt_cast(m_widgetWithSelection); + GUI::ListView* view = ::tqt_cast(m_widgetWithSelection); if(!view) { return; } diff --git a/src/core/drophandler.cpp b/src/core/drophandler.cpp index 8d4875d..f6f59e7 100644 --- a/src/core/drophandler.cpp +++ b/src/core/drophandler.cpp @@ -100,7 +100,7 @@ bool DropHandler::handleURL(const KURL::List& urls_) { hasUnknown = true; } } - MainWindow* mainWindow = ::tqqt_cast(Kernel::self()->widget()); + MainWindow* mainWindow = ::tqt_cast(Kernel::self()->widget()); if(!mainWindow) { myDebug() << "DropHandler::handleURL() - no main window!" << endl; return !hasUnknown; diff --git a/src/entryiconview.cpp b/src/entryiconview.cpp index be0df9e..b84d5d0 100644 --- a/src/entryiconview.cpp +++ b/src/entryiconview.cpp @@ -289,7 +289,7 @@ void EntryIconView::slotShowContextMenu(TQIconViewItem* item_, const TQPoint& po } void EntryIconView::slotSortMenuActivated(int id_) { - const TDEPopupMenu* menu = ::tqqt_cast(sender()); + const TDEPopupMenu* menu = ::tqt_cast(sender()); if(menu) { TQString title = menu->text(id_); Data::FieldPtr f = m_coll->fieldByTitle(title); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9c20a0d..e9b0af8 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2276,7 +2276,7 @@ void MainWindow::updateCollectionActions() { } void MainWindow::updateEntrySources() { - TQSignalMapper* mapper = ::tqqt_cast(child("update_mapper")); + TQSignalMapper* mapper = ::tqt_cast(child("update_mapper")); if(!mapper) { kdWarning() << "MainWindow::updateEntrySources() - no update mapper!" << endl; return; diff --git a/src/newstuff/manager.cpp b/src/newstuff/manager.cpp index bb8ebba..011c375 100644 --- a/src/newstuff/manager.cpp +++ b/src/newstuff/manager.cpp @@ -395,7 +395,7 @@ void Manager::slotDownloadJobResult(TDEIO::Job* job_) { } void Manager::slotInstallFinished() { - const NewScript* newScript = ::tqqt_cast(sender()); + const NewScript* newScript = ::tqt_cast(sender()); if(newScript && newScript->successfulInstall()) { const TQString name = m_urlNameMap[newScript->url()]; KNS::Entry* entry = m_scriptEntryMap[newScript];