Trade equipment common library. 1.0.0
TEFactory Class Reference

The TEFactory class creates TEBase objects. More...

#include <tefactory.h>

Static Public Member Functions

static QStringList keys ()
 
static TEBasecreate (const QString &)
 

Detailed Description

The TEFactory class creates TEBase objects.

The style factory creates a AExtension object for a given key with AExtensionFactory::create(key).

The styles are either built-in or dynamically loaded from a style plugin (see \l AExtensionPlugin).

AExtensionFactory::keys() returns a list of valid keys, typically including "XXXX".

Member Function Documentation

◆ create()

TEBase * TEFactory::create ( const QString & key)
static

Creates a AExtension object that matches key. This is either a built-in extensions, or a extension from a extension plugin.

See also
keys()

◆ keys()

QStringList TEFactory::keys ( )
static

Returns the list of keys this factory can create styles for.

See also
create()

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