Ananas Library  0.9.5
Static Public Member Functions | List of all members
AExtensionFactory Class Reference

The AExtensionFactory class creates AExtension objects. More...

#include <aextensionfactory.h>

Static Public Member Functions

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

Detailed Description

The AExtensionFactory class creates AExtension 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 AExtensionPlugin).

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

Member Function Documentation

◆ create()

AExtension * AExtensionFactory::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()

Referenced by aObjectsFactory::create().

◆ keys()

QStringList AExtensionFactory::keys ( )
static

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

See also
create()

Referenced by aObjectsFactory::aObjectsFactory(), and aObjectsFactory::create().


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