factory.cpp
42 Part *Factory::createPart( TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const char *classname, const TQStringList &args )
72 Part *Factory::createPartObject( TQWidget *, const char *, TQObject *, const char *, const char *, const TQStringList & )
77 TQObject *Factory::createObject( TQObject *parent, const char *name, const char *classname, const TQStringList &args )
void objectCreated(TQObject *obj)
static KLibLoader * self()
virtual KLibrary * library(const char *libname)
KLibFactory * factory()
const TDEInstance * partInstance()
If you have a part contained in a shared library you might want to query for meta-information like th...
Definition: factory.cpp:50
Part * createPart(TQWidget *parentWidget=0, const char *widgetName=0, TQObject *parent=0, const char *name=0, const char *classname="KParts::Part", const TQStringList &args=TQStringList())
Creates a part.
Definition: factory.cpp:42
virtual Part * createPartObject(TQWidget *parentWidget=0, const char *widgetName=0, TQObject *parent=0, const char *name=0, const char *classname="KParts::Part", const TQStringList &args=TQStringList())=0
Reimplement this method in your implementation to create the Part.
Definition: factory.cpp:72
virtual TQObject * createObject(TQObject *parent=0, const char *name=0, const char *classname="TQObject", const TQStringList &args=TQStringList())
Reimplemented from KLibFactory.
Definition: factory.cpp:77
static const TDEInstance * partInstanceFromLibrary(const TQCString &libraryName)
A convenience method for partInstance() that takes care of retrieving the factory for a given library...
Definition: factory.cpp:58
TQString name(StdAccel id)