diff options
Diffstat (limited to 'src/document/MultiViewCommandHistory.cpp')
-rw-r--r-- | src/document/MultiViewCommandHistory.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/document/MultiViewCommandHistory.cpp b/src/document/MultiViewCommandHistory.cpp index 7e529fb..a4957be 100644 --- a/src/document/MultiViewCommandHistory.cpp +++ b/src/document/MultiViewCommandHistory.cpp @@ -65,14 +65,14 @@ MultiViewCommandHistory::clear() } void -MultiViewCommandHistory::attachView(KActionCollection *collection) +MultiViewCommandHistory::attachView(TDEActionCollection *collection) { if (m_views.find(collection) != m_views.end()) return ; RG_DEBUG << "MultiViewCommandHistory::attachView() : setting up undo/redo actions\n"; - KToolBarPopupAction *undo = dynamic_cast<KToolBarPopupAction*>(collection->action(KStdAction::stdName(KStdAction::Undo))); + TDEToolBarPopupAction *undo = dynamic_cast<TDEToolBarPopupAction*>(collection->action(KStdAction::stdName(KStdAction::Undo))); if (undo) { connect(undo, TQT_SIGNAL(activated()), @@ -91,7 +91,7 @@ MultiViewCommandHistory::attachView(KActionCollection *collection) TQT_SLOT(slotUndoActivated(int))); } - KToolBarPopupAction *redo = dynamic_cast<KToolBarPopupAction*>(collection->action(KStdAction::stdName(KStdAction::Redo))); + TDEToolBarPopupAction *redo = dynamic_cast<TDEToolBarPopupAction*>(collection->action(KStdAction::stdName(KStdAction::Redo))); if (redo) { @@ -117,7 +117,7 @@ MultiViewCommandHistory::attachView(KActionCollection *collection) } void -MultiViewCommandHistory::detachView(KActionCollection *collection) +MultiViewCommandHistory::detachView(TDEActionCollection *collection) { ViewSet::iterator i = m_views.find(collection); if (i != m_views.end()) @@ -307,7 +307,7 @@ MultiViewCommandHistory::updateButton(bool undo, { for (ViewSet::iterator i = m_views.begin(); i != m_views.end(); ++i) { - KAction *action = (*i)->action(name.ascii()); + TDEAction *action = (*i)->action(name.ascii()); if (!action) continue; TQString text; @@ -340,12 +340,12 @@ MultiViewCommandHistory::updateMenu(bool undo, { for (ViewSet::iterator i = m_views.begin(); i != m_views.end(); ++i) { - KAction *action = (*i)->action(name.ascii()); + TDEAction *action = (*i)->action(name.ascii()); if (!action) continue; - KToolBarPopupAction *popupAction = - dynamic_cast<KToolBarPopupAction *>(action); + TDEToolBarPopupAction *popupAction = + dynamic_cast<TDEToolBarPopupAction *>(action); if (!popupAction) continue; |