qdesigner_internal::LinePropertySheetFactory Class Reference

#include <line_propertysheet.h>

Inheritance diagram for qdesigner_internal::LinePropertySheetFactory:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 46 of file line_propertysheet.h.

Public Member Functions

 LinePropertySheetFactory (QExtensionManager *parent=0)

Protected Member Functions

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


Constructor & Destructor Documentation

LinePropertySheetFactory::LinePropertySheetFactory ( QExtensionManager parent = 0  ) 

Definition at line 74 of file line_propertysheet.cpp.

00075     : QExtensionFactory(parent)
00076 {
00077 }


Member Function Documentation

QObject * LinePropertySheetFactory::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 79 of file line_propertysheet.cpp.

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

00080 {
00081     if (iid != Q_TYPEID(QDesignerPropertySheetExtension))
00082         return 0;
00083 
00084     if (Line *o = qobject_cast<Line*>(object))
00085         return new LinePropertySheet(o, parent);
00086 
00087     return 0;
00088 }

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