diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-11-12 03:44:06 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-11-12 03:57:39 (GMT) |
commit | f809dc1b16d6a56c1a2d57997748bddb313f7f4c (patch) | |
tree | 06110acd887582bb04833b27eeca0276d314bf90 /src/script/bridge/qscriptdeclarativeclass_p.h | |
parent | af60542fc4214cc716ffb1bdc46e2e7f6b5a6b8a (diff) | |
download | Qt-f809dc1b16d6a56c1a2d57997748bddb313f7f4c.zip Qt-f809dc1b16d6a56c1a2d57997748bddb313f7f4c.tar.gz Qt-f809dc1b16d6a56c1a2d57997748bddb313f7f4c.tar.bz2 |
Small optimization of enum detection in script.
Reviewed-by: Martin Jones
Diffstat (limited to 'src/script/bridge/qscriptdeclarativeclass_p.h')
-rw-r--r-- | src/script/bridge/qscriptdeclarativeclass_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptdeclarativeclass_p.h b/src/script/bridge/qscriptdeclarativeclass_p.h index 420b133..fe38eeb 100644 --- a/src/script/bridge/qscriptdeclarativeclass_p.h +++ b/src/script/bridge/qscriptdeclarativeclass_p.h @@ -126,6 +126,7 @@ public: PersistentIdentifier createPersistentIdentifier(const Identifier &); QString toString(const Identifier &); + bool startsWithUpper(const Identifier &); quint32 toArrayIndex(const Identifier &, bool *ok); virtual QScriptClass::QueryFlags queryProperty(Object *, const Identifier &, |