[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/juk
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2004-04-15 23:25:32
Message-ID: 20040415232532.BE99E9A2B () office ! kde ! org
[Download RAW message or body]

CVS commit by wheeler: 

More action icons.


  M +20 -17    juk.cpp   1.193


--- kdemultimedia/juk/juk.cpp  #1.192:1.193
@@ -22,4 +22,5 @@
 #include <kdebug.h>
 #include <kmessagebox.h>
+#include <kiconloader.h>
 
 #include <qslider.h>
@@ -135,6 +136,6 @@ void JuK::setupLayout()
     // (because PlaylistSplitter itself accesses the actionCollection)
 
-    new KAction(i18n("&Rename File"), 0, "CTRL+r", m_splitter, SLOT(slotRenameFile()),
-                actions(), "renameFile"); // 4
+    new KAction(i18n("&Rename File"), "filesaveas", "CTRL+r", m_splitter,
+                SLOT(slotRenameFile()), actions(), "renameFile");
 
     m_splitter->setFocus();
@@ -246,12 +247,13 @@ void JuK::setupActions()
                                              QString::null, actions(),
                                              "guessTag");
+    guessMenu->setIconSet(SmallIconSet("wizard"));
 
     guessMenu->insert(
-        new KAction(i18n("From &Filename"), 0, "CTRL+f", this, SLOT(slotGuessTagInfoFromFile()),
-                    actions(), "guessTagFile"));
+        new KAction(i18n("From &Filename"), "fileimport", "CTRL+f",
+                    this, SLOT(slotGuessTagInfoFromFile()), actions(), "guessTagFile"));
 #if HAVE_MUSICBRAINZ
     guessMenu->insert(
-        new KAction(i18n("From &Internet"), 0, "CTRL+i", this, SLOT(slotGuessTagInfoFromInternet()),
-                    actions(), "guessTagInternet"));
+        new KAction(i18n("From &Internet"), "connect_established", "CTRL+i",
+                    this, SLOT(slotGuessTagInfoFromInternet()), actions(), "guessTagInternet"));
 #endif
 
@@ -262,15 +264,16 @@ void JuK::setupActions()
     setStandardToolBarMenuEnabled(true);
 
-    m_toggleSplashAction = new KToggleAction(i18n("Show Splash Screen on Startup"),
-                                             0, actions(), "showSplashScreen");
-
-    m_toggleSystemTrayAction = new KToggleAction(i18n("&Dock in System Tray"),
-                                                 0, actions(), "toggleSystemTray");
-
-    m_toggleDockOnCloseAction = new KToggleAction(i18n("&Stay in System Tray on Close"),
-                                                  0, actions(), "dockOnClose");
-
-    m_togglePopupsAction = new KToggleAction(i18n("Popup &Track Announcement"),
-                                             0, this, 0, actions(), "togglePopups");
+    m_toggleSplashAction =
+        new KToggleAction(i18n("Show Splash Screen on Startup"), "launch",
+                          KShortcut(), actions(), "showSplashScreen");
+    m_toggleSystemTrayAction =
+        new KToggleAction(i18n("&Dock in System Tray"),
+                          KShortcut(), actions(), "toggleSystemTray");
+    m_toggleDockOnCloseAction = 
+        new KToggleAction(i18n("&Stay in System Tray on Close"),
+                          KShortcut(), actions(), "dockOnClose");
+    m_togglePopupsAction =
+        new KToggleAction(i18n("Popup &Track Announcement"), "info",
+                          KShortcut(), this, 0, actions(), "togglePopups");
 
     connect(m_toggleSystemTrayAction, SIGNAL(toggled(bool)),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic