diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-13 15:43:42 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-13 15:43:42 -0500 |
commit | 425e07cd783bd1093c082b59eef61c1edce0be0a (patch) | |
tree | 8d043ac5d01c73dc1bed88cf49a69cd46125728f /src/bnpview.cpp | |
parent | 5595896b65965d3fee43e6a22921c0e7d5201f8d (diff) | |
download | basket-425e07cd783bd1093c082b59eef61c1edce0be0a.tar.gz basket-425e07cd783bd1093c082b59eef61c1edce0be0a.zip |
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
Diffstat (limited to 'src/bnpview.cpp')
-rw-r--r-- | src/bnpview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bnpview.cpp b/src/bnpview.cpp index bec6f75..a00c065 100644 --- a/src/bnpview.cpp +++ b/src/bnpview.cpp @@ -440,7 +440,7 @@ void BNPView::setupActions() /** Note : ****************************************************************/ - m_actDelNote = new TDEAction( i18n("D&elete"), "editdelete", "Delete", + m_actDelNote = new TDEAction( i18n("D&elete"), "edit-delete", "Delete", TQT_TQOBJECT(this), TQT_SLOT(delNote()), actionCollection(), "edit_delete" ); m_actCutNote = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT(cutNote()), actionCollection() ); m_actCopyNote = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT(copyNote()), actionCollection() ); @@ -563,14 +563,14 @@ void BNPView::setupActions() } // Use the "basket" incon in Kontact so it is consistent with the Kontact "New..." icon - actNewBasket = new TDEAction( i18n("&New Basket..."), (runInsideKontact ? "basket" : "filenew"), TDEStdAccel::shortcut(TDEStdAccel::New), + actNewBasket = new TDEAction( i18n("&New Basket..."), (runInsideKontact ? "basket" : "document-new"), TDEStdAccel::shortcut(TDEStdAccel::New), TQT_TQOBJECT(this), TQT_SLOT(askNewBasket()), actionCollection(), "basket_new" ); actNewSubBasket = new TDEAction( i18n("New &Sub-Basket..."), "", "Ctrl+Shift+N", TQT_TQOBJECT(this), TQT_SLOT(askNewSubBasket()), actionCollection(), "basket_new_sub" ); actNewSiblingBasket = new TDEAction( i18n("New Si&bling Basket..."), "", "", TQT_TQOBJECT(this), TQT_SLOT(askNewSiblingBasket()), actionCollection(), "basket_new_sibling" ); - TDEActionMenu *newBasketMenu = new TDEActionMenu(i18n("&New"), "filenew", actionCollection(), "basket_new_menu"); + TDEActionMenu *newBasketMenu = new TDEActionMenu(i18n("&New"), "document-new", actionCollection(), "basket_new_menu"); newBasketMenu->insert(actNewBasket); newBasketMenu->insert(actNewSubBasket); newBasketMenu->insert(actNewSiblingBasket); @@ -1429,7 +1429,7 @@ void BNPView::updateNotesActions() } } else if (m_type != Color) { popupMenu->insertSeparator(); - popupMenu->insertItem( SmallIconSet("filesaveas"), i18n("&Save a copy as..."), TQT_TQOBJECT(this), TQT_SLOT(slotSaveAs()), 0, 10 ); + popupMenu->insertItem( SmallIconSet("document-save-as"), i18n("&Save a copy as..."), TQT_TQOBJECT(this), TQT_SLOT(slotSaveAs()), 0, 10 ); }*/ } @@ -1710,7 +1710,7 @@ void BNPView::delBasket() .arg(Tools::textToHTMLWithoutP(basket->basketName())), i18n("Remove Basket") #if KDE_IS_VERSION( 3, 2, 90 ) // KDE 3.3.x - , KGuiItem(i18n("&Remove Basket"), "editdelete"), KStdGuiItem::cancel()); + , KGuiItem(i18n("&Remove Basket"), "edit-delete"), KStdGuiItem::cancel()); #else ); #endif @@ -1726,7 +1726,7 @@ void BNPView::delBasket() basketsList, i18n("Remove Children Baskets") #if KDE_IS_VERSION( 3, 2, 90 ) // KDE 3.3.x - , KGuiItem(i18n("&Remove Children Baskets"), "editdelete")); + , KGuiItem(i18n("&Remove Children Baskets"), "edit-delete")); #else ); #endif @@ -1810,7 +1810,7 @@ void BNPView::saveAsArchive() "<qt>" + i18n("The file <b>%1</b> already exists. Do you really want to override it?") .arg(KURL(destination).fileName()), i18n("Override File?"), - KGuiItem(i18n("&Override"), "filesave") + KGuiItem(i18n("&Override"), "document-save") ); if (result == KMessageBox::Cancel) return; @@ -2310,13 +2310,13 @@ void BNPView::populateTagsMenu(TDEPopupMenu &menu, Note *referenceNote) } menu.insertSeparator(); -// menu.insertItem( /*SmallIconSet("editdelete"),*/ "&Assign new Tag...", 1 ); - //id = menu.insertItem( SmallIconSet("editdelete"), "&Remove All", -2 ); +// menu.insertItem( /*SmallIconSet("edit-delete"),*/ "&Assign new Tag...", 1 ); + //id = menu.insertItem( SmallIconSet("edit-delete"), "&Remove All", -2 ); //if (referenceNote->states().isEmpty()) // menu.setItemEnabled(id, false); // menu.insertItem( SmallIconSet("configure"), "&Customize...", 3 ); menu.insertItem( new IndentedMenuItem(i18n("&Assign new Tag...")), 1 ); - menu.insertItem( new IndentedMenuItem(i18n("&Remove All"), "editdelete"), 2 ); + menu.insertItem( new IndentedMenuItem(i18n("&Remove All"), "edit-delete"), 2 ); menu.insertItem( new IndentedMenuItem(i18n("&Customize..."), "configure"), 3 ); menu.setItemEnabled(1, enable); |