#include <qdesigner_promotedwidget_p.h>
Inheritance diagram for qdesigner_internal::PromotedWidgetPropertySheetFactory:


Definition at line 88 of file qdesigner_promotedwidget_p.h.
Public Member Functions | |
| PromotedWidgetPropertySheetFactory (QExtensionManager *parent=0) | |
Protected Member Functions | |
| virtual QObject * | createExtension (QObject *object, const QString &iid, QObject *parent) const |
| qdesigner_internal::PromotedWidgetPropertySheetFactory::PromotedWidgetPropertySheetFactory | ( | QExtensionManager * | parent = 0 |
) |
Definition at line 138 of file qdesigner_promotedwidget.cpp.
00139 : QExtensionFactory(parent) 00140 { 00141 }
| QObject * qdesigner_internal::PromotedWidgetPropertySheetFactory::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 143 of file qdesigner_promotedwidget.cpp.
References object, QObject::parent(), and Q_TYPEID.
00145 { 00146 if (iid != Q_TYPEID(QDesignerPropertySheetExtension)) 00147 return 0; 00148 QDesignerPromotedWidget *promoted = qobject_cast<QDesignerPromotedWidget*>(object); 00149 if (promoted == 0) 00150 return 0; 00151 return new PromotedWidgetPropertySheet(promoted, 00152 qobject_cast<QExtensionManager*>(this->parent()), 00153 parent); 00154 }
Here is the call graph for this function:

1.5.1