From 3a347442a45a0631beade76b2870e6c823c2304c 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 --- kommander/editor/messagelog.cpp | 8 ++++---- kommander/editor/propertyeditor.cpp | 4 ++-- kommander/editor/workspace.cpp | 6 +++--- kommander/pluginmanager/mainwindow.cpp | 2 +- kommander/widgets/fileselector.cpp | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kommander') diff --git a/kommander/editor/messagelog.cpp b/kommander/editor/messagelog.cpp index 3163016a..e6d13a21 100644 --- a/kommander/editor/messagelog.cpp +++ b/kommander/editor/messagelog.cpp @@ -31,11 +31,11 @@ MessageLog::MessageLog(TQWidget* parent, const char* name) : TQTabWidget(parent, name) { m_popupMenu = new TDEPopupMenu(this); - m_popupMenu->insertItem(SmallIconSet("editcopy"), i18n("Copy Current &Line"), this, TQT_SLOT(copyLine())); - m_popupMenu->insertItem(SmallIconSet("editcopy"), i18n("&Copy Content"), this, TQT_SLOT(copyContent())); - m_popupMenu->insertItem(SmallIconSet("filesaveas"), i18n("&Save As..."), this, TQT_SLOT(saveToFile())); + m_popupMenu->insertItem(SmallIconSet("edit-copy"), i18n("Copy Current &Line"), this, TQT_SLOT(copyLine())); + m_popupMenu->insertItem(SmallIconSet("edit-copy"), i18n("&Copy Content"), this, TQT_SLOT(copyContent())); + m_popupMenu->insertItem(SmallIconSet("document-save-as"), i18n("&Save As..."), this, TQT_SLOT(saveToFile())); m_popupMenu->insertSeparator(); - m_popupMenu->insertItem(SmallIconSet("editclear"), i18n("Clear"), this, TQT_SLOT(clearContent())); + m_popupMenu->insertItem(SmallIconSet("edit-clear"), i18n("Clear"), this, TQT_SLOT(clearContent())); for (int i = 0; i < m_listCount; i++) { diff --git a/kommander/editor/propertyeditor.cpp b/kommander/editor/propertyeditor.cpp index 4893ee80..f105a4e8 100644 --- a/kommander/editor/propertyeditor.cpp +++ b/kommander/editor/propertyeditor.cpp @@ -3392,8 +3392,8 @@ void EventList::showRMBMenu( TQListViewItem *i, const TQPoint &pos ) TQPopupMenu menu; const int NEW_ITEM = 1; const int DEL_ITEM = 2; - menu.insertItem( PixmapChooser::loadPixmap( "filenew" ), i18n("New Signal Handler" ), NEW_ITEM ); - menu.insertItem( PixmapChooser::loadPixmap( "editcut" ), i18n("Delete Signal Handler" ), DEL_ITEM ); + menu.insertItem( PixmapChooser::loadPixmap( "document-new" ), i18n("New Signal Handler" ), NEW_ITEM ); + menu.insertItem( PixmapChooser::loadPixmap( "edit-cut" ), i18n("Delete Signal Handler" ), DEL_ITEM ); int res = menu.exec( pos ); if ( res == NEW_ITEM ) { TQString s; diff --git a/kommander/editor/workspace.cpp b/kommander/editor/workspace.cpp index b7e2943a..a14eac60 100644 --- a/kommander/editor/workspace.cpp +++ b/kommander/editor/workspace.cpp @@ -660,14 +660,14 @@ void Workspace::rmbClicked( TQListViewItem *i, const TQPoint& pos ) case WorkspaceItem::SourceFileType: menu.insertItem( i18n("&Open Source File..." ), OPEN_SOURCE ); menu.insertSeparator(); - menu.insertItem( PixmapChooser::loadPixmap( "editcut" ), + menu.insertItem( PixmapChooser::loadPixmap( "edit-cut" ), i18n("&Remove Source File From Project" ), REMOVE_SOURCE ); break; #endif case WorkspaceItem::FormFileType: menu.insertItem( i18n("&Open Form..." ), OPEN_FORM ); menu.insertSeparator(); - menu.insertItem( PixmapChooser::loadPixmap( "editcut" ), + menu.insertItem( PixmapChooser::loadPixmap( "edit-cut" ), #ifndef KOMMANDER i18n("&Remove Form From Project" ), REMOVE_FORM ); #else @@ -677,7 +677,7 @@ void Workspace::rmbClicked( TQListViewItem *i, const TQPoint& pos ) case WorkspaceItem::FormSourceType: menu.insertItem( i18n("&Open Form Source..." ), OPEN_FORM_SOURCE ); menu.insertSeparator(); - menu.insertItem( PixmapChooser::loadPixmap( "editcut" ), + menu.insertItem( PixmapChooser::loadPixmap( "edit-cut" ), #ifndef KOMMANDER i18n("&Remove Form From Project" ), REMOVE_FORM ); #else diff --git a/kommander/pluginmanager/mainwindow.cpp b/kommander/pluginmanager/mainwindow.cpp index 1f07af77..dd196043 100644 --- a/kommander/pluginmanager/mainwindow.cpp +++ b/kommander/pluginmanager/mainwindow.cpp @@ -32,7 +32,7 @@ MainWindow::MainWindow( TQWidget* parent, const char *name, WFlags f ) : TDEMainWindow( parent, name, f ) { TDEToolBar *toolBar = new TDEToolBar( this ); - toolBar->insertButton("fileopen", Add, true, i18n("Add") ); + toolBar->insertButton("document-open", Add, true, i18n("Add") ); toolBar->insertButton("no", Remove, true, i18n("Remove") ); toolBar->insertButton("reload", Refresh, true, i18n("Refresh") ); connect( toolBar, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(toolButton(int)) ); diff --git a/kommander/widgets/fileselector.cpp b/kommander/widgets/fileselector.cpp index 8f67e346..9d6869a7 100644 --- a/kommander/widgets/fileselector.cpp +++ b/kommander/widgets/fileselector.cpp @@ -44,7 +44,7 @@ FileSelector::FileSelector(TQWidget * a_parent, const char *a_name) m_lineEdit = new KLineEdit(this); - m_selectButton = new KPushButton(BarIconSet("fileopen"), "", this); + m_selectButton = new KPushButton(BarIconSet("document-open"), "", this); m_boxLayout = new TQHBoxLayout(this, 0, 11); m_boxLayout->addWidget(m_lineEdit); -- cgit v1.2.1