20 #ifndef __tdeparts_factory_h__
21 #define __tdeparts_factory_h__
23 #include <klibloader.h>
44 Factory( TQObject *parent = 0,
const char *name = 0 );
74 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() );
91 static const TDEInstance *partInstanceFromLibrary(
const TQCString &libraryName );
117 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;
122 virtual TQObject *createObject( TQObject *parent = 0,
const char *name = 0,
const char *classname =
"TQObject",
const TQStringList &args = TQStringList() );
129 enum { VIRTUAL_QUERY_INSTANCE_PARAMS = 0x10 };
130 struct QueryInstanceParams
A generic factory object to create a Part.