KParts
genericfactory.h
T * create(const QString &keyword, QObject *parent=0, const QVariantList &args=QVariantList())
#define T
static KAboutData * aboutData()
Definition: genericfactory.h:202
Definition: genericfactory.h:35
virtual KComponentData * createComponentData()
Definition: genericfactory.h:64
virtual void setReadWrite(bool readwrite=true)
Changes the behavior of this part to readonly or readwrite.
Definition: part.cpp:782
virtual ~GenericFactoryBase()
Definition: genericfactory.h:46
static const KComponentData & componentData()
Definition: genericfactory.h:186
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
virtual KParts::Part * createPartObject(QWidget *parentWidget, QObject *parent, const char *className, const QStringList &args)
Reimplement this method in your implementation to create the Part.
Definition: genericfactory.h:115
GenericFactory()
Definition: genericfactory.h:139
virtual KComponentData partComponentData()
If you have a part contained in a shared library you might want to query for meta-information like th...
Definition: genericfactory.h:57
A template for a KParts::Factory implementation.
Definition: genericfactory.h:110
virtual KParts::Part * createPartObject(QWidget *parentWidget, QObject *parent, const char *className, const QStringList &args)
Reimplement this method in your implementation to create the Part.
Definition: genericfactory.h:141
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.