GCF LOGO VCL LOGO
GCF::ContentObjectLoadEvent Class Reference

Contains parameters that describe a content-object-load event

#include <GCF3/Component>
.

Public Member Functions

QString objectName () const
 
QVariantMap info () const
 
void setObject (QObject *object)
 
QObject * object () const
 

Member Function Documentation

void GCF::ContentObjectLoadEvent::objectName ( ) const
Returns
name of the object that needs loading. This would be equal to the name attribute of the objext XML element against which this event was generated.
See Also
GCF::Component::contentObjectLoadEvent()
QVariantMap GCF::ContentObjectLoadEvent::info ( ) const
Returns
a attribute=value map of all attributes from from the object XML element against which this event was generated.
See Also
GCF::Component::contentObjectLoadEvent()
void GCF::ContentObjectLoadEvent::setObject ( QObject *  object)

Through this function the event handler GCF::Component::contentObjectLoadEvent() can set the content object.

Parameters
objectpointer to a QObject that was loaded/created/mapped when this event was generated.
See Also
GCF::Component::contentObjectLoadEvent()
QObject * GCF::ContentObjectLoadEvent::object ( ) const
Returns
pointer to the QObject that was set using the setObject() method. If no such object was set, then a NULL pointer is returned.
See Also
GCF::Component::contentObjectLoadEvent()