From 7717bcec2ad7d94e3f38a2e831bafa60a525f7d2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:06:16 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/controller.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/controller.cpp') diff --git a/src/controller.cpp b/src/controller.cpp index 9e31c6d..bf8e7fe 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -566,7 +566,7 @@ void Controller::plugEntryActions(TQPopupMenu* popup_) { m_mainWindow->m_deleteEntry->plug(popup_); m_mainWindow->m_mergeEntry->plug(popup_); m_mainWindow->m_updateEntryMenu->plug(popup_); - // there's a bug in KActionMenu with KXMLGUIFactory::plugActionList + // there's a bug in TDEActionMenu with KXMLGUIFactory::plugActionList // pluging the menu action isn't enough to have the popup get populated plugUpdateMenu(popup_); popup_->insertSeparator(); @@ -591,7 +591,7 @@ void Controller::plugUpdateMenu(TQPopupMenu* popup_) { // I can't figure out why the actions get duplicated, but they do // so clear them all m_mainWindow->m_updateAll->unplug(updatePopup); - for(TQPtrListIterator it(m_mainWindow->m_fetchActions); it.current(); ++it) { + for(TQPtrListIterator it(m_mainWindow->m_fetchActions); it.current(); ++it) { it.current()->unplug(updatePopup); } @@ -600,7 +600,7 @@ void Controller::plugUpdateMenu(TQPopupMenu* popup_) { m_mainWindow->m_updateAll->plug(updatePopup); updatePopup->insertSeparator(); - for(TQPtrListIterator it(m_mainWindow->m_fetchActions); it.current(); ++it) { + for(TQPtrListIterator it(m_mainWindow->m_fetchActions); it.current(); ++it) { it.current()->plug(updatePopup); } } @@ -609,7 +609,7 @@ void Controller::updateActions() const { bool emptySelection = m_selectedEntries.isEmpty(); m_mainWindow->stateChanged(TQString::fromLatin1("empty_selection"), emptySelection ? KXMLGUIClient::StateNoReverse : KXMLGUIClient::StateReverse); - for(TQPtrListIterator it(m_mainWindow->m_fetchActions); it.current(); ++it) { + for(TQPtrListIterator it(m_mainWindow->m_fetchActions); it.current(); ++it) { it.current()->setEnabled(!emptySelection); } //only enable citation items when it's a bibliography -- cgit v1.2.3