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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dbf84303c4)
r14.1.x
Michele Calgaro 1 year ago
parent 211ad8746b
commit 1ff93d9ecc
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