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

List:       kde-commits
Subject:    kdeedu/kiten
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2004-05-23 1:57:16
Message-ID: 20040523015716.941DA9192 () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

Remove custom key configure dialog


  M +1 -7      kiten.cpp   1.86
  M +0 -1      kiten.h   1.39


--- kdeedu/kiten/kiten.cpp  #1.85:1.86
@@ -27,5 +27,4 @@
 #include <kglobalaccel.h>
 #include <kiconloader.h>
-#include <kkeydialog.h>
 #include <klocale.h>
 #include <kmainwindow.h>
@@ -62,5 +61,5 @@ TopLevel::TopLevel(QWidget *parent, cons
         (void) KStdAction::print(this, SLOT(print()), actionCollection());
         (void) KStdAction::preferences(this, SLOT(slotConfigure()), \
                actionCollection());
-        (void) KStdAction::keyBindings(this, SLOT(slotKeyBindings()), \
actionCollection()); +        KStdAction::keyBindings(guiFactory(), \
                SLOT(configureShortcuts()), actionCollection());
         (void) new KAction(i18n("&Learn"), "pencil", CTRL+Key_L, this, \
                SLOT(createLearn()), actionCollection(), "file_learn");
         (void) new KAction(i18n("&Dictionary Editor..."), "edit", 0, this, \
SLOT(createEEdit()), actionCollection(), "dict_editor"); @@ -783,9 +782,4 @@ void \
TopLevel::toggleCom()  }
 
-void TopLevel::slotKeyBindings()
-{
-        KKeyDialog::configure(actionCollection());
-}
-
 void TopLevel::configureToolBars()
 {

--- kdeedu/kiten/kiten.h  #1.38:1.39
@@ -67,5 +67,4 @@ private slots:
         void goInHistory(int);
         void historySpotChanged();
-        void slotKeyBindings();
         void slotConfigure();
         void slotLearnConfigure();


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

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