summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeglobal_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativeglobal_p.h')
-rw-r--r--src/declarative/qml/qdeclarativeglobal_p.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeglobal_p.h b/src/declarative/qml/qdeclarativeglobal_p.h
index ab9725ba..9f0d5655 100644
--- a/src/declarative/qml/qdeclarativeglobal_p.h
+++ b/src/declarative/qml/qdeclarativeglobal_p.h
@@ -84,8 +84,14 @@ struct QDeclarativeGraphics_DerivedObject : public QObject
It may have false positives (say the case is correct when it isn't), but it
should never have a false negative (say the case is incorrect when it is
correct).
+
+ Length specifies specifies the number of characters to be checked from
+ behind. That is, if a file name results from a relative path specification
+ like "foo/bar.qml" and is made absolute, the original length (11) should
+ be passed indicating that only the last part of the relative path should
+ be checked.
*/
-bool QDeclarative_isFileCaseCorrect(const QString &fileName);
+bool QDeclarative_isFileCaseCorrect(const QString &fileName, int length = -1);
/*!
Makes the \a object a child of \a parent. Note that when using this method,