Mercurial > projects > qtd
comparison generator/abstractmetalang.h @ 260:b5773ccab07d lifetime
closer
author | maxter |
---|---|
date | Fri, 18 Sep 2009 18:52:03 +0000 |
parents | 515d6e1c7b10 |
children | 90131f64c9c9 |
comparison
equal
deleted
inserted
replaced
259:515d6e1c7b10 | 260:b5773ccab07d |
---|---|
784 void setForceShellClass(bool on) { m_force_shell_class = on; } | 784 void setForceShellClass(bool on) { m_force_shell_class = on; } |
785 bool generateShellClass() const; | 785 bool generateShellClass() const; |
786 | 786 |
787 bool hasVirtualSlots() const { return m_has_virtual_slots; } | 787 bool hasVirtualSlots() const { return m_has_virtual_slots; } |
788 bool hasVirtualFunctions() const { return !isFinal() && m_has_virtuals; } | 788 bool hasVirtualFunctions() const { return !isFinal() && m_has_virtuals; } |
789 bool hasVirtualDestructor() const { return m_has_virtual_destructor; } | 789 bool hasVirtualDestructor() const { return m_has_virtual_destructor |
790 || (m_base_class && m_base_class->hasVirtualDestructor()); } | |
790 bool setHasVirtualDestructor(bool value) { m_has_virtual_destructor = value; } | 791 bool setHasVirtualDestructor(bool value) { m_has_virtual_destructor = value; } |
792 bool isPolymorphic() const { return hasVirtualFunctions() || hasVirtualDestructor(); } | |
791 bool hasProtectedFunctions() const; | 793 bool hasProtectedFunctions() const; |
792 | 794 |
793 QList<TypeEntry *> templateArguments() const { return m_template_args; } | 795 QList<TypeEntry *> templateArguments() const { return m_template_args; } |
794 void setTemplateArguments(const QList<TypeEntry *> &args) { m_template_args = args; } | 796 void setTemplateArguments(const QList<TypeEntry *> &args) { m_template_args = args; } |
795 | 797 |