[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegames/ktron
From: Benjamin Meyer <benjamin () csh ! rit ! edu>
Date: 2004-05-22 23:21:05
Message-ID: 20040522232105.7D9B494A1 () office ! kde ! org
[Download RAW message or body]
CVS commit by bmeyer:
Removal of custom key accell configure dialog
M +2 -9 ktron.cpp 1.50
M +0 -1 ktron.h 1.15
M +0 -1 tron.h 1.15
--- kdegames/ktron/ktron.cpp #1.49:1.50
@@ -24,5 +24,4 @@
#include <kconfigdialog.h>
#include <klocale.h>
-#include <kkeydialog.h>
#include <kmessagebox.h>
#include <kaction.h>
@@ -77,5 +76,6 @@ KTron::KTron(QWidget *parent, const char
KStdGameAction::quit(this, SLOT( close() ), actionCollection());
- KStdAction::keyBindings(this, SLOT(configureKeys()), actionCollection());
+ KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()),
+actionCollection());
KStdAction::preferences(this, SLOT(showSettings()), actionCollection());
@@ -174,11 +174,4 @@ void KTron::paletteChange(const QPalette
/**
- * Bring up the key configuration dialog.
- */
-void KTron::configureKeys(){
- KKeyDialog::configure(actionCollection(), this);
-}
-
-/**
* Show Settings dialog.
*/
--- kdegames/ktron/ktron.h #1.14:1.15
@@ -61,5 +61,4 @@ private slots:
void showWinner(Player winner);
- void configureKeys();
void showSettings();
};
--- kdegames/ktron/tron.h #1.14:1.15
@@ -33,5 +33,4 @@
#include <krandomsequence.h>
-class KConfig;
class KActionCollection;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic