1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-01-28 23:52:55 +08:00

QPython15 object

This commit is contained in:
Thomas Perl 2015-02-21 20:45:53 +01:00
parent adb33c31c7
commit ed58d65d6a
2 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,7 @@ PyOtherSideExtensionPlugin::registerTypes(const char *uri)
qmlRegisterType<QPython12>(uri, 1, 2, PYOTHERSIDE_QPYTHON_NAME);
qmlRegisterType<QPython13>(uri, 1, 3, PYOTHERSIDE_QPYTHON_NAME);
qmlRegisterType<QPython14>(uri, 1, 4, PYOTHERSIDE_QPYTHON_NAME);
qmlRegisterType<QPython15>(uri, 1, 5, PYOTHERSIDE_QPYTHON_NAME);
qmlRegisterType<PyGLArea>(uri, 1, 5, PYOTHERSIDE_QPYGLAREA_NAME);
qmlRegisterType<PyFbo>(uri, 1, 5, PYOTHERSIDE_PYFBO_NAME);
}

View File

@ -364,4 +364,13 @@ public:
}
};
class QPython15 : public QPython {
Q_OBJECT
public:
QPython15(QObject *parent=0)
: QPython(parent, 1, 5)
{
}
};
#endif /* PYOTHERSIDE_QPYTHON_H */