From d0689ec867244a25635fb9504f2e6ff6e5c4a77b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 3 May 2019 15:18:06 +0200 Subject: Get rid of the obsolete isEditable flag for properties Change-Id: I54411bd8e223671523c9c8fad5c80bfa6b5b7097 Reviewed-by: Ulf Hermann Reviewed-by: Qt CI Bot --- src/tools/moc/moc.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/tools/moc/moc.cpp') diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp index 8bb70a76dc..82059e340f 100644 --- a/src/tools/moc/moc.cpp +++ b/src/tools/moc/moc.cpp @@ -1267,7 +1267,7 @@ void Moc::createPropertyDef(PropertyDef &propDef) if (typeWrappedInQProperty) next(RANGLE); propDef.designable = propDef.scriptable = propDef.stored = "true"; - propDef.user = propDef.editable = "false"; + propDef.user = "false"; /* The Q_PROPERTY construct cannot contain any commas, since commas separate macro arguments. We therefore expect users @@ -1376,13 +1376,6 @@ void Moc::parsePropertyAttributes(PropertyDef &propDef) propDef.designable = v + v2; checkIsFunction(propDef.designable, "DESIGNABLE"); break; - case 'E': if (l != "EDITABLE") error(2); { - const QByteArray msg = "EDITABLE flag for property declaration is deprecated."; - warning(msg.constData()); - propDef.editable = v + v2; - checkIsFunction(propDef.editable, "EDITABLE"); - } - break; case 'N': if (l != "NOTIFY") error(2); propDef.notify = v; break; -- cgit v1.2.3