[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/certmanager/kwatchgnupg
From: Laurent Montel <montel () kde ! org>
Date: 2004-06-10 10:21:51
Message-ID: 20040610102151.D9AE4126F6 () office ! kde ! org
[Download RAW message or body]
CVS commit by mlaurent:
Allow to change toolbar
M +11 -2 kwatchgnupgmainwin.cpp 1.15
M +1 -0 kwatchgnupgmainwin.h 1.7
--- kdepim/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp #1.14:1.15
@@ -47,5 +47,5 @@
#include <kconfig.h>
#include <kfiledialog.h>
-
+#include <kedittoolbar.h>
#include <qtextedit.h>
#include <qdir.h>
@@ -101,4 +101,6 @@ void KWatchGnuPGMainWindow::createAction
(void)KStdAction::preferences( this, SLOT(slotConfigure()), actionCollection() );
( void )KStdAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
+ ( void )KStdAction::configureToolbars(this, SLOT(slotConfigureToolbars()), actionCollection());
+
#if 0
(void)new KAction( i18n("Configure KWatchGnuPG..."), QString::fromLatin1("configure"),
@@ -109,4 +111,11 @@ void KWatchGnuPGMainWindow::createAction
}
+void KWatchGnuPGMainWindow::slotConfigureToolbars()
+{
+ KEditToolbar dlg( factory() );
+
+ dlg.exec();
+}
+
void KWatchGnuPGMainWindow::startWatcher()
{
--- kdepim/certmanager/kwatchgnupg/kwatchgnupgmainwin.h #1.6:1.7
@@ -56,4 +56,5 @@ public slots:
void slotConfigure();
+ void slotConfigureToolbars();
void slotReadConfig();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic