Bring undo, redo, find, and revert icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent db0695cca6
commit c128ab57b3

@ -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");

@ -138,7 +138,7 @@ Editor::Editor(TQWidget *parent, bool autoSync, const char *name)
d->undoButton->setFocusPolicy(TQ_NoFocus);
setFocusPolicy(TQ_ClickFocus);
d->undoButton->setMinimumSize(TQSize(5,5)); // allow to resize undoButton even below pixmap size
d->undoButton->setPixmap(SmallIcon("undo"));
d->undoButton->setPixmap(SmallIcon("edit-undo"));
TQToolTip::add(d->undoButton, i18n("Undo changes"));
d->undoButton->hide();
connect(d->undoButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(undo()));

@ -169,7 +169,7 @@ void KoAutoFormatExceptionWidget::slotExceptionListSelected()
KoAutoFormatDia::KoAutoFormatDia( TQWidget *parent, const char *name,
KoAutoFormat * autoFormat )
: KDialogBase( Tabbed, i18n("Autocorrection"), Ok | Cancel | User1, Ok,
parent, name, true, true, KGuiItem( i18n( "&Reset" ), "undo" )),
parent, name, true, true, KGuiItem( i18n( "&Reset" ), "edit-undo" )),
oSimpleBegin( autoFormat->getConfigTypographicSimpleQuotes().begin ),
oSimpleEnd( autoFormat->getConfigTypographicSimpleQuotes().end ),
oDoubleBegin( autoFormat->getConfigTypographicDoubleQuotes().begin ),

@ -36,7 +36,7 @@
KoCompletionDia::KoCompletionDia( TQWidget *parent, const char *name, KoAutoFormat * autoFormat )
: KDialogBase( parent, name , true, i18n( "Completion" ), Ok|Cancel|User1,
Ok, true, KGuiItem( i18n( "&Reset" ), "undo" ) )
Ok, true, KGuiItem( i18n( "&Reset" ), "edit-undo" ) )
{
TQVBox *page = makeVBoxMainWidget();
m_widget = new KoCompletion(page, autoFormat);

Loading…
Cancel
Save