![]() |
Generic factories for each new native component type. More...
#include <arcslibtoolkit.h>
Protected Member Functions | |
virtual ARCSNativeComponent * | genuineClone () |
Kage bunshin no jutsu ! More... | |
virtual QObject * | createObject (QObject *parent) |
virtual void | destroyObject (QObject *obj) |
Dirty (Kids, don't do this at home !) | |
virtual QMetaObject | getDescription () |
![]() | |
virtual void | getProxySlot (QString slot, ObjectList &obj, QStringList &proxySlot) |
Creates a proxy slot to interface a component to native ARCS components. More... | |
virtual void | getProxySignal (QString signal, ObjectList &obj, QStringList &proxySignal) |
Creates a proxy signal to interface a component to native ARCS components. More... | |
virtual bool | genuineInstanciate () |
This method should implement the instanciation of the actual component. More... | |
virtual void | genuineDestroy () |
This method should implement the destruction of the actual component. More... | |
virtual QString | getName () |
![]() | |
virtual bool | genuineConnect (QString, ARCSAbstractComponent *, QString, bool=false) |
This method connects two components by the indicated signals and slots. More... | |
virtual bool | genuineDisconnect (QString, ARCSAbstractComponent *, QString) |
This method disconnects two components by the indicated signals and slots. More... | |
Additional Inherited Members | |
![]() | |
virtual QStringList | getSlots () |
Returns the names of the available slots. | |
virtual QStringList | getSignals () |
Returns the names of the availables signals. | |
virtual QString | toString () |
Defines a basic seralization mechanism. More... | |
virtual bool | parseString (QString) |
Defines a basic seralization mechanism. More... | |
virtual QVariant | getGenuineComponentInstance () |
![]() | |
bool | instanciate () |
Instanciates the real component. | |
bool | isInstanciated () |
Determines wether the component is instanciated or not. | |
void | destroy () |
Destroys the real component. | |
ARCSAbstractComponent * | clone () |
Kage bunshin no jutsu ! More... | |
virtual bool | connect (QString sig, ARCSAbstractComponent *dst, QString slt, bool queued=false) |
This method connects two components by the indicated signals and slots. More... | |
bool | disconnect (QString sig, ARCSAbstractComponent *dst, QString slt) |
This method disconnects two components by the indicated signals and slots. More... | |
bool | init (QString slt, QVariant *var) |
Initializes a component. More... | |
virtual bool | loadFile (QString fn) |
Defines a way to load a component description from a file. More... | |
virtual bool | saveFile (QString fn) |
Defines a way to save a component description inside a file. More... | |
void | setProperty (QString name, QVariant value) |
Sets a meta-property on this component. More... | |
QVariant | getProperty (QString name) |
Gets a meta-property from this component. More... | |
void | removeProperty (QString name) |
Removes a meta-property from this component. More... | |
void | resetProperties () |
Sets the property list to a blank list. | |
QStringList | getProperties () |
void | setFamily (QString s) |
QString | getFamily () |
void | setType (QString s) |
QString | getType () |
![]() | |
static void | getProxySlot (ARCSAbstractComponent *cmp, QString slot, ObjectList &obj, QStringList &proxySlot) |
Wrapper for getProxySlot() | |
static void | getProxySignal (ARCSAbstractComponent *cmp, QString signal, ObjectList &obj, QStringList &proxySignal) |
Wrapper for getProxySignal() | |
![]() | |
static const QString | slotPrefix = "1" |
static const QString | signalPrefix = "2" |
Generic factories for each new native component type.
Definition at line 60 of file arcslibtoolkit.h.
|
protectedvirtual |
Dirty way to implement wrapper since it is in the header file (don't do this at home !), basically for the sole purpose to only have one file to include with the user library.
Implements ARCSNativeComponent.
Definition at line 167 of file arcslibtoolkit.h.
|
protectedvirtual |
Kage bunshin no jutsu !
This methods intends to clone a native component. It calls genuineClone() to perform the actual cloning of subclasses and then take care of meta-properties like: type, family and so on.
Implements ARCSNativeComponent.
Definition at line 191 of file arcslibtoolkit.h.