Kate::InitPlugin Class Reference
Inheritance diagram for Kate::InitPlugin:

Public Member Functions | |
InitPlugin (Application *application=0, const char *name=0) | |
virtual | ~InitPlugin () |
unsigned int | initPluginNumber () const |
virtual void | activate (const KURL &configScript=KURL()) |
virtual int | actionsKateShouldNotPerformOnRealStartup () |
virtual int | initKate () |
const KURL | configScript () const |
Friends | |
class | PrivateInitPlugin |
Detailed Description
Definition at line 91 of file plugin.h.
Constructor & Destructor Documentation
|
Please never instanciate this class yourself from a plugin. Use the Applications performInit(pluginname,configscript) method instead You must neither assume that theol init object still exist after control returned to the main event loop after a call to performInit nor that the init library is still loaded Definition at line 163 of file plugin.cpp. References PrivateInitPlugin. |
Member Function Documentation
|
I don't create an enum, because I want this to be freely extensible Please return the or'ed values from the list, you don't need initialized by kate. That speeds up appliaction startup. Be aware though, that you have to unload plugins or clear view/document lists yourself anyway. This is needed, because There could be a reinitialisation during the application runtime. (eg if another config script is opened) 0x1: restoreDocuments 0x2: restoreViews; 0x4: loadPlugins Definition at line 187 of file plugin.cpp. Referenced by KateApp::KateApp(). |
|
This should initiate the real kate initialisation. Please always return "0". The return value is for later extenstion Definition at line 198 of file plugin.cpp. Referenced by KateApp::newInstance(), and KateApp::performInit(). |
The documentation for this class was generated from the following files: