• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Generic Shell
 

KDevelop Generic Shell

Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
ShellExtension Class Referenceabstract

#include <shellextension.h>

Inherited by KDevAssistantExtension, and KDevIDEExtension.

Public Member Functions

virtual void createGlobalSettingsPage (KDialogBase *dlg)=0
 
virtual void acceptGlobalSettingsPage (KDialogBase *dlg)=0
 
virtual TQString xmlFile ()=0
 
virtual TQString defaultProfile ()=0
 

Static Public Member Functions

static ShellExtension * getInstance ()
 

Static Protected Attributes

static ShellExtension * s_instance = 0
 

Detailed Description

Shell extension.

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

Definition at line 32 of file shellextension.h.

Member Function Documentation

◆ acceptGlobalSettingsPage()

virtual void ShellExtension::acceptGlobalSettingsPage ( KDialogBase *  dlg)
pure virtual

Reimplement to perform actions when the global settings page in the dialog dlg is accepted (user clicked "Ok").

◆ createGlobalSettingsPage()

virtual void ShellExtension::createGlobalSettingsPage ( KDialogBase *  dlg)
pure virtual

Reimplement to create global settings page in the dialog dlg.

◆ defaultProfile()

virtual TQString 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.

◆ getInstance()

static ShellExtension* ShellExtension::getInstance ( )
inlinestatic

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 42 of file shellextension.h.

◆ xmlFile()

virtual TQString 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

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Generic Shell by doxygen 1.8.13
This website is maintained by Timothy Pearson.