Bug 151564

Summary: no constructor of PluginManager in Kstscript
Product: [Applications] kst Reporter: andrea zonca <andrea.zonca>
Component: generalAssignee: kst
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description andrea zonca 2007-10-30 14:53:37 UTC
Version:           1.4.0 (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs
OS:                Linux

When trying to instantiate a PluginManager object from KSTscript console internal to KST using:
kst> x= new  PluginManager()
the answer is:
Error: ReferenceError: Can't find variable: PluginManager
while for example Plugin() works correctly
in the documentation at http://kst.kde.org/kstscript/docs/PluginManager.html PluginManager should have a constructor.
Comment 1 Andrew Walker 2007-10-30 18:54:33 UTC
I believe this is a problem with the website documentation.

The plugin manager can be accessed using:

Kst.pluginManager
Comment 2 Andrew Walker 2007-10-30 22:50:57 UTC
PluginManager should be accessed via the Kst object.