KParts
factory.cpp
Go to the documentation of this file.
44 Part *Factory::createPart( QWidget *parentWidget, QObject *parent, const char *classname, const QStringList &args )
75 QObject *Factory::createObject( QObject *parent, const char *classname, const QStringList &args )
static KComponentData partComponentDataFromLibrary(const QString &libraryName)
A convenience method for partComponentData that takes care of retrieving the factory for a given libr...
Definition: factory.cpp:57
virtual Part * createPartObject(QWidget *parentWidget=0, QObject *parent=0, const char *classname="KParts::Part", const QStringList &args=QStringList())=0
Reimplement this method in your implementation to create the Part.
Definition: factory.cpp:70
virtual QObject * createObject(QObject *parent=0, const char *classname="QObject", const QStringList &args=QStringList())
Reimplemented from KLibFactory.
Definition: factory.cpp:75
virtual KComponentData partComponentData()
If you have a part contained in a shared library you might want to query for meta-information like th...
Definition: factory.cpp:52
KPluginFactory * factory()
bool isWidgetType() const
Part * createPart(QWidget *parentWidget=0, QObject *parent=0, const char *classname="KParts::Part", const QStringList &args=QStringList())
Creates a part.
Definition: factory.cpp:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.