kate Library API Documentation

KateExternalToolsMenuAction Class Reference

The external tools action This action creates a menu, in which each item will launch a process with the provided arguments, which may include the following macros: URLS: the URLs of all open documents. More...

#include <kateexternaltools.h>

List of all members.

Public Member Functions

 KateExternalToolsMenuAction (const QString &text=QString::null, QObject *parent=0, const char *name=0, class KateMainWindow *mw=0)
void reload ()
KActionCollection * actionCollection ()


Detailed Description

The external tools action This action creates a menu, in which each item will launch a process with the provided arguments, which may include the following macros: URLS: the URLs of all open documents.

URL: The URL of the active document. filedir: The directory of the current document, if that is a local file. selection: The selection of the active document. text: The text of the active document. line: The line number of the cursor in the active view. column: The column of the cursor in the active view.

Each item has the following properties: Name: The friendly text for the menu Exec: The command to execute, including arguments. TryExec: the name of the executable, if not available, the item will not be displayed. MimeTypes: An optional list of mimetypes. The item will be disabled or hidden if the current file is not of one of the indicated types.

Definition at line 54 of file kateexternaltools.h.


Member Function Documentation

void KateExternalToolsMenuAction::reload  ) 
 

This will load all the confiured services.

Definition at line 191 of file kateexternaltools.cpp.

References KateExternalTool::acname, and KateExternalTool::hasexec.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 13 21:47:01 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003