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 theobjext
XML element against which this event was generated.
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.
void GCF::ContentObjectLoadEvent::setObject | ( | QObject * | object | ) |
Through this function the event handler GCF::Component::contentObjectLoadEvent() can set the content object.
- Parameters
-
object pointer to a QObject
that was loaded/created/mapped when this event was generated.
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.