TasObjectContainer Class Reference

#include <ext/app/exttesttools/tasqtdatamodel.h>

class TasObjectContainer

TasObjectContainer represents an entity where the object belong to.

Public Member Functions
~TasObjectContainer()
TasObject &addNewObject()
TasObject &addNewObject(const QString &, const QString &, const QString &)
voidsetId(int)
voidsetId(QString)
voidsetName(const QString &)
voidsetType(const QString &)

Detailed Description

The container can represent an application for instance that contains the objects e.g Avkon/Qt.

Constructor & Destructor Documentation

~TasObjectContainer ( )

~TasObjectContainer()

Member Function Documentation

addNewObject ( )

TasObject &addNewObject()

Add a new object to the container.

addNewObject ( const QString &, const QString &, const QString & )

TasObject &addNewObject(const QString &id,
const QString &name,
const QString &type
)

Add a new object to the container with the given values.

setId ( int )

voidsetId(intid)

Set an id to the container. Ids should be as uniques as possible. Ids are used to separate objects and attributes.

setId ( QString )

voidsetId(QStringid)

setName ( const QString & )

voidsetName(const QString &name)

Set the name for the container. Can be for example "text" for a label object. Names are used to get the values for a certain object.

setType ( const QString & )

voidsetType(const QString &type)

Set the type for the container