Commit 72530002 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

remove 'about editor component'

this was added in the past for the case that KTextEditor was
still a interface and you could e.g. use the yzis part

now this is no longer feasible and the normal about dialog
already tells you the frameworks version you use

beside that, the dialog is just a duplication of what we have already
for the applications
parent 38fa385b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kate" version="85" translationDomain="kate">
<kpartgui name="kate" version="86" translationDomain="kate">
<MenuBar>
<Menu name="file" noMerge="1">
<text>&amp;File</text>
......@@ -108,10 +108,6 @@
<Action name="settings_show_full_path" append="show_merge"/>
<Action name="colorscheme_menu"/>
</Menu>
<Menu name="help">
<text>&amp;Help</text>
<Action name="help_about_editor" append="about_merge"/>
</Menu>
</MenuBar>
<ToolBar name="mainToolBar" noMerge="1">
<text>Main Toolbar</text>
......
......@@ -28,7 +28,6 @@
#include "kateviewmanager.h"
#include "kateviewspace.h"
#include <KAboutApplicationDialog>
#include <KAboutData>
#include <KActionCollection>
#include <KActionMenu>
......@@ -408,10 +407,6 @@ void KateMainWindow::setupActions()
a->setWhatsThis(i18n("This shows help files for various available plugins."));
}
a = actionCollection()->addAction(QStringLiteral("help_about_editor"));
a->setText(i18n("&About Editor Component"));
connect(a, &QAction::triggered, this, &KateMainWindow::aboutEditor);
connect(m_viewManager, &KateViewManager::viewChanged, this, &KateMainWindow::slotWindowActivated);
connect(m_viewManager, &KateViewManager::viewChanged, this, &KateMainWindow::slotUpdateOpenWith);
connect(m_viewManager, &KateViewManager::viewChanged, this, &KateMainWindow::slotUpdateActionsNeedingUrl);
......@@ -931,12 +926,6 @@ void KateMainWindow::pluginHelp()
KHelpClient::invokeHelp(QString(), QStringLiteral("kate-plugins"));
}
void KateMainWindow::aboutEditor()
{
KAboutApplicationDialog ad(KTextEditor::Editor::instance()->aboutData(), this);
ad.exec();
}
void KateMainWindow::slotFullScreen(bool t)
{
KToggleFullScreenAction::setFullScreen(this, t);
......
......@@ -206,7 +206,6 @@ private Q_SLOTS:
void updateCaption();
void pluginHelp();
void aboutEditor();
void slotFullScreen(bool);
void slotListRecursiveEntries(KIO::Job *job, const KIO::UDSEntryList &list);
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kwrite" version="18">
<kpartgui name="kwrite" version="19">
<MenuBar>
<Menu name="file" noMerge="1">
<text>&amp;File</text>
......@@ -51,10 +51,6 @@
<Action name="options_configure_toolbars"/>
<Action name="set_confdlg" />
</Menu>
<Menu name="help">
<text>&amp;Help</text>
<Action name="help_about_editor" append="about_merge"/>
</Menu>
</MenuBar>
<ToolBar name="mainToolBar" noMerge="1">
<text>Main Toolbar</text>
......
......@@ -17,7 +17,6 @@
#include <ktexteditor/modificationinterface.h>
#include <ktexteditor/view.h>
#include <KAboutApplicationDialog>
#include <KActionCollection>
#include <KConfig>
#include <KConfigGui>
......@@ -167,10 +166,6 @@ void KWrite::setupActions()
a = actionCollection()->addAction(KStandardAction::ConfigureToolbars, QStringLiteral("options_configure_toolbars"), this, SLOT(editToolbars()));
a->setWhatsThis(i18n("Configure which items should appear in the toolbar(s)."));
a = actionCollection()->addAction(QStringLiteral("help_about_editor"));
a->setText(i18n("&About Editor Component"));
connect(a, &QAction::triggered, this, &KWrite::aboutEditor);
}
// load on url
......@@ -431,12 +426,6 @@ void KWrite::saveGlobalProperties(KConfig *config) // save documents
m_app->saveProperties(config);
}
void KWrite::aboutEditor()
{
KAboutApplicationDialog dlg(KTextEditor::Editor::instance()->aboutData(), this);
dlg.exec();
}
void KWrite::documentNameChanged()
{
QString readOnlyCaption;
......
......@@ -60,7 +60,6 @@ public Q_SLOTS:
void toggleMenuBar(bool showMessage = true);
void editKeys();
void editToolbars();
void aboutEditor();
void modifiedChanged();
private Q_SLOTS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment