ComponentManager Class Reference

[KGUI Index] [KGUI Hierarchy] [Headers]


Manages all the available components so they can be viewed in the component pallete and created More...

#include <componentmanager.h>

Inherits: QObject (qt)

Public Members


Detailed Description

Manages all the available components so they can be viewed in the component pallete and created.


ComponentManager() [public]

Create a ComponentManager.

void addPackage(Package *) [public]

Register a new Package of Components with the manager.

Component* component(int) [public]

Returns the component with the id. The id is as used by the insert popup, and the method returns 0 if no component with the id was found.

Package* packageFromId(int id) [public]

Returns the package with the id or 0.

QPopupMenu* createInsertPopup(QPopupMenu *parent= 0) [public]

Create a popup menu of the available Packages and Components. The component refered to by a menu item can be found by calling the component(int) method passing the id of the menu item as the parameter.

void registerPackages() [public]

Register the packages.


  • Author: Richard Moore
  • Documentation generated by rich@pegasus on Sat Apr 17 17:09:53 BST 1999
Kdoc