#include <default_container.h>
Inheritance diagram for qdesigner_internal::QDesignerContainerFactory:


Definition at line 55 of file default_container.h.
Public Member Functions | |
| QDesignerContainerFactory (QExtensionManager *parent=0) | |
Protected Member Functions | |
| virtual QObject * | createExtension (QObject *object, const QString &iid, QObject *parent) const |
| QDesignerContainerFactory::QDesignerContainerFactory | ( | QExtensionManager * | parent = 0 |
) |
Definition at line 135 of file default_container.cpp.
00136 : QExtensionFactory(parent) 00137 { 00138 }
| QObject * QDesignerContainerFactory::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 140 of file default_container.cpp.
References object, QObject::parent(), and Q_TYPEID.
00141 { 00142 if (iid != Q_TYPEID(QDesignerContainerExtension)) 00143 return 0; 00144 00145 if (qobject_cast<QDesignerStackedWidget*>(object) 00146 || qobject_cast<QDesignerTabWidget*>(object) 00147 || qobject_cast<QDesignerToolBox*>(object)) 00148 return new QDesignerContainer(static_cast<QWidget*>(object), parent); 00149 00150 return 0; 00151 }
Here is the call graph for this function:

1.5.1