21 #ifndef GRANTLEE_TYPEACCESSOR_H 22 #define GRANTLEE_TYPEACCESSOR_H 24 #include "grantlee_templates_export.h" 26 #include <QtCore/QObject> 37 static QVariant lookUp(
const T
object,
const QString &property );
41 struct TypeAccessor<T*>
43 static QVariant lookUp(
const T *
const object,
const QString &property );
47 struct TypeAccessor<T&>
49 static QVariant lookUp(
const T &
object,
const QString &property );
The Grantlee namespace holds all public Grantlee API.