KateExternalTool Class Reference
This class defines a single external tool. More...
#include <kateexternaltools.h>
Public Member Functions | |
KateExternalTool (const QString &name=QString::null, const QString &command=QString::null, const QString &icon=QString::null, const QString &tryexec=QString::null, const QStringList &mimetypes=QStringList(), const QString &acname=QString::null) | |
bool | valid (QString mimetype) const |
bool | checkExec () |
Public Attributes | |
QString | name |
QString | command |
QString | icon |
QString | tryexec |
QStringList | mimetypes |
bool | hasexec |
QString | acname |
Detailed Description
This class defines a single external tool.
Definition at line 100 of file kateexternaltools.h.
Member Function Documentation
|
Definition at line 115 of file kateexternaltools.cpp. References mimetypes. |
|
Definition at line 76 of file kateexternaltools.cpp. |
Member Data Documentation
|
The name used in the menu.
Definition at line 109 of file kateexternaltools.h. |
|
The command to execute.
Definition at line 112 of file kateexternaltools.h. Referenced by checkExec(). |
|
the icon to use in the menu.
Definition at line 113 of file kateexternaltools.h. |
|
The name or path of the executable.
Definition at line 114 of file kateexternaltools.h. Referenced by checkExec(). |
|
Optional list of mimetypes for which this action is valid.
Definition at line 115 of file kateexternaltools.h. Referenced by valid(). |
|
This is set by the constructor by calling checkExec(), if a value is present.
Definition at line 116 of file kateexternaltools.h. Referenced by KateExternalToolsMenuAction::reload(). |
|
The name for the action. This is generated first time the action is is created.
Definition at line 117 of file kateexternaltools.h. Referenced by KateExternalToolsMenuAction::reload(). |
The documentation for this class was generated from the following files: