• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

shell

KDevelop::ShellExtension

KDevelop::ShellExtension Class Reference

#include <shellextension.h>

List of all members.


Detailed Description

Shell extension.

Provides application-dependent and shell-independent functionality. Shell uses extensions to perform application dependent actions.

Definition at line 41 of file shellextension.h.


Public Member Functions

virtual AreaParams defaultArea ()=0
virtual QString defaultProfile ()=0
virtual QString projectFileDescription ()=0
virtual QString projectFileExtension ()=0
virtual QString xmlFile ()=0

Static Public Member Functions

static ShellExtension * getInstance ()

Static Protected Attributes

static ShellExtension * s_instance = 0

Member Function Documentation

virtual AreaParams KDevelop::ShellExtension::defaultArea (  )  [pure virtual]

Reimplement to return the name of the default ui area.

virtual QString KDevelop::ShellExtension::defaultProfile (  )  [pure virtual]

Reimplement to set a default profile for the shell.

Default profile will be used by a shell if no --profile argument is specified.

ShellExtension * KDevelop::ShellExtension::getInstance (  )  [static]

Returns an instance of a shell.

Subclasses must create an instance of a shell by themselves. For example they could provide static init() method like:

    static void init()
    {
        s_instance = new MyExtension();
    }

Definition at line 29 of file shellextension.cpp.

virtual QString KDevelop::ShellExtension::projectFileDescription (  )  [pure virtual]

Reimplement to return the description for project files.

virtual QString KDevelop::ShellExtension::projectFileExtension (  )  [pure virtual]

Reimplement to return the filename extension for project files.

virtual QString KDevelop::ShellExtension::xmlFile (  )  [pure virtual]

Reimplement to return the name of KXMLGUI resource file for an application.


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

shell

Skip menu "shell"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
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