KParts
factory.cpp
Go to the documentation of this file.
44Part *Factory::createPart( QWidget *parentWidget, QObject *parent, const char *classname, const QStringList &args )
virtual QObject * createObject(QObject *parent=0, const char *classname="QObject", const QStringList &args=QStringList())
Reimplemented from KLibFactory.
Definition: factory.cpp:75
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
Part * createPart(QWidget *parentWidget=0, QObject *parent=0, const char *classname="KParts::Part", const QStringList &args=QStringList())
Creates a part.
Definition: factory.cpp:44
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
void objectCreated(QObject *object)
KPluginFactory * factory()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.