#include <shellextension.h>
Inherited by KDevAssistantExtension, and KDevIDEExtension.
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.
◆ ShellExtension()
| ShellExtension::ShellExtension |
( |
| ) |
|
|
protected |
◆ 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()
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.
◆ s_instance
The documentation for this class was generated from the following files: