[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kmenuedit
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-05-26 12:34:14
Message-ID: 20040526123414.C0565126D1 () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Add a "Configure toolbars" entry in the Settings menu (BR82180)
CCMAIL: 82180-done@bugs.kde.org
M +9 -2 kmenuedit.cpp 1.63
M +1 -0 kmenuedit.h 1.20
--- kdebase/kmenuedit/kmenuedit.cpp #1.62:1.63
@@ -25,4 +25,5 @@
#include <kconfig.h>
#include <kdebug.h>
+#include <kedittoolbar.h>
#include <kglobal.h>
#include <klocale.h>
@@ -84,6 +85,6 @@ void KMenuEdit::setupActions()
KStdAction::copy(0, 0, actionCollection());
KStdAction::paste(0, 0, actionCollection());
- KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()),
-actionCollection());
+ KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
+ KStdAction::configureToolbars(this, SLOT(slotConfigureToolbars()), actionCollection());
}
@@ -191,2 +192,8 @@ bool KMenuEdit::queryClose()
}
+void KMenuEdit::slotConfigureToolbars()
+{
+ KEditToolbar dlg( factory() );
+
+ dlg.exec();
+}
--- kdebase/kmenuedit/kmenuedit.h #1.19:1.20
@@ -45,4 +45,5 @@ protected slots:
void slotSave();
void slotChangeView();
+ void slotConfigureToolbars();
protected:
TreeView *m_tree;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic