summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-05-03 15:18:06 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-06-11 19:39:56 +0200
commitd0689ec867244a25635fb9504f2e6ff6e5c4a77b (patch)
tree841fd25ead91f3f1cc9f65aadbcdee1b88a833ba /src/corelib/kernel/qmetaobject.cpp
parent9b383f3d5c9774cff8a054027094bf1abf41c84f (diff)
Get rid of the obsolete isEditable flag for properties
Change-Id: I54411bd8e223671523c9c8fad5c80bfa6b5b7097 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
-rw-r--r--src/corelib/kernel/qmetaobject.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index cf6144796f..add1f3b86e 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -3497,27 +3497,6 @@ bool QMetaProperty::isQProperty() const
}
/*!
- \obsolete
-
- Returns \c true if the property is editable;
- otherwise returns \c false.
-
- If no \a object is given, the function returns \c false if the
- \c{Q_PROPERTY()}'s \c EDITABLE attribute is false; otherwise returns
- true (if the attribute is true or is a function or expression).
-
- \sa isDesignable(), isScriptable(), isStored()
-*/
-#if QT_DEPRECATED_SINCE(5, 15)
-bool QMetaProperty::isEditable() const
-{
- if (!mobj)
- return false;
- return data.flags() & Editable;
-}
-#endif
-
-/*!
\class QMetaClassInfo
\inmodule QtCore