summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:19:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:19:25 +0900
commitdbf84303c4c651dfd061eff721a028cfd73e3b8b (patch)
tree12c7671b7ca3e0f4d299cc399f80cd49e923da0a
parent4bbccf7d67bbc86e87ff1444dc3b1c18efa097a2 (diff)
downloadtellico-dbf84303c4c651dfd061eff721a028cfd73e3b8b.tar.gz
tellico-dbf84303c4c651dfd061eff721a028cfd73e3b8b.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/controller.cpp2
-rw-r--r--src/core/drophandler.cpp2
-rw-r--r--src/entryiconview.cpp2
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/newstuff/manager.cpp2
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<GUI::ListView*>(m_widgetWithSelection);
+ GUI::ListView* view = ::tqt_cast<GUI::ListView*>(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<MainWindow*>(Kernel::self()->widget());
+ MainWindow* mainWindow = ::tqt_cast<MainWindow*>(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<TDEPopupMenu*>(sender());
+ const TDEPopupMenu* menu = ::tqt_cast<TDEPopupMenu*>(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<TQSignalMapper*>(child("update_mapper"));
+ TQSignalMapper* mapper = ::tqt_cast<TQSignalMapper*>(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<const NewScript*>(sender());
+ const NewScript* newScript = ::tqt_cast<const NewScript*>(sender());
if(newScript && newScript->successfulInstall()) {
const TQString name = m_urlNameMap[newScript->url()];
KNS::Entry* entry = m_scriptEntryMap[newScript];