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

pull/21/head
Timothy Pearson 10 years ago
parent 267521c81f
commit d59f74e30f

@ -363,7 +363,7 @@ void CertManager::createActions() {
mComboAction = new ComboAction( lst, actionCollection(), TQT_TQOBJECT(this), TQT_SLOT( slotToggleRemote(int) ), mComboAction = new ComboAction( lst, actionCollection(), TQT_TQOBJECT(this), TQT_SLOT( slotToggleRemote(int) ),
"location_combo_action", mNextFindRemote? 1 : 0 ); "location_combo_action", mNextFindRemote? 1 : 0 );
mFindAction = new TDEAction( i18n("Find"), "find", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSearch()), mFindAction = new TDEAction( i18n("Find"), "edit-find", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSearch()),
actionCollection(), "find" ); actionCollection(), "find" );
KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT(slotEditKeybindings()), actionCollection() ); KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT(slotEditKeybindings()), actionCollection() );

@ -40,7 +40,7 @@ Kleo::CryptoConfigDialog::CryptoConfigDialog( Kleo::CryptoConfig* config, TQWidg
WStyle_Customize | WStyle_DialogBorder | WStyle_Maximize | WStyle_Title | WStyle_SysMenu, WStyle_Customize | WStyle_DialogBorder | WStyle_Maximize | WStyle_Title | WStyle_SysMenu,
parent, name, true /*modal*/, parent, name, true /*modal*/,
i18n( "Configure" ), Default|Cancel|Apply|Ok|User1, i18n( "Configure" ), Default|Cancel|Apply|Ok|User1,
Ok, true /*separator*/, KGuiItem( i18n( "&Reset" ), "undo" ) ) Ok, true /*separator*/, KGuiItem( i18n( "&Reset" ), "edit-undo" ) )
{ {
mMainWidget = new CryptoConfigModule( config, this ); mMainWidget = new CryptoConfigModule( config, this );
setMainWidget( mMainWidget ); setMainWidget( mMainWidget );

@ -1406,7 +1406,7 @@ void KABCore::initActions()
action->setWhatsThis( i18n( "You will be presented with a dialog, that offers you all possibilities to configure KAddressBook." ) ); action->setWhatsThis( i18n( "You will be presented with a dialog, that offers you all possibilities to configure KAddressBook." ) );
// misc // misc
action = new TDEAction( i18n( "&Lookup Addresses in LDAP Directory..." ), "find", 0, action = new TDEAction( i18n( "&Lookup Addresses in LDAP Directory..." ), "edit-find", 0,
this, TQT_SLOT( openLDAPDialog() ), actionCollection(), "ldap_lookup" ); this, TQT_SLOT( openLDAPDialog() ), actionCollection(), "ldap_lookup" );
action->setWhatsThis( i18n( "Search for contacts on a LDAP server<p>You will be presented with a dialog, where you can search for contacts and select the ones you want to add to your local address book." ) ); action->setWhatsThis( i18n( "Search for contacts on a LDAP server<p>You will be presented with a dialog, where you can search for contacts and select the ones you want to add to your local address book." ) );

@ -2770,7 +2770,7 @@ void KMMainWidget::setupActions()
(void) new TDEAction( i18n("&Find Messages..."), "mail_find", Key_S, TQT_TQOBJECT(this), (void) new TDEAction( i18n("&Find Messages..."), "mail_find", Key_S, TQT_TQOBJECT(this),
TQT_SLOT(slotRequestFullSearchFromQuickSearch()), actionCollection(), "search_messages" ); TQT_SLOT(slotRequestFullSearchFromQuickSearch()), actionCollection(), "search_messages" );
mFindInMessageAction = new TDEAction( i18n("&Find in Message..."), "find", TDEStdAccel::shortcut(TDEStdAccel::Find), TQT_TQOBJECT(this), mFindInMessageAction = new TDEAction( i18n("&Find in Message..."), "edit-find", TDEStdAccel::shortcut(TDEStdAccel::Find), TQT_TQOBJECT(this),
TQT_SLOT(slotFind()), actionCollection(), "find_in_messages" ); TQT_SLOT(slotFind()), actionCollection(), "find_in_messages" );
(void) new TDEAction( i18n("Select &All Messages"), TDEStdAccel::selectAll(), TQT_TQOBJECT(this), (void) new TDEAction( i18n("Select &All Messages"), TDEStdAccel::selectAll(), TQT_TQOBJECT(this),

@ -110,7 +110,7 @@ SearchWindow::SearchWindow(KMMainWidget* w, const char* name,
KMFolder *curFolder, bool modal): KMFolder *curFolder, bool modal):
KDialogBase(0, name, modal, i18n("Find Messages"), KDialogBase(0, name, modal, i18n("Find Messages"),
User1 | User2 | Close, User1, false, User1 | User2 | Close, User1, false,
KGuiItem( i18n("&Search"), "find" ), KGuiItem( i18n("&Search"), "edit-find" ),
KStdGuiItem::stop()), KStdGuiItem::stop()),
mStopped(false), mStopped(false),
mCloseRequested(false), mCloseRequested(false),

@ -532,8 +532,8 @@ TQPopupMenu *KNoteEdit::createPopupMenu( const TQPoint &pos )
menu->changeItem( menu->idAt(0), SmallIconSet("editcopy"), menu->text( menu->idAt(0) ) ); menu->changeItem( menu->idAt(0), SmallIconSet("editcopy"), menu->text( menu->idAt(0) ) );
else { else {
int id = menu->idAt(0); int id = menu->idAt(0);
menu->changeItem( id - IdUndo, SmallIconSet("undo"), menu->text( id - IdUndo) ); menu->changeItem( id - IdUndo, SmallIconSet("edit-undo"), menu->text( id - IdUndo) );
menu->changeItem( id - IdRedo, SmallIconSet("redo"), menu->text( id - IdRedo) ); menu->changeItem( id - IdRedo, SmallIconSet("edit-redo"), menu->text( id - IdRedo) );
menu->changeItem( id - IdCut, SmallIconSet("editcut"), menu->text( id - IdCut) ); menu->changeItem( id - IdCut, SmallIconSet("editcut"), menu->text( id - IdCut) );
menu->changeItem( id - IdCopy, SmallIconSet("editcopy"), menu->text( id - IdCopy) ); menu->changeItem( id - IdCopy, SmallIconSet("editcopy"), menu->text( id - IdCopy) );
menu->changeItem( id - IdPaste, SmallIconSet("editpaste"), menu->text( id - IdPaste) ); menu->changeItem( id - IdPaste, SmallIconSet("editpaste"), menu->text( id - IdPaste) );

@ -47,7 +47,7 @@
SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent) SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
: KDialogBase(Plain,i18n("Find Events"),User1|Close,User1,parent,0,false,false, : KDialogBase(Plain,i18n("Find Events"),User1|Close,User1,parent,0,false,false,
KGuiItem( i18n("&Find"), "find") ) KGuiItem( i18n("&Find"), "edit-find") )
{ {
mCalendar = calendar; mCalendar = calendar;

Loading…
Cancel
Save