4
// Unfortunatley we need access to private bits, because the
5
// whole dynamic meta-object concept is sadly being hidden
6
// away, and without it this package wouldn't exist.
7
#include <private/qmetaobject_p.h>
9
#include <QQuickPaintedItem>
14
class GoValueMetaObject;
16
QMetaObject *metaObjectFor(GoTypeInfo *typeInfo);
18
class GoValue : public QObject
26
GoValue(GoAddr *addr, GoTypeInfo *typeInfo, QObject *parent);
29
void activate(int propIndex);
32
GoValueMetaObject *valueMeta;
35
class GoPaintedValue : public QQuickPaintedItem
43
GoPaintedValue(GoAddr *addr, GoTypeInfo *typeInfo, QObject *parent);
44
virtual ~GoPaintedValue();
46
void activate(int propIndex);
48
virtual void paint(QPainter *painter);
51
GoValueMetaObject *valueMeta;
56
// vim:ts=4:sw=4:et:ft=cpp