[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/ktnef/gui
From: Laurent Montel <montel () kde ! org>
Date: 2003-09-24 13:49:24
[Download RAW message or body]
CVS commit by mlaurent:
Allow to change shortcut
M +9 -0 ktnefmain.cpp 1.12
M +2 -2 ktnefmain.h 1.9
--- kdepim/ktnef/gui/ktnefmain.cpp #1.11:1.12
@@ -43,4 +43,6 @@
#include <ktempfile.h>
#include <kdebug.h>
+#include <kkeydialog.h>
+
#ifdef KDE_NO_COMPAT
#undef KDE_NO_COMPAT
@@ -119,7 +121,14 @@ void KTNEFMain::setupActions()
setStandardToolBarMenuEnabled(true);
KStdAction::configureToolbars(this, SLOT(slotEditToolbars()), actionCollection());
+ KStdAction::keyBindings( this, SLOT( slotConfigureKeys() ), actionCollection() );
createGUI();
}
+
+void KTNEFMain::slotConfigureKeys()
+{
+ KKeyDialog::configure( actionCollection(), this );
+}
+
void KTNEFMain::setupStatusbar()
--- kdepim/ktnef/gui/ktnefmain.h #1.8:1.9
@@ -56,5 +56,5 @@ protected slots:
void viewRightButtonPressed(QListViewItem *item, const QPoint& p, int c);
void viewDoubleClicked(QListViewItem*);
-
+ void slotConfigureKeys();
//protected:
// void closeEvent(QCloseEvent *e);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic