diff options
Diffstat (limited to 'scripts/templates/qclass.h')
-rw-r--r-- | scripts/templates/qclass.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/templates/qclass.h b/scripts/templates/qclass.h index 4f08e497..72acc673 100644 --- a/scripts/templates/qclass.h +++ b/scripts/templates/qclass.h @@ -90,8 +90,9 @@ public QModelingElement public: [%- IF class.findvalue("@isAbstract") != "true" %] explicit Q${namespace}${className}(bool createQModelingObject = true); - [%- END %] + virtual ~Q${namespace}${className}(); + [% IF class.findvalue("@isAbstract") == "true" %]Q_DECL_HIDDEN [% END %]virtual QModelingElement *clone() const; [% FOREACH attribute = class.findnodes("ownedAttribute") -%] [%- IF loop.first %] |