aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/ApiExtractor/messages.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/messages.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/messages.cpp b/sources/shiboken2/ApiExtractor/messages.cpp
index 031c74324..95dcda558 100644
--- a/sources/shiboken2/ApiExtractor/messages.cpp
+++ b/sources/shiboken2/ApiExtractor/messages.cpp
@@ -1,4 +1,4 @@
-/****************************************************************************
+/****************************************************************************
**
** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
@@ -378,6 +378,13 @@ QString msgPropertyTypeParsingFailed(const QString &name, const QString &typeNam
return result;
}
+QString msgPropertyExists(const QString &className, const QString &name)
+{
+ return QLatin1String("class ") + className
+ + QLatin1String(" already has a property \"") + name
+ + QLatin1String("\" (defined by Q_PROPERTY).");
+}
+
// docparser.cpp
QString msgCannotFindDocumentation(const QString &fileName,