Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 29b15b55 authored by Dominik Haumann's avatar Dominik Haumann

Expose defaultTools() for later use

parent 75f8415e
......@@ -145,6 +145,11 @@ const QVector<KateExternalTool*> & KateExternalToolsPlugin::tools() const
return m_tools;
}
QVector<KateExternalTool> KateExternalToolsPlugin::defaultTools() const
{
return m_defaultTools;
}
void KateExternalToolsPlugin::runTool(const KateExternalTool& tool, KTextEditor::View* view)
{
// expand the macros in command if any,
......
......@@ -79,6 +79,12 @@ public:
*/
const QVector<KateExternalTool *> &tools() const;
/**
* Returns the list of external tools that are shiped by default with
* the external tools plugin.
*/
QVector<KateExternalTool> defaultTools() const;
/**
* Executes the tool based on the view as current document.
*/
......
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