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

List:       kde-commits
Subject:    kdegames/katomic
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-05-22 23:23:56
Message-ID: 20040522232356.9792994A1 () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

Removed custom key dialog


  M +2 -7      toplevel.cpp   1.30
  M +0 -3      toplevel.h   1.11


--- kdegames/katomic/toplevel.cpp  #1.29:1.30
@@ -23,5 +23,4 @@
 
 #include <kglobal.h>
-#include <kkeydialog.h>
 #include <klocale.h>
 #include <ksimpleconfig.h>
@@ -47,5 +46,6 @@ void AtomTopLevel::createMenu()
     KStdGameAction::restart(main, SLOT(restartLevel()), actionCollection());
 
-    KStdAction::keyBindings(this, SLOT(configkeys()), actionCollection());
+    KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), 
+actionCollection());
     KStdAction::preferences(this, SLOT(configopts()), actionCollection());
 
@@ -59,9 +59,4 @@ void AtomTopLevel::createMenu()
 }
 
-void AtomTopLevel::configkeys()
-{
-    KKeyDialog::configure(actionCollection(),this);
-}
-
 void AtomTopLevel::configopts()
 {

--- kdegames/katomic/toplevel.h  #1.10:1.11
@@ -52,7 +52,4 @@ class AtomTopLevel : public KMainWindow
 public slots:
 
-  // Shows a window for configuring the keybindings
-  void configkeys();
-
   // Shows a dialog for options other than keys
   void configopts();


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

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