summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoCommandHistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoCommandHistory.cpp')
-rw-r--r--lib/kofficeui/KoCommandHistory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/KoCommandHistory.cpp b/lib/kofficeui/KoCommandHistory.cpp
index 2b5824ed..c0c81596 100644
--- a/lib/kofficeui/KoCommandHistory.cpp
+++ b/lib/kofficeui/KoCommandHistory.cpp
@@ -84,14 +84,14 @@ KoCommandHistory::KoCommandHistory() :
clear();
}
-KoCommandHistory::KoCommandHistory(KActionCollection * actionCollection, bool withMenus) :
+KoCommandHistory::KoCommandHistory(TDEActionCollection * actionCollection, bool withMenus) :
m_undoLimit(50), m_redoLimit(30), m_first(false)
{
d=new KoCommandHistoryPrivate();
if (withMenus)
{
- KToolBarPopupAction * undo = new KToolBarPopupAction( i18n("&Undo"), "undo",
- KStdAccel::undo(), this, TQT_SLOT( undo() ),
+ TDEToolBarPopupAction * undo = new TDEToolBarPopupAction( i18n("&Undo"), "undo",
+ TDEStdAccel::undo(), this, TQT_SLOT( undo() ),
actionCollection, /*KStdAction::stdName( KStdAction::Undo )*/"koffice_undo" );
connect( undo->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( slotUndoAboutToShow() ) );
connect( undo->popupMenu(), TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotUndoActivated( int ) ) );
@@ -109,8 +109,8 @@ KoCommandHistory::KoCommandHistory(KActionCollection * actionCollection, bool wi
connect( d->m_undoListBox, TQT_SIGNAL( changeNumberOfSelectedItem( int )), this, TQT_SLOT( slotChangeUndoNumberOfSelectedItem( int )));
- KToolBarPopupAction * redo = new KToolBarPopupAction( i18n("&Redo"), "redo",
- KStdAccel::redo(), this, TQT_SLOT( redo() ),
+ TDEToolBarPopupAction * redo = new TDEToolBarPopupAction( i18n("&Redo"), "redo",
+ TDEStdAccel::redo(), this, TQT_SLOT( redo() ),
actionCollection, /*KStdAction::stdName( KStdAction::Redo )*/
"koffice_redo");
connect( redo->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( slotRedoAboutToShow() ) );