#include <qworkspace_container.h>
Inheritance diagram for qdesigner_internal::QWorkspaceContainerFactory:


Definition at line 54 of file qworkspace_container.h.
Public Member Functions | |
| QWorkspaceContainerFactory (QExtensionManager *parent=0) | |
Protected Member Functions | |
| virtual QObject * | createExtension (QObject *object, const QString &iid, QObject *parent) const |
| QWorkspaceContainerFactory::QWorkspaceContainerFactory | ( | QExtensionManager * | parent = 0 |
) |
Definition at line 80 of file qworkspace_container.cpp.
00081 : QExtensionFactory(parent) 00082 { 00083 }
| QObject * QWorkspaceContainerFactory::createExtension | ( | QObject * | object, | |
| const QString & | iid, | |||
| QObject * | parent | |||
| ) | const [protected, virtual] |
Creates an extension specified by iid for the given object. The extension object is created as a child of the specified parent.
Reimplemented from QExtensionFactory.
Definition at line 85 of file qworkspace_container.cpp.
References object, QObject::parent(), Q_TYPEID, and w.
00086 { 00087 if (iid != Q_TYPEID(QDesignerContainerExtension)) 00088 return 0; 00089 00090 if (QWorkspace *w = qobject_cast<QWorkspace*>(object)) 00091 return new QWorkspaceContainer(w, parent); 00092 00093 return 0; 00094 }
Here is the call graph for this function:

1.5.1