qdesigner_internal::SpacerPropertySheetFactory Class Reference

#include <spacer_propertysheet.h>

Inheritance diagram for qdesigner_internal::SpacerPropertySheetFactory:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 45 of file spacer_propertysheet.h.

Public Member Functions

 SpacerPropertySheetFactory (QExtensionManager *parent=0)

Protected Member Functions

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


Constructor & Destructor Documentation

SpacerPropertySheetFactory::SpacerPropertySheetFactory ( QExtensionManager parent = 0  ) 

Definition at line 61 of file spacer_propertysheet.cpp.

00062     : QExtensionFactory(parent)
00063 {
00064 }


Member Function Documentation

QObject * SpacerPropertySheetFactory::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 66 of file spacer_propertysheet.cpp.

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

00067 {
00068     if (iid != Q_TYPEID(QDesignerPropertySheetExtension))
00069         return 0;
00070 
00071     if (Spacer *o = qobject_cast<Spacer*>(object))
00072         return new SpacerPropertySheet(o, parent);
00073 
00074     return 0;
00075 }

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