KateExternalToolsMenuAction Class Reference
#include <kateexternaltools.h>
Inherits TDEActionMenu.
Public Member Functions | |
KateExternalToolsMenuAction (const TQString &text=TQString::null, TQObject *parent=0, const char *name=0, class KateMainWindow *mw=0) | |
void | reload () |
class TDEActionCollection * | actionCollection () |
Friends | |
class | KateExternalToolAction |
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
◆ reload()
void KateExternalToolsMenuAction::reload | ( | ) |
This will load all the confiured services.
Definition at line 308 of file kateexternaltools.cpp.
The documentation for this class was generated from the following files: