QML JS Inspector: Added method to clear component cache

This one should be called when a component is changed and components
using it need to be reloaded.
This commit is contained in:
Lasse Holmstedt
2010-08-03 14:07:30 +02:00
parent cc0050bbb8
commit 719b775792
10 changed files with 36 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ public:
bool setMethodBodyForObject(int objectDebugId, const QString &methodName, const QString &methodBody);
bool resetBindingForObject(int objectDebugId, const QString &propertyName);
void clearComponentCache();
// returns the object references for the given url.
QList<QDeclarativeDebugObjectReference> objectReferences(const QUrl &url = QUrl()) const;