shell
KDevelop::ShellExtension Class Reference
#include <shellextension.h>
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:
KDE 4.2 API Reference