AbstractFactory Class Reference

An Abstract Factory interface. More...

#include <abstractfactory.h>

Inheritance diagram for AbstractFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual QObject * newObject (QString className, QObject *parent=0)=0
 
  • className - the desired class to instantiate

virtual ~AbstractFactory ()

Detailed Description

An Abstract Factory interface.

Author:
Alan Ezust

Definition at line 13 of file abstractfactory.h.


Member Function Documentation

virtual QObject* AbstractFactory::newObject ( QString  className,
QObject *  parent = 0 
) [pure virtual]

Returns:
a QObject-derived instance which is "close enough" to handle the properties of className.

Implemented in ObjectFactory, and CustomerFactory.

Referenced by QObjectReader::startElement().


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:43 2009 for oopapidocs by  doxygen 1.5.1