forked from qt-creator/qt-creator
QmlPuppet: Remove unused code
Change-Id: I1d6e136748ea8242ff0149f4612a32d71394999f Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
7415ea9563
commit
a577600d12
@@ -313,15 +313,6 @@ static bool isCrashingType(QQmlType *type)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void readPropertyValue(QObject *, const QByteArray &, QQmlContext *, bool *)
|
|
||||||
{
|
|
||||||
#if QT_VERSION >= 0x056000
|
|
||||||
DesignerSupport::readPropertyValue(object, propertyName, qmlContext, ok);
|
|
||||||
#else
|
|
||||||
//DesignerSupport::readPropertyValue(object, propertyName, qmlContext, ok); //### Move to Qt
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void createNewDynamicProperty(const ObjectNodeInstancePointer &nodeInstance, const QString &name)
|
void createNewDynamicProperty(const ObjectNodeInstancePointer &nodeInstance, const QString &name)
|
||||||
{
|
{
|
||||||
MetaObject::getNodeInstanceMetaObject(nodeInstance)->createNewDynamicProperty(name);
|
MetaObject::getNodeInstanceMetaObject(nodeInstance)->createNewDynamicProperty(name);
|
||||||
|
@@ -67,7 +67,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void readPropertyValue(QObject *object, const QByteArray &propertyName, QQmlContext *qmlContext, bool *ok);
|
|
||||||
void createNewDynamicProperty(const ObjectNodeInstancePointer &nodeInstance, const QString &name);
|
void createNewDynamicProperty(const ObjectNodeInstancePointer &nodeInstance, const QString &name);
|
||||||
void registerNodeInstanceMetaObject(const ObjectNodeInstancePointer &nodeInstance);
|
void registerNodeInstanceMetaObject(const ObjectNodeInstancePointer &nodeInstance);
|
||||||
QVariant fixResourcePaths(const QVariant &value);
|
QVariant fixResourcePaths(const QVariant &value);
|
||||||
|
Reference in New Issue
Block a user