clientSetAttribute()

Set an attribute in the simulated PPS object.

Synopsis:

#include <qpps/simulator.h>

bool clientSetAttribute( QObject *client, 
                         const QString &name, 
                         const QByteArray &value, 
                         const QByteArray &encoding );

Arguments:

client
The client representing the PPS object being updated.
name
The name of the attribute being updated.
value
The new value to assign the attribute.
encoding
The encoding (type) of the attribute. For details on encoding, see the Object class.

Description:

Set the name attribute to value using the specified encoding, in the PPS object represented by client.

Returns:

Returns true if the attribute was written successfully, false otherwise.