kate
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.
#include <kateexternaltools.h>
Inheritance diagram for KateExternalToolsMenuAction:
Public Member Functions | |
class KActionCollection * | actionCollection () |
KateExternalToolsMenuAction (const QString &text=QString::null, QObject *parent=0, const char *name=0, class KateMainWindow *mw=0) | |
void | reload () |
~KateExternalToolsMenuAction () |
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.
Constructor & Destructor Documentation
KateExternalToolsMenuAction::KateExternalToolsMenuAction | ( | const QString & | text = QString::null , |
|
QObject * | parent = 0 , |
|||
const char * | name = 0 , |
|||
class KateMainWindow * | mw = 0 | |||
) |
Definition at line 294 of file kateexternaltools.cpp.
KateExternalToolsMenuAction::~KateExternalToolsMenuAction | ( | ) | [inline] |
Definition at line 61 of file kateexternaltools.h.
Member Function Documentation
class KActionCollection* KateExternalToolsMenuAction::actionCollection | ( | ) | [inline] |
Definition at line 68 of file kateexternaltools.h.
void KateExternalToolsMenuAction::reload | ( | ) |
The documentation for this class was generated from the following files: