diff options
Diffstat (limited to 'src/qml/qml/qqmlglobal_p.h')
-rw-r--r-- | src/qml/qml/qqmlglobal_p.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlglobal_p.h b/src/qml/qml/qqmlglobal_p.h index 037323dc39..9de7e8f52c 100644 --- a/src/qml/qml/qqmlglobal_p.h +++ b/src/qml/qml/qqmlglobal_p.h @@ -204,8 +204,15 @@ struct QQmlGraphics_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 QQml_isFileCaseCorrect(const QString &fileName); +bool QQml_isFileCaseCorrect(const QString &fileName, int length = -1); /*! Makes the \a object a child of \a parent. Note that when using this method, |