qdesigner_internal::PromotedWidgetPropertySheetFactory Class Reference

#include <qdesigner_promotedwidget_p.h>

Inheritance diagram for qdesigner_internal::PromotedWidgetPropertySheetFactory:

Inheritance graph
[legend]
Collaboration diagram for qdesigner_internal::PromotedWidgetPropertySheetFactory:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 88 of file qdesigner_promotedwidget_p.h.

Public Member Functions

 PromotedWidgetPropertySheetFactory (QExtensionManager *parent=0)

Protected Member Functions

virtual QObjectcreateExtension (QObject *object, const QString &iid, QObject *parent) const


Constructor & Destructor Documentation

qdesigner_internal::PromotedWidgetPropertySheetFactory::PromotedWidgetPropertySheetFactory ( QExtensionManager parent = 0  ) 

Definition at line 138 of file qdesigner_promotedwidget.cpp.

00139     : QExtensionFactory(parent)
00140 {
00141 }


Member Function Documentation

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.

See also:
extension()

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:


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 20:47:35 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1