Replaced various '#define' with actual strings - part 4

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head
Michele Calgaro 5 months ago
parent 4bbccf7d67
commit dbf84303c4
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;
}

@ -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;

@ -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);

@ -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;

@ -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];

Loading…
Cancel
Save