diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-02-15 16:47:59 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-02-15 15:58:24 +0000 |
commit | bc40f304deb0f79b79364d674aac2761c6dcf6c5 (patch) | |
tree | c65e7a43356934f31cb77e89c741e855d9bd27b4 /src/qdoc/cppcodeparser.h | |
parent | 00676a162d97f5e0c955cef0212449943764961d (diff) | |
download | qttools-bc40f304deb0f79b79364d674aac2761c6dcf6c5.tar.gz |
qdoc: Second try on Q_PROPERTY with default and final.
This is just because someone decided to use a C++
keyword as property, normaly this should fail, and
it will for others like e.g. explicit, friend etc...
Change-Id: Ie7f5b295c849d41291adeb3ad89f56800b2b10dd
Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/qdoc/cppcodeparser.h')
-rw-r--r-- | src/qdoc/cppcodeparser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/cppcodeparser.h b/src/qdoc/cppcodeparser.h index ec0448232..7c110d2bb 100644 --- a/src/qdoc/cppcodeparser.h +++ b/src/qdoc/cppcodeparser.h @@ -117,7 +117,7 @@ protected: bool matchModuleQualifier(QString& name); bool matchTemplateAngles(CodeChunk *type = 0); bool matchTemplateHeader(); - bool matchDataType(CodeChunk *type, QString *var = 0); + bool matchDataType(CodeChunk *type, QString *var = 0, bool qProp = false); bool matchParameter(QVector<Parameter>& pvect, bool& isQPrivateSignal); bool matchFunctionDecl(Aggregate *parent, QStringList *parentPathPtr, |