#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()
|
pure virtual |
Reimplement to perform actions when the global settings page in the dialog dlg
is accepted (user clicked "Ok").
◆ createGlobalSettingsPage()
|
pure virtual |
Reimplement to create global settings page in the dialog dlg
.
◆ 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()
|
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:
Definition at line 42 of file shellextension.h.
◆ 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: