Qt 4.8
Functions
qdeclarativefastproperties.cpp File Reference
#include "private/qdeclarativefastproperties_p.h"
#include <private/qdeclarativeitem_p.h>

Go to the source code of this file.

Functions

static void QObject_objectName (QObject *object, void *output, QDeclarativeNotifierEndpoint *endpoint)
 

Function Documentation

◆ QObject_objectName()

static void QObject_objectName ( QObject object,
void *  output,
QDeclarativeNotifierEndpoint endpoint 
)
static

Definition at line 54 of file qdeclarativefastproperties.cpp.

Referenced by QDeclarativeFastProperties::QDeclarativeFastProperties().

55 {
56  if (endpoint)
57  endpoint->connect(QDeclarativeData::get(object, true)->objectNameNotifier());
58  *((QString *)output) = object->objectName();
59 }
static QDeclarativeData * get(const QObject *object, bool create=false)
The QString class provides a Unicode character string.
Definition: qstring.h:83
void connect(QObject *source, int sourceSignal)