diff options
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kcommand.cpp | 4 | ||||
-rw-r--r-- | tdeui/keditcl2.cpp | 8 | ||||
-rw-r--r-- | tdeui/klineedit.cpp | 4 | ||||
-rw-r--r-- | tdeui/kstdaction_p.h | 6 | ||||
-rw-r--r-- | tdeui/kstdguiitem.cpp | 4 | ||||
-rw-r--r-- | tdeui/ktextbrowser.cpp | 4 | ||||
-rw-r--r-- | tdeui/ktextedit.cpp | 4 |
7 files changed, 17 insertions, 17 deletions
diff --git a/tdeui/kcommand.cpp b/tdeui/kcommand.cpp index 994d1262e..5357e557a 100644 --- a/tdeui/kcommand.cpp +++ b/tdeui/kcommand.cpp @@ -83,7 +83,7 @@ KCommandHistory::KCommandHistory(TDEActionCollection * actionCollection, bool wi d=new KCommandHistoryPrivate(); if (withMenus) { - TDEToolBarPopupAction * undo = new TDEToolBarPopupAction( i18n("&Undo"), "undo", + TDEToolBarPopupAction * undo = new TDEToolBarPopupAction( i18n("&Undo"), "edit-undo", TDEStdAccel::shortcut(TDEStdAccel::Undo), this, TQT_SLOT( undo() ), actionCollection, KStdAction::stdName( KStdAction::Undo ) ); connect( undo->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( slotUndoAboutToShow() ) ); @@ -91,7 +91,7 @@ KCommandHistory::KCommandHistory(TDEActionCollection * actionCollection, bool wi m_undo = undo; m_undoPopup = undo->popupMenu(); - TDEToolBarPopupAction * redo = new TDEToolBarPopupAction( i18n("&Redo"), "redo", + TDEToolBarPopupAction * redo = new TDEToolBarPopupAction( i18n("&Redo"), "edit-redo", TDEStdAccel::shortcut(TDEStdAccel::Redo), this, TQT_SLOT( redo() ), actionCollection, KStdAction::stdName( KStdAction::Redo ) ); connect( redo->popupMenu(), TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( slotRedoAboutToShow() ) ); diff --git a/tdeui/keditcl2.cpp b/tdeui/keditcl2.cpp index 4749a471f..4a3a22eeb 100644 --- a/tdeui/keditcl2.cpp +++ b/tdeui/keditcl2.cpp @@ -698,7 +698,7 @@ public: KEdFind::KEdFind( TQWidget *parent, const char *name, bool modal ) :KDialogBase( parent, name, modal, i18n("Find"), - modal ? User1|Cancel : User1|Close, User1, false, KGuiItem( i18n("&Find"), "find") ) + modal ? User1|Cancel : User1|Close, User1, false, KGuiItem( i18n("&Find"), "edit-find") ) { setWFlags( WType_TopLevel ); @@ -830,7 +830,7 @@ KEdReplace::KEdReplace( TQWidget *parent, const char *name, bool modal ) :KDialogBase( parent, name, modal, i18n("Replace"), modal ? User3|User2|User1|Cancel : User3|User2|User1|Close, User3, false, - i18n("Replace &All"), i18n("&Replace"), KGuiItem( i18n("&Find"), "find") ) + i18n("Replace &All"), i18n("&Replace"), KGuiItem( i18n("&Find"), "edit-find") ) { setWFlags( WType_TopLevel ); @@ -1115,8 +1115,8 @@ TQPopupMenu *KEdit::createPopupMenu( const TQPoint& pos ) menu->changeItem( menu->idAt(0), SmallIconSet("editcopy"), menu->text( menu->idAt(0) ) ); else { int id = menu->idAt(0); - menu->changeItem( id - IdUndo, SmallIconSet("undo"), menu->text( id - IdUndo) ); - menu->changeItem( id - IdRedo, SmallIconSet("redo"), menu->text( id - IdRedo) ); + menu->changeItem( id - IdUndo, SmallIconSet("edit-undo"), menu->text( id - IdUndo) ); + menu->changeItem( id - IdRedo, SmallIconSet("edit-redo"), menu->text( id - IdRedo) ); menu->changeItem( id - IdCut, SmallIconSet("editcut"), menu->text( id - IdCut) ); menu->changeItem( id - IdCopy, SmallIconSet("editcopy"), menu->text( id - IdCopy) ); menu->changeItem( id - IdPaste, SmallIconSet("editpaste"), menu->text( id - IdPaste) ); diff --git a/tdeui/klineedit.cpp b/tdeui/klineedit.cpp index 588746ec1..f41ebd22c 100644 --- a/tdeui/klineedit.cpp +++ b/tdeui/klineedit.cpp @@ -866,8 +866,8 @@ TQPopupMenu *KLineEdit::createPopupMenu() TQPopupMenu *popup = TQLineEdit::createPopupMenu(); int id = popup->idAt(0); - popup->changeItem( id - IdUndo, SmallIconSet("undo"), popup->text( id - IdUndo) ); - popup->changeItem( id - IdRedo, SmallIconSet("redo"), popup->text( id - IdRedo) ); + popup->changeItem( id - IdUndo, SmallIconSet("edit-undo"), popup->text( id - IdUndo) ); + popup->changeItem( id - IdRedo, SmallIconSet("edit-redo"), popup->text( id - IdRedo) ); popup->changeItem( id - IdCut, SmallIconSet("editcut"), popup->text( id - IdCut) ); popup->changeItem( id - IdCopy, SmallIconSet("editcopy"), popup->text( id - IdCopy) ); popup->changeItem( id - IdPaste, SmallIconSet("editpaste"), popup->text( id - IdPaste) ); diff --git a/tdeui/kstdaction_p.h b/tdeui/kstdaction_p.h index 6a119b2c8..407d76fa1 100644 --- a/tdeui/kstdaction_p.h +++ b/tdeui/kstdaction_p.h @@ -49,8 +49,8 @@ static const KStdActionInfo g_rgActionInfo[] = { Mail, TDEStdAccel::AccelNone, "file_mail", I18N_NOOP("&Mail..."), 0, "mail_send" }, { Quit, TDEStdAccel::Quit, "file_quit", I18N_NOOP("&Quit"), 0, "exit" }, - { Undo, TDEStdAccel::Undo, "edit_undo", I18N_NOOP("&Undo"), 0, "undo" }, - { Redo, TDEStdAccel::Redo, "edit_redo", I18N_NOOP("Re&do"), 0, "redo" }, + { Undo, TDEStdAccel::Undo, "edit_undo", I18N_NOOP("&Undo"), 0, "edit-undo" }, + { Redo, TDEStdAccel::Redo, "edit_redo", I18N_NOOP("Re&do"), 0, "edit-redo" }, { Cut, TDEStdAccel::Cut, "edit_cut", I18N_NOOP("Cu&t"), 0, "editcut" }, { Copy, TDEStdAccel::Copy, "edit_copy", I18N_NOOP("&Copy"), 0, "editcopy" }, { Paste, TDEStdAccel::Paste, "edit_paste", I18N_NOOP("&Paste"), 0, "editpaste" }, @@ -58,7 +58,7 @@ static const KStdActionInfo g_rgActionInfo[] = { Clear, TDEStdAccel::AccelNone, "edit_clear", I18N_NOOP("C&lear"), 0, "editclear" }, { SelectAll, TDEStdAccel::SelectAll, "edit_select_all", I18N_NOOP("Select &All"), 0, 0 }, { Deselect, TDEStdAccel::Deselect, "edit_deselect", I18N_NOOP("Dese&lect"), 0, 0 }, - { Find, TDEStdAccel::Find, "edit_find", I18N_NOOP("&Find..."), 0, "find" }, + { Find, TDEStdAccel::Find, "edit_find", I18N_NOOP("&Find..."), 0, "edit-find" }, { FindNext, TDEStdAccel::FindNext, "edit_find_next", I18N_NOOP("Find &Next"), 0, "go-next" }, // FIXME: rename edit_find_last to edit_find_prev for KDE 4 { FindPrev, TDEStdAccel::FindPrev, "edit_find_last", I18N_NOOP("Find Pre&vious"), 0, "go-previous" }, diff --git a/tdeui/kstdguiitem.cpp b/tdeui/kstdguiitem.cpp index 793d4d946..db8c26b91 100644 --- a/tdeui/kstdguiitem.cpp +++ b/tdeui/kstdguiitem.cpp @@ -235,7 +235,7 @@ KGuiItem KStdGuiItem::quit() KGuiItem KStdGuiItem::reset() { - return KGuiItem( i18n( "&Reset" ), "undo", + return KGuiItem( i18n( "&Reset" ), "edit-undo", i18n( "Reset configuration" ) ); } @@ -251,7 +251,7 @@ KGuiItem KStdGuiItem::configure() KGuiItem KStdGuiItem::find() { - return KGuiItem(i18n("&Find"), "find"); + return KGuiItem(i18n("&Find"), "edit-find"); } KGuiItem KStdGuiItem::stop() diff --git a/tdeui/ktextbrowser.cpp b/tdeui/ktextbrowser.cpp index a4b716db7..d8405bf7a 100644 --- a/tdeui/ktextbrowser.cpp +++ b/tdeui/ktextbrowser.cpp @@ -128,8 +128,8 @@ TQPopupMenu *KTextBrowser::createPopupMenu( const TQPoint & pos ) popup->changeItem( popup->idAt(0), SmallIconSet("editcopy"), popup->text( popup->idAt(0) ) ); else { int id = popup->idAt(0); - popup->changeItem( id - IdUndo, SmallIconSet("undo"), popup->text( id - IdUndo) ); - popup->changeItem( id - IdRedo, SmallIconSet("redo"), popup->text( id - IdRedo) ); + popup->changeItem( id - IdUndo, SmallIconSet("edit-undo"), popup->text( id - IdUndo) ); + popup->changeItem( id - IdRedo, SmallIconSet("edit-redo"), popup->text( id - IdRedo) ); popup->changeItem( id - IdCut, SmallIconSet("editcut"), popup->text( id - IdCut) ); popup->changeItem( id - IdCopy, SmallIconSet("editcopy"), popup->text( id - IdCopy) ); popup->changeItem( id - IdPaste, SmallIconSet("editpaste"), popup->text( id - IdPaste) ); diff --git a/tdeui/ktextedit.cpp b/tdeui/ktextedit.cpp index 445540099..03cd006a4 100644 --- a/tdeui/ktextedit.cpp +++ b/tdeui/ktextedit.cpp @@ -220,8 +220,8 @@ TQPopupMenu *KTextEdit::createPopupMenu( const TQPoint &pos ) menu->changeItem( menu->idAt(0), SmallIconSet("editcopy"), menu->text( menu->idAt(0) ) ); else { int id = menu->idAt(0); - menu->changeItem( id - IdUndo, SmallIconSet("undo"), menu->text( id - IdUndo) ); - menu->changeItem( id - IdRedo, SmallIconSet("redo"), menu->text( id - IdRedo) ); + menu->changeItem( id - IdUndo, SmallIconSet("edit-undo"), menu->text( id - IdUndo) ); + menu->changeItem( id - IdRedo, SmallIconSet("edit-redo"), menu->text( id - IdRedo) ); menu->changeItem( id - IdCut, SmallIconSet("editcut"), menu->text( id - IdCut) ); menu->changeItem( id - IdCopy, SmallIconSet("editcopy"), menu->text( id - IdCopy) ); menu->changeItem( id - IdPaste, SmallIconSet("editpaste"), menu->text( id - IdPaste) ); |