qdesigner_internal::QLayoutWidgetPropertySheetFactory Class Reference

#include <qlayoutwidget_propertysheet.h>

Inheritance diagram for qdesigner_internal::QLayoutWidgetPropertySheetFactory:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 45 of file qlayoutwidget_propertysheet.h.

Public Member Functions

 QLayoutWidgetPropertySheetFactory (QExtensionManager *parent=0)

Protected Member Functions

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


Constructor & Destructor Documentation

QLayoutWidgetPropertySheetFactory::QLayoutWidgetPropertySheetFactory ( QExtensionManager parent = 0  ) 

Definition at line 68 of file qlayoutwidget_propertysheet.cpp.

00069     : QExtensionFactory(parent)
00070 {
00071 }


Member Function Documentation

QObject * QLayoutWidgetPropertySheetFactory::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 73 of file qlayoutwidget_propertysheet.cpp.

References o, object, QObject::parent(), and Q_TYPEID.

00074 {
00075     if (iid != Q_TYPEID(QDesignerPropertySheetExtension))
00076         return 0;
00077 
00078     if (QLayoutWidget *o = qobject_cast<QLayoutWidget*>(object))
00079         return new QLayoutWidgetPropertySheet(o, parent);
00080 
00081     return 0;
00082 }

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:27:47 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1