|
|
|
@ -90,7 +90,7 @@ KoCommandHistory::KoCommandHistory(TDEActionCollection * actionCollection, bool
|
|
|
|
|
d=new KoCommandHistoryPrivate();
|
|
|
|
|
if (withMenus)
|
|
|
|
|
{
|
|
|
|
|
TDEToolBarPopupAction * undo = new TDEToolBarPopupAction( i18n("&Undo"), "undo",
|
|
|
|
|
TDEToolBarPopupAction * undo = new TDEToolBarPopupAction( i18n("&Undo"), "edit-undo",
|
|
|
|
|
TDEStdAccel::undo(), this, TQT_SLOT( undo() ),
|
|
|
|
|
actionCollection, /*KStdAction::stdName( KStdAction::Undo )*/"koffice_undo" );
|
|
|
|
|
connect( undo->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( slotUndoAboutToShow() ) );
|
|
|
|
@ -109,7 +109,7 @@ KoCommandHistory::KoCommandHistory(TDEActionCollection * actionCollection, bool
|
|
|
|
|
|
|
|
|
|
connect( d->m_undoListBox, TQT_SIGNAL( changeNumberOfSelectedItem( int )), this, TQT_SLOT( slotChangeUndoNumberOfSelectedItem( int )));
|
|
|
|
|
|
|
|
|
|
TDEToolBarPopupAction * redo = new TDEToolBarPopupAction( i18n("&Redo"), "redo",
|
|
|
|
|
TDEToolBarPopupAction * redo = new TDEToolBarPopupAction( i18n("&Redo"), "edit-redo",
|
|
|
|
|
TDEStdAccel::redo(), this, TQT_SLOT( redo() ),
|
|
|
|
|
actionCollection, /*KStdAction::stdName( KStdAction::Redo )*/
|
|
|
|
|
"koffice_redo");
|
|
|
|
|