aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/obscuren/qml/cpp/connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/qml/cpp/connector.h')
-rw-r--r--Godeps/_workspace/src/github.com/obscuren/qml/cpp/connector.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/connector.h b/Godeps/_workspace/src/github.com/obscuren/qml/cpp/connector.h
deleted file mode 100644
index 82954927b..000000000
--- a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/connector.h
+++ /dev/null
@@ -1,58 +0,0 @@
-#ifndef CONNECTOR_H
-#define CONNECTOR_H
-
-#include <QObject>
-
-#include <stdint.h>
-
-class Connector : public QObject
-{
- Q_OBJECT
-
- public:
-
- Connector(QObject *sender, QMetaMethod method, QQmlEngine *engine, void *func, int argsLen)
- : QObject(sender), engine(engine), method(method), func(func), argsLen(argsLen) {};
-
- virtual ~Connector();
-
- // MOC HACK: s/Connector::qt_metacall/Connector::standard_qt_metacall/
- int standard_qt_metacall(QMetaObject::Call c, int idx, void **a);
-
- public slots:
-
- void invoke();
-
- private:
-
- QQmlEngine *engine;
- QMetaMethod method;
- void *func;
- int argsLen;
-};
-
-class PlainObject : public QObject
-{
- Q_OBJECT
-
- Q_PROPERTY(QString plainType READ getPlainType)
- Q_PROPERTY(void *plainAddr READ getPlainAddr)
-
- QString plainType;
- void *plainAddr;
-
- public:
-
- PlainObject(QObject *parent = 0)
- : QObject(parent) {};
-
- PlainObject(const char *plainType, void *plainAddr, QObject *parent = 0)
- : QObject(parent), plainType(plainType), plainAddr(plainAddr) {};
-
- QString getPlainType() { return plainType; };
- void *getPlainAddr() { return plainAddr; };
-};
-
-#endif // CONNECTOR_H
-
-// vim:ts=4:sw=4:et