From 58964048b37c52bbb841d7ec9386a75d9bf8fbc7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 15:43:58 -0500 Subject: Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance --- kaddressbook/emaileditwidget.cpp | 2 +- kaddressbook/features/distributionlistwidget.cpp | 2 +- kaddressbook/features/resourceselection.cpp | 2 +- kaddressbook/kabcore.cpp | 2 +- kaddressbook/keywidget.cpp | 2 +- kaddressbook/viewmanager.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kaddressbook') diff --git a/kaddressbook/emaileditwidget.cpp b/kaddressbook/emaileditwidget.cpp index a9bdf999..d517f0b6 100644 --- a/kaddressbook/emaileditwidget.cpp +++ b/kaddressbook/emaileditwidget.cpp @@ -305,7 +305,7 @@ void EmailEditDialog::remove() TQString text = i18n( "Are you sure that you want to remove the email address %1?" ).arg( address ); TQString caption = i18n( "Confirm Remove" ); - if ( KMessageBox::warningContinueCancel( this, text, caption, KGuiItem( i18n("&Delete"), "editdelete") ) == KMessageBox::Continue) { + if ( KMessageBox::warningContinueCancel( this, text, caption, KGuiItem( i18n("&Delete"), "edit-delete") ) == KMessageBox::Continue) { EmailItem *item = static_cast( mEmailListBox->item( mEmailListBox->currentItem() ) ); bool preferred = item->preferred(); diff --git a/kaddressbook/features/distributionlistwidget.cpp b/kaddressbook/features/distributionlistwidget.cpp index dce024a8..28a6f8ff 100644 --- a/kaddressbook/features/distributionlistwidget.cpp +++ b/kaddressbook/features/distributionlistwidget.cpp @@ -344,7 +344,7 @@ void DistributionListWidget::removeList() { int result = KMessageBox::warningContinueCancel( this, i18n( "Delete distribution list %1?" ) .arg( mNameCombo->currentText() ), - TQString(), KGuiItem( i18n("Delete"), "editdelete") ); + TQString(), KGuiItem( i18n("Delete"), "edit-delete") ); if ( result != KMessageBox::Continue ) return; diff --git a/kaddressbook/features/resourceselection.cpp b/kaddressbook/features/resourceselection.cpp index 66d75b98..1d80c915 100644 --- a/kaddressbook/features/resourceselection.cpp +++ b/kaddressbook/features/resourceselection.cpp @@ -299,7 +299,7 @@ void ResourceSelection::remove() int result = KMessageBox::warningContinueCancel( this, i18n( "Do you really want to remove the address book %1?" ) .arg( item->resource()->resourceName() ), "", - KGuiItem( i18n( "&Remove" ), "editdelete" ) ); + KGuiItem( i18n( "&Remove" ), "edit-delete" ) ); if ( result == KMessageBox::Cancel ) return; diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index c17a70c6..186f0fa5 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -1366,7 +1366,7 @@ void KABCore::initActions() // mActionUndo->setWhatsThis( i18n( "Undoes the last Cut, Copy or Paste." ) ); // mActionRedo->setWhatsThis( i18n( "Redoes the last Cut, Copy or Paste." ) ); - mActionDelete = new TDEAction( i18n( "&Delete Contact" ), "editdelete", + mActionDelete = new TDEAction( i18n( "&Delete Contact" ), "edit-delete", Key_Delete, this, TQT_SLOT( deleteContacts() ), actionCollection(), "edit_delete" ); mActionDelete->setWhatsThis( i18n( "Delete all selected contacts." ) ); diff --git a/kaddressbook/keywidget.cpp b/kaddressbook/keywidget.cpp index 8af9f261..c0417b7e 100644 --- a/kaddressbook/keywidget.cpp +++ b/kaddressbook/keywidget.cpp @@ -154,7 +154,7 @@ void KeyWidget::removeKey() TQString type = mKeyCombo->currentText(); TQString text = i18n( "Do you really want to remove the key %1?" ); - if ( KMessageBox::warningContinueCancel( this, text.arg( type ), "", KGuiItem( i18n("&Delete"), "editdelete") ) == KMessageBox::Cancel ) + if ( KMessageBox::warningContinueCancel( this, text.arg( type ), "", KGuiItem( i18n("&Delete"), "edit-delete") ) == KMessageBox::Cancel ) return; mKeyList.remove( mKeyList.at( pos ) ); diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index 8b211367..93fe626b 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -310,7 +310,7 @@ void ViewManager::deleteView() .arg( mActiveView->caption() ); TQString caption = i18n( "Confirm Delete" ); - if ( KMessageBox::warningContinueCancel( this, text, caption, KGuiItem( i18n("&Delete"), "editdelete") ) == KMessageBox::Continue ) { + if ( KMessageBox::warningContinueCancel( this, text, caption, KGuiItem( i18n("&Delete"), "edit-delete") ) == KMessageBox::Continue ) { mViewNameList.remove( mActiveView->caption() ); // remove the view from the config file -- cgit v1.2.3