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

List:       kde-bugs-dist
Subject:    [Bug 71555] Please provide a KDE wide hotkey to show/hide main
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2004-03-06 9:38:29
Message-ID: 20040306093829.25369.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=71555      
wheeler kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From wheeler kde org  2004-03-06 10:38 -------
CVS commit by wheeler: 

Adding global accelerator action for showing / hiding the main window.
There's currently no default set but there are items in the shortcuts
dialog for these actions now.

CCMAIL:71555-done bugs kde org


  M +2 -0      juk.cpp   1.178
  M +9 -1      keydialog.cpp   1.11


--- kdemultimedia/juk/keydialog.cpp  #1.10:1.11
 @ -64,5 +64,13  @ const KeyDialog::KeyInfo KeyDialog::keyI
       { { KShortcut::null(),                        KShortcut::null() },
         { Qt::CTRL+Qt::ALT+Qt::Key_M,               KKey::QtWIN+Qt::ALT+Qt::Key_M },
-        { Qt::Key_VolumeMute,                       Qt::Key_VolumeMute } } }
+        { Qt::Key_VolumeMute,                       Qt::Key_VolumeMute } } },
+    { "Show",
+      { { KShortcut::null(),                        KShortcut::null() },
+        { KShortcut::null(),                        KShortcut::null() },
+        { KShortcut::null(),                        KShortcut::null() } } },
+    { "Hide",
+      { { KShortcut::null(),                        KShortcut::null() },
+        { KShortcut::null(),                        KShortcut::null() },
+        { KShortcut::null(),                        KShortcut::null() } } }
 };
 

--- kdemultimedia/juk/juk.cpp  #1.177:1.178
 @ -371,4 +371,6  @ void JuK::setupGlobalAccels()
     KeyDialog::insert(m_accel, "VolumeDown",  i18n("Volume Down"),  \
                action("volumeDown"),  SLOT(activate()));
     KeyDialog::insert(m_accel, "Mute",        i18n("Mute"),         action("mute"),  \
SLOT(activate())); +    KeyDialog::insert(m_accel, "Show",        i18n("Show"),       \
this,                  SLOT(show())); +    KeyDialog::insert(m_accel, "Hide",        \
i18n("Hide"),         this,                  SLOT(hide()));  
     m_accel->setConfigGroup("Shortcuts");


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

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