Branch: master

ba417264 2014-10-13 15:43:43 Timothy Pearson
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
M src/k3b.cpp
M src/k3baudioplayer.cpp
M src/k3bdebuggingoutputdialog.cpp
M src/k3binteractiondialog.cpp
M src/k3bprojecttabwidget.cpp
M src/projects/k3baudiocdtextwidget.cpp
M src/projects/k3baudiotrackview.cpp
M src/projects/k3bdatadirtreeview.cpp
M src/projects/k3bdatafileview.cpp
M src/projects/k3bmovixview.cpp
M src/projects/k3bvcdlistview.cpp
M src/rip/k3baudiocdview.cpp
diff --git a/src/k3b.cpp b/src/k3b.cpp
index 6cd7cd7..abebb66 100644
--- a/src/k3b.cpp
+++ b/src/k3b.cpp
@@ -232,7 +232,7 @@
   setStandardToolBarMenuEnabled(true);
   KStdAction::showMenubar( TQT_TQOBJECT(this), TQT_SLOT(slotShowMenuBar()), actionCollection() );
 
-  actionFileNewMenu = new TDEActionMenu( i18n("&New Project"), "filenew", actionCollection(), "file_new" );
+  actionFileNewMenu = new TDEActionMenu( i18n("&New Project"), "document-new", actionCollection(), "file_new" );
   actionFileNewAudio = new TDEAction(i18n("New &Audio CD Project"), "audiocd", 0, TQT_TQOBJECT(this), TQT_SLOT(slotNewAudioDoc()),
 			     actionCollection(), "file_new_audio");
   actionFileNewData = new TDEAction(i18n("New Data &CD Project"), "datacd", 0, TQT_TQOBJECT(this), TQT_SLOT(slotNewDataDoc()),
@@ -271,7 +271,7 @@
 
 
 
-  actionProjectAddFiles = new TDEAction( i18n("&Add Files..."), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT(slotProjectAddFiles()),
+  actionProjectAddFiles = new TDEAction( i18n("&Add Files..."), "document-new", 0, TQT_TQOBJECT(this), TQT_SLOT(slotProjectAddFiles()),
 				       actionCollection(), "project_add_files");
 
   TDEAction* actionClearProject = new TDEAction( i18n("&Clear Project"), TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase", 0, 
diff --git a/src/k3baudioplayer.cpp b/src/k3baudioplayer.cpp
index 414bf01..f96ce93 100644
--- a/src/k3baudioplayer.cpp
+++ b/src/k3baudioplayer.cpp
@@ -222,10 +222,10 @@
 
   // actions
   // ------------------------------------------------------------------------
-  m_actionRemove = new TDEAction( i18n( "Remove" ), "editdelete",
+  m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
 				Key_Delete, this, TQT_SLOT(slotRemoveSelected()),
 				this, "audioplayer_remove" );
-  m_actionClear = new TDEAction( i18n( "Clear List" ), "editclear",
+  m_actionClear = new TDEAction( i18n( "Clear List" ), "edit-clear",
 			       0, this, TQT_SLOT(clear()),
 			       this, "audioplayer_clear" );
 
diff --git a/src/k3bdebuggingoutputdialog.cpp b/src/k3bdebuggingoutputdialog.cpp
index e0a5e66..4be80bc 100644
--- a/src/k3bdebuggingoutputdialog.cpp
+++ b/src/k3bdebuggingoutputdialog.cpp
@@ -39,7 +39,7 @@
   : KDialogBase( parent, "debugViewDialog", true, i18n("Debugging Output"), Close|User1|User2, Close, 
 		 false, 
 		 KStdGuiItem::saveAs(), 
-		 KGuiItem( i18n("Copy"), "editcopy" ) )
+		 KGuiItem( i18n("Copy"), "edit-copy" ) )
 {
   setButtonTip( User1, i18n("Save to file") );
   setButtonTip( User2, i18n("Copy to clipboard") );
diff --git a/src/k3binteractiondialog.cpp b/src/k3binteractiondialog.cpp
index 5ece498..92031e2 100644
--- a/src/k3binteractiondialog.cpp
+++ b/src/k3binteractiondialog.cpp
@@ -94,7 +94,7 @@
     layout2->addWidget( m_buttonLoadSettings );
 
     m_buttonSaveSettings = new TQToolButton( /*i18n("Save User Defaults"), */this, "m_buttonSaveSettings" );
-    ((TQToolButton*)m_buttonSaveSettings)->setIconSet( SmallIconSet( "filesave" ) );
+    ((TQToolButton*)m_buttonSaveSettings)->setIconSet( SmallIconSet( "document-save" ) );
     layout2->addWidget( m_buttonSaveSettings );
 
     mainGrid->addLayout( layout2, 2, 0 );
diff --git a/src/k3bprojecttabwidget.cpp b/src/k3bprojecttabwidget.cpp
index b97d442..3b9bc7c 100644
--- a/src/k3bprojecttabwidget.cpp
+++ b/src/k3bprojecttabwidget.cpp
@@ -143,7 +143,7 @@
 {
   // we need to cache the icon changes since the changed() signal will be emitted very often
   if( !m_projectDataMap[doc].modified ) {
-    setTabIconSet( doc->view(), SmallIconSet( "filesave" ) );
+    setTabIconSet( doc->view(), SmallIconSet( "document-save" ) );
     m_projectDataMap[doc].modified = true;
 
     // we need this one for the session management
diff --git a/src/projects/k3baudiocdtextwidget.cpp b/src/projects/k3baudiocdtextwidget.cpp
index 6b8dda6..a180f02 100644
--- a/src/projects/k3baudiocdtextwidget.cpp
+++ b/src/projects/k3baudiocdtextwidget.cpp
@@ -58,14 +58,14 @@
 {
   m_allFieldsDlg = new AllFieldsDialog( this );
 
-  m_buttonCopyTitle->setPixmap( SmallIcon( "editcopy" ) );
-  m_buttonCopyPerformer->setPixmap( SmallIcon( "editcopy" ) );
+  m_buttonCopyTitle->setPixmap( SmallIcon( "edit-copy" ) );
+  m_buttonCopyPerformer->setPixmap( SmallIcon( "edit-copy" ) );
 
-  m_allFieldsDlg->w->m_buttonCopyTitle->setPixmap( SmallIcon( "editcopy" ) );
-  m_allFieldsDlg->w->m_buttonCopyPerformer->setPixmap( SmallIcon( "editcopy" ) );
-  m_allFieldsDlg->w->m_buttonCopySongwriter->setPixmap( SmallIcon( "editcopy" ) );
-  m_allFieldsDlg->w->m_buttonCopyComposer->setPixmap( SmallIcon( "editcopy" ) );
-  m_allFieldsDlg->w->m_buttonCopyArranger->setPixmap( SmallIcon( "editcopy" ) );
+  m_allFieldsDlg->w->m_buttonCopyTitle->setPixmap( SmallIcon( "edit-copy" ) );
+  m_allFieldsDlg->w->m_buttonCopyPerformer->setPixmap( SmallIcon( "edit-copy" ) );
+  m_allFieldsDlg->w->m_buttonCopySongwriter->setPixmap( SmallIcon( "edit-copy" ) );
+  m_allFieldsDlg->w->m_buttonCopyComposer->setPixmap( SmallIcon( "edit-copy" ) );
+  m_allFieldsDlg->w->m_buttonCopyArranger->setPixmap( SmallIcon( "edit-copy" ) );
 
   TQValidator* cdTextVal = new K3bCdTextValidator( TQT_TQOBJECT(this) );
   m_editTitle->setValidator( cdTextVal );
diff --git a/src/projects/k3baudiotrackview.cpp b/src/projects/k3baudiotrackview.cpp
index 0786f70..63bd4a7 100644
--- a/src/projects/k3baudiotrackview.cpp
+++ b/src/projects/k3baudiotrackview.cpp
@@ -157,7 +157,7 @@
   m_actionProperties = new TDEAction( i18n("Properties"), "misc",
 				    TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotProperties()),
 				    actionCollection(), "track_properties" );
-  m_actionRemove = new TDEAction( i18n( "Remove" ), "editdelete",
+  m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
 				Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemove()),
 				actionCollection(), "track_remove" );
 
diff --git a/src/projects/k3bdatadirtreeview.cpp b/src/projects/k3bdatadirtreeview.cpp
index 1aa154c..f7ca4ae 100644
--- a/src/projects/k3bdatadirtreeview.cpp
+++ b/src/projects/k3bdatadirtreeview.cpp
@@ -282,9 +282,9 @@
 
   m_actionProperties = new TDEAction( i18n("Properties"), "misc", 0, TQT_TQOBJECT(this), TQT_SLOT(slotProperties()),
 				    actionCollection(), "properties" );
-  m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder_new", CTRL+Key_N, TQT_TQOBJECT(this), TQT_SLOT(slotNewDir()),
+  m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder-new", CTRL+Key_N, TQT_TQOBJECT(this), TQT_SLOT(slotNewDir()),
 				actionCollection(), "new_dir" );
-  m_actionRemove = new TDEAction( i18n("Remove"), "editdelete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()),
+  m_actionRemove = new TDEAction( i18n("Remove"), "edit-delete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()),
 				actionCollection(), "remove" );
   TDEShortcut renameShortCut( Key_F2 );
   renameShortCut.append( TDEShortcut(CTRL+Key_R) ); // backwards compatibility
diff --git a/src/projects/k3bdatafileview.cpp b/src/projects/k3bdatafileview.cpp
index 20527dc..634e26b 100644
--- a/src/projects/k3bdatafileview.cpp
+++ b/src/projects/k3bdatafileview.cpp
@@ -321,9 +321,9 @@
 
   m_actionProperties = new TDEAction( i18n("Properties"), "misc", 0, TQT_TQOBJECT(this), TQT_SLOT(slotProperties()),
 				    actionCollection(), "properties" );
-  m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder_new", CTRL+Key_N, TQT_TQOBJECT(this), TQT_SLOT(slotNewDir()),
+  m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder-new", CTRL+Key_N, TQT_TQOBJECT(this), TQT_SLOT(slotNewDir()),
 				actionCollection(), "new_dir" );
-  m_actionRemove = new TDEAction( i18n("Remove"), "editdelete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()),
+  m_actionRemove = new TDEAction( i18n("Remove"), "edit-delete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItem()),
 				actionCollection(), "remove" );
   TDEShortcut renameShortCut( Key_F2 );
   renameShortCut.append( TDEShortcut(CTRL+Key_R) ); // backwards compatibility
@@ -331,7 +331,7 @@
 				actionCollection(), "rename" );
   m_actionParentDir = new TDEAction( i18n("Parent Directory"), "go-up", 0, TQT_TQOBJECT(this), TQT_SLOT(slotParentDir()),
 				   actionCollection(), "parent_dir" );
-  m_actionOpen = new TDEAction( i18n("Open"), "fileopen", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOpen()),
+  m_actionOpen = new TDEAction( i18n("Open"), "document-open", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOpen()),
 				   actionCollection(), "open" );
 
   m_popupMenu = new TDEActionMenu( m_actionCollection, "contextMenu" );
diff --git a/src/projects/k3bmovixview.cpp b/src/projects/k3bmovixview.cpp
index 0780c08..959c3d7 100644
--- a/src/projects/k3bmovixview.cpp
+++ b/src/projects/k3bmovixview.cpp
@@ -53,10 +53,10 @@
   m_actionProperties = new TDEAction( i18n("Properties"), "misc",
 				    0, TQT_TQOBJECT(this), TQT_SLOT(showPropertiesDialog()),
 				    actionCollection(), "movix_show_props" );
-  m_actionRemove = new TDEAction( i18n( "Remove" ), "editdelete",
+  m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
 				Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveItems()),
 				actionCollection(), "movix_remove_item" );
-  m_actionRemoveSubTitle = new TDEAction( i18n( "Remove Subtitle File" ), "editdelete",
+  m_actionRemoveSubTitle = new TDEAction( i18n( "Remove Subtitle File" ), "edit-delete",
 					0, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveSubTitleItems()),
 					actionCollection(), "movix_remove_subtitle_item" );
   m_actionAddSubTitle = new TDEAction( i18n("Add Subtitle File..."), "",
diff --git a/src/projects/k3bvcdlistview.cpp b/src/projects/k3bvcdlistview.cpp
index dd06d68..289e858 100644
--- a/src/projects/k3bvcdlistview.cpp
+++ b/src/projects/k3bvcdlistview.cpp
@@ -95,7 +95,7 @@
 {
     m_actionCollection = new TDEActionCollection( this );
     m_actionProperties = new TDEAction( i18n( "Properties" ), "misc", 0, TQT_TQOBJECT(this), TQT_SLOT( showPropertiesDialog() ), actionCollection() );
-    m_actionRemove = new TDEAction( i18n( "Remove" ), "editdelete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT( slotRemoveTracks() ), actionCollection() );
+    m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT( slotRemoveTracks() ), actionCollection() );
 
     // disabled by default
     m_actionRemove->setEnabled( false );
diff --git a/src/rip/k3baudiocdview.cpp b/src/rip/k3baudiocdview.cpp
index 219a345..abe5224 100644
--- a/src/rip/k3baudiocdview.cpp
+++ b/src/rip/k3baudiocdview.cpp
@@ -251,7 +251,7 @@
   TDEAction* actionQueryCddb = new TDEAction( i18n("Query cddb"), "reload", 0, TQT_TQOBJECT(this),
 					  TQT_SLOT(queryCddb()), actionCollection(), "query_cddb" );
 
-  TDEAction* actionSaveCddbLocally = new TDEAction( i18n("Save Cddb Entry Locally"), "filesave", 0, TQT_TQOBJECT(this),
+  TDEAction* actionSaveCddbLocally = new TDEAction( i18n("Save Cddb Entry Locally"), "document-save", 0, TQT_TQOBJECT(this),
 						TQT_SLOT(slotSaveCddbLocally()), actionCollection(), "save_cddb_local" );
 
   // TODO: set the actions tooltips and whatsthis infos