#include <qmainwindow_container.h>
Inheritance diagram for qdesigner_internal::QMainWindowContainerFactory:


Definition at line 54 of file qmainwindow_container.h.
Public Member Functions | |
| QMainWindowContainerFactory (QExtensionManager *parent=0) | |
Protected Member Functions | |
| virtual QObject * | createExtension (QObject *object, const QString &iid, QObject *parent) const |
| QMainWindowContainerFactory::QMainWindowContainerFactory | ( | QExtensionManager * | parent = 0 |
) |
Definition at line 177 of file qmainwindow_container.cpp.
00178 : QExtensionFactory(parent) 00179 { 00180 }
| QObject * QMainWindowContainerFactory::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 182 of file qmainwindow_container.cpp.
References object, QObject::parent(), Q_TYPEID, and w.
00183 { 00184 if (iid != Q_TYPEID(QDesignerContainerExtension)) 00185 return 0; 00186 00187 if (QMainWindow *w = qobject_cast<QMainWindow*>(object)) 00188 return new QMainWindowContainer(w, parent); 00189 00190 return 0; 00191 }
Here is the call graph for this function:

1.5.1