From fd06cd80d2fb44f970b3d7b026f9eb3c330a46cf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 15:43:59 -0500 Subject: Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance --- parts/abbrev/abbrevconfigwidget.cpp | 2 +- parts/diff/diffpart.cpp | 2 +- parts/diff/diffwidget.cpp | 2 +- parts/filecreate/filecreate_part.cpp | 2 +- parts/filelist/filelist_item.cpp | 2 +- parts/filelist/projectviewpart.cpp | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'parts') diff --git a/parts/abbrev/abbrevconfigwidget.cpp b/parts/abbrev/abbrevconfigwidget.cpp index 77276371..7019b9fb 100644 --- a/parts/abbrev/abbrevconfigwidget.cpp +++ b/parts/abbrev/abbrevconfigwidget.cpp @@ -97,7 +97,7 @@ void AbbrevConfigWidget::codeChanged() if (item->text(3) == item->text(4)) item->setPixmap( 0, SmallIcon("template_source") ); else - item->setPixmap( 0, SmallIcon("filesave") ); + item->setPixmap( 0, SmallIcon("document-save") ); } } diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp index a0dbafdd..01c703d0 100644 --- a/parts/diff/diffpart.cpp +++ b/parts/diff/diffpart.cpp @@ -48,7 +48,7 @@ DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &) setXMLFile("kdevdiff.rc"); diffWidget = new DiffWidget(this, 0, "diffWidget"); - diffWidget->setIcon( SmallIcon("editcopy") ); + diffWidget->setIcon( SmallIcon("edit-copy") ); TQString nm( i18n( "Diff" ) ); diffWidget->setCaption( i18n( "Diff Output" ) ); TQWhatsThis::add(diffWidget, i18n("Difference viewer

Shows output of the diff format. " diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp index 51dabcaf..b52b8b25 100644 --- a/parts/diff/diffwidget.cpp +++ b/parts/diff/diffwidget.cpp @@ -80,7 +80,7 @@ TQPopupMenu* KDiffTextEdit::createPopupMenu( const TQPoint& p ) popup->insertSeparator( i ); connect( popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(popupActivated(int)) ); - popup->insertItem( SmallIconSet( "filesaveas" ), i18n( "&Save As..." ), this, TQT_SLOT(saveAs()), CTRL + Key_S, POPUP_BASE - 2, 0 ); + popup->insertItem( SmallIconSet( "document-save-as" ), i18n( "&Save As..." ), this, TQT_SLOT(saveAs()), CTRL + Key_S, POPUP_BASE - 2, 0 ); popup->setItemEnabled( POPUP_BASE - 2, length() > 0 ); popup->insertSeparator( 1 ); diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp index 19deeb66..371e3733 100644 --- a/parts/filecreate/filecreate_part.cpp +++ b/parts/filecreate/filecreate_part.cpp @@ -78,7 +78,7 @@ FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStrin this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) ); - TDEToolBarPopupAction * newAction = new TDEToolBarPopupAction( i18n("&New"), "filenew", CTRL+TQt::Key_N, this, TQT_SLOT(slotNewFile()), actionCollection(), "file_new"); + TDEToolBarPopupAction * newAction = new TDEToolBarPopupAction( i18n("&New"), "document-new", CTRL+TQt::Key_N, this, TQT_SLOT(slotNewFile()), actionCollection(), "file_new"); newAction->setWhatsThis( i18n("New file

Creates a new file. Also adds it the project if the Add to project checkbox is turned on.") ); newAction->setToolTip( i18n("Create a new file") ); m_newPopupMenu = newAction->popupMenu(); diff --git a/parts/filelist/filelist_item.cpp b/parts/filelist/filelist_item.cpp index b2df14e9..2d48a043 100644 --- a/parts/filelist/filelist_item.cpp +++ b/parts/filelist/filelist_item.cpp @@ -51,7 +51,7 @@ void FileListItem::setState( DocumentState state ) // setPixmap( 0, 0L ); break; case Modified: - setPixmap( 0, SmallIcon("filesave") ); + setPixmap( 0, SmallIcon("document-save") ); break; case Dirty: setPixmap( 0, SmallIcon("document-revert") ); diff --git a/parts/filelist/projectviewpart.cpp b/parts/filelist/projectviewpart.cpp index 517d2f98..8db2a727 100644 --- a/parts/filelist/projectviewpart.cpp +++ b/parts/filelist/projectviewpart.cpp @@ -281,17 +281,17 @@ void ProjectviewPart::setupActions() m_openPrjViewAction->setToolTip(i18n("Open Session")); - m_savePrjViewAction = new TDEAction(i18n("Save Session"), "filesave", 0, this, TQT_SLOT(slotSaveProjectView()), actionCollection(), "viewsession_save"); + m_savePrjViewAction = new TDEAction(i18n("Save Session"), "document-save", 0, this, TQT_SLOT(slotSaveProjectView()), actionCollection(), "viewsession_save"); - m_newPrjViewAction = new TDEAction(i18n("New Session..."), "filenew", 0, this, TQT_SLOT(slotSaveAsProjectView()), actionCollection(), "viewsession_new"); + m_newPrjViewAction = new TDEAction(i18n("New Session..."), "document-new", 0, this, TQT_SLOT(slotSaveAsProjectView()), actionCollection(), "viewsession_new"); - m_deletePrjViewAction = new TDESelectAction(i18n("Delete Session"), "editdelete", 0, actionCollection(), "viewsession_delete"); + m_deletePrjViewAction = new TDESelectAction(i18n("Delete Session"), "edit-delete", 0, actionCollection(), "viewsession_delete"); connect(m_deletePrjViewAction, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotDeleteProjectView(const TQString &))); m_deletePrjViewAction->setToolTip(i18n("Delete Session")); - m_deleteCurrentPrjViewAction = new TDEAction(i18n("Delete Session"), "editdelete", 0, this, TQT_SLOT(slotDeleteProjectViewCurent()), actionCollection(), "viewsession_deletecurrent"); + m_deleteCurrentPrjViewAction = new TDEAction(i18n("Delete Session"), "edit-delete", 0, this, TQT_SLOT(slotDeleteProjectViewCurent()), actionCollection(), "viewsession_deletecurrent"); m_deleteCurrentPrjViewAction->setToolTip(i18n("Delete Session")); -- cgit v1.2.3