[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/shell
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2009-11-14 22:28:54
Message-ID: 1258237734.000876.24040.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1049249 by apaku:
Add a "loaded plugins" dialog.
This adds an action to the menu to show all loaded plugins and their
description for informational and debugging purposes.
BUG:213298
M +1 -0 CMakeLists.txt
A loadedpluginsdialog.cpp [License: LGPL (v2+)]
A loadedpluginsdialog.h [License: LGPL (v2+)]
M +7 -0 mainwindow_actions.cpp
M +5 -1 mainwindow_p.cpp
M +1 -0 mainwindow_p.h
--- trunk/KDE/kdevplatform/shell/CMakeLists.txt #1049248:1049249
@@ -38,6 +38,7 @@
debugcontroller.cpp
launchconfiguration.cpp
launchconfigurationdialog.cpp
+ loadedpluginsdialog.cpp
progressmanager.cpp
progresswidget.cpp
--- trunk/KDE/kdevplatform/shell/mainwindow_actions.cpp #1049248:1049249
@@ -32,6 +32,7 @@
#include "sessiondialog.h"
#include "mainwindow.h"
+#include "loadedpluginsdialog.h"
namespace KDevelop {
@@ -175,6 +176,12 @@
dlg.exec();
}
+void MainWindowPrivate::showLoadedPlugins()
+{
+ LoadedPluginsDialog dlg(m_mainWindow);
+ dlg.exec();
+}
+
void MainWindowPrivate::contextMenuFileNew()
{
m_mainWindow->activateView(m_tabView);
--- trunk/KDE/kdevplatform/shell/mainwindow_p.cpp #1049248:1049249
@@ -238,7 +238,11 @@
action->setStatusTip( i18n("Show Information about KDevelop Platform") );
action->setWhatsThis( i18n( "<b>About KDevelop Platform</b><p>Shows a dialog \
with information about KDevelop Platform.</p>" ) );
-
+ action = actionCollection()->addAction( "loaded_plugins", this, SLOT( \
showLoadedPlugins() ) ); + action->setText( i18n("Loaded Plugins") );
+ action->setStatusTip( i18n("Show a list of all loaded plugins") );
+ action->setWhatsThis( i18n( "<b>Loaded Plugins</b><p>Shows a dialog with \
information about all loaded plugins.</p>" ) ); +
// KToolBarPopupAction *popupAction;
// popupAction = new KToolBarPopupAction( KIcon( "process-stop" ),
// i18n( "&Stop" ),
--- trunk/KDE/kdevplatform/shell/mainwindow_p.h #1049248:1049249
@@ -107,6 +107,7 @@
void configureSessions();
void configureNotifications();
void showAboutPlatform();
+ void showLoadedPlugins();
void toggleArea(bool b);
void showErrorMessage(QString message, int timeout);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic