aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetalang.h
diff options
context:
space:
mode:
Diffstat (limited to 'abstractmetalang.h')
-rw-r--r--abstractmetalang.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/abstractmetalang.h b/abstractmetalang.h
index 76d9d652b..7915ea21b 100644
--- a/abstractmetalang.h
+++ b/abstractmetalang.h
@@ -1308,6 +1308,8 @@ public:
m_hasNonPrivateConstructor(false),
m_functionsFixed(false),
m_hasPrivateDestructor(false),
+ m_hasProtectedDestructor(false),
+ m_hasVirtualDestructor(false),
m_forceShellClass(false),
m_hasHashFunction(false),
m_hasEqualsOperator(false),
@@ -1364,6 +1366,26 @@ public:
m_hasPrivateDestructor = value;
}
+ bool hasProtectedDestructor() const
+ {
+ return m_hasProtectedDestructor;
+ }
+
+ void setHasProtectedDestructor(bool value)
+ {
+ m_hasProtectedDestructor = value;
+ }
+
+ bool hasVirtualDestructor() const
+ {
+ return m_hasVirtualDestructor;
+ }
+
+ void setHasVirtualDestructor(bool value)
+ {
+ m_hasVirtualDestructor = value;
+ }
+
AbstractMetaFunctionList queryFunctionsByName(const QString &name) const;
AbstractMetaFunctionList queryFunctions(uint query) const;
inline AbstractMetaFunctionList allVirtualFunctions() const;
@@ -1757,6 +1779,8 @@ private:
uint m_hasNonPrivateConstructor : 1;
uint m_functionsFixed : 1;
uint m_hasPrivateDestructor : 1;
+ uint m_hasProtectedDestructor : 1;
+ uint m_hasVirtualDestructor : 1;
uint m_forceShellClass : 1;
uint m_hasHashFunction : 1;
uint m_hasEqualsOperator : 1;