diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/qml/cpp/govalue.h')
-rw-r--r-- | Godeps/_workspace/src/github.com/obscuren/qml/cpp/govalue.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/govalue.h b/Godeps/_workspace/src/github.com/obscuren/qml/cpp/govalue.h deleted file mode 100644 index aa6ddd10c..000000000 --- a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/govalue.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef GOVALUE_H -#define GOVALUE_H - -// Unfortunatley we need access to private bits, because the -// whole dynamic meta-object concept is sadly being hidden -// away, and without it this package wouldn't exist. -#include <private/qmetaobject_p.h> - -#include <QQuickPaintedItem> -#include <QPainter> - -#include "capi.h" - -class GoValueMetaObject; - -QMetaObject *metaObjectFor(GoTypeInfo *typeInfo); - -class GoValue : public QObject -{ - Q_OBJECT - -public: - GoAddr *addr; - GoTypeInfo *typeInfo; - - GoValue(GoAddr *addr, GoTypeInfo *typeInfo, QObject *parent); - virtual ~GoValue(); - - void activate(int propIndex); - -private: - GoValueMetaObject *valueMeta; -}; - -class GoPaintedValue : public QQuickPaintedItem -{ - Q_OBJECT - -public: - GoAddr *addr; - GoTypeInfo *typeInfo; - - GoPaintedValue(GoAddr *addr, GoTypeInfo *typeInfo, QObject *parent); - virtual ~GoPaintedValue(); - - void activate(int propIndex); - - virtual void paint(QPainter *painter); - -private: - GoValueMetaObject *valueMeta; -}; - -#endif // GOVALUE_H - -// vim:ts=4:sw=4:et:ft=cpp |