[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/kapptemplate/kapp
From: Michael Pyne <pynm0001 () comcast ! net>
Date: 2004-05-23 2:21:05
Message-ID: 20040523022105.7966D12659 () office ! kde ! org
[Download RAW message or body]
CVS commit by mpyne:
* Remove custom key configuration dialog. Not exactly of the variety you
can build and test, so I went and triple-checked.
M +1 -7 app.cpp 1.17
M +0 -1 app.h 1.7
--- kdesdk/kapptemplate/kapp/app.h #1.6:1.7
@@ -71,5 +71,4 @@ private slots:
void fileSaveAs();
void filePrint();
- void optionsConfigureKeys();
void optionsConfigureToolbars();
void optionsPreferences();
--- kdesdk/kapptemplate/kapp/app.cpp #1.16:1.17
@@ -20,5 +20,4 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_L
#include <kmenubar.h>
#include <kstatusbar.h>
-#include <kkeydialog.h>
#include <kaccel.h>
#include <kio/netaccess.h>
@@ -105,5 +104,5 @@ void ${APP_NAME}::setupActions()
setStandardToolBarMenuEnabled(true);
- KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()), actionCollection());
+ KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), actionCollection());
KStdAction::preferences(this, SLOT(optionsPreferences()), actionCollection());
@@ -231,9 +230,4 @@ void ${APP_NAME}::filePrint()
}
-void ${APP_NAME}::optionsConfigureKeys()
-{
- KKeyDialog::configure(actionCollection());
-}
-
void ${APP_NAME}::optionsConfigureToolbars()
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic