• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

Public Member Functions | Friends | List of all members
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.

Constructor & Destructor Documentation

◆ KateExternalToolsMenuAction()

KateExternalToolsMenuAction::KateExternalToolsMenuAction ( const TQString &  text = TQString::null,
TQObject *  parent = 0,
const char *  name = 0,
class KateMainWindow *  mw = 0 
)

Definition at line 293 of file kateexternaltools.cpp.

◆ ~KateExternalToolsMenuAction()

KateExternalToolsMenuAction::~KateExternalToolsMenuAction ( )
inline

Definition at line 61 of file kateexternaltools.h.

Member Function Documentation

◆ actionCollection()

class TDEActionCollection * KateExternalToolsMenuAction::actionCollection ( )
inline

Definition at line 68 of file kateexternaltools.h.

◆ reload()

void KateExternalToolsMenuAction::reload ( )

This will load all the confiured services.

Definition at line 308 of file kateexternaltools.cpp.

Friends And Related Function Documentation

◆ KateExternalToolAction

friend class KateExternalToolAction
friend

Definition at line 56 of file kateexternaltools.h.


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

kate

Skip menu "kate"
  • kate
  • libkonq
  • twin
  •   lib
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.