SciDAVis  1.D4
Public Member Functions
PartMaker Class Reference

Factory for AbstractPart objects. More...

#include <interfaces.h>

List of all members.

Public Member Functions

virtual QAction * makeAction (QObject *parent)=0
 The action to be used for making new parts.
virtual AbstractPartmakePart ()=0
 The factory method.
virtual ~PartMaker ()

Detailed Description

Factory for AbstractPart objects.


Constructor & Destructor Documentation

virtual PartMaker::~PartMaker ( )
inlinevirtual

Member Function Documentation

virtual QAction* PartMaker::makeAction ( QObject *  parent)
pure virtual

The action to be used for making new parts.

The caller takes care of connecting the action. If the parent argument is zero, it also recieves ownership of the action. Implementations should only set things like name and icon.

virtual AbstractPart* PartMaker::makePart ( )
pure virtual

The factory method.


The documentation for this class was generated from the following file: