• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

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.
More...

#include <kateexternaltools.h>

Inheritance diagram for KateExternalToolsMenuAction:

Inheritance graph
[legend]

List of all members.


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 (  ) 

This will load all the confiured services.

Definition at line 309 of file kateexternaltools.cpp.


The documentation for this class was generated from the following files:
  • kateexternaltools.h
  • kateexternaltools.cpp

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kate
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal