diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:06:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:06:16 -0600 |
commit | 7717bcec2ad7d94e3f38a2e831bafa60a525f7d2 (patch) | |
tree | 77ffa8fe14318bb3a285cae65dbe622bcbbcb3f9 /src/controller.cpp | |
parent | b5cff83092d97189b5a55e1a996995207bc3016c (diff) | |
download | tellico-7717bcec2ad7d94e3f38a2e831bafa60a525f7d2.tar.gz tellico-7717bcec2ad7d94e3f38a2e831bafa60a525f7d2.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/controller.cpp')
-rw-r--r-- | src/controller.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<KAction> it(m_mainWindow->m_fetchActions); it.current(); ++it) { + for(TQPtrListIterator<TDEAction> 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<KAction> it(m_mainWindow->m_fetchActions); it.current(); ++it) { + for(TQPtrListIterator<TDEAction> 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<KAction> it(m_mainWindow->m_fetchActions); it.current(); ++it) { + for(TQPtrListIterator<TDEAction> it(m_mainWindow->m_fetchActions); it.current(); ++it) { it.current()->setEnabled(!emptySelection); } //only enable citation items when it's a bibliography |