Template based factory method used for creating BaseEditor subclasses. More...
#include <editorcreator.h>
Static Public Member Functions | |
static BaseEditor * | createEditor () |
static EditorCreator * | instance () |
Protected Member Functions | |
EditorCreator () | |
EditorCreator (EditorCreator &) |
Template based factory method used for creating BaseEditor subclasses.
EditorCreator< T >::EditorCreator | ( | ) | [inline, protected] |
{};
EditorCreator< T >::EditorCreator | ( | EditorCreator< T > & | ) | [inline, protected] |
{};
static BaseEditor* EditorCreator< T >::createEditor | ( | ) | [inline, static] |
{ return new T; }
static EditorCreator* EditorCreator< T >::instance | ( | ) | [inline, static] |
{ EditorCreator editor; return &editor; }