From 8dded56b403fd979f0b567666017dc12f7c1a9b6 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Mon, 28 Dec 2009 16:38:22 -0200 Subject: Added function can be tagged as static methods. Reviewed by Luciano Wolf --- typesystem.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'typesystem.h') diff --git a/typesystem.h b/typesystem.h index 21c770889..635ae43d8 100644 --- a/typesystem.h +++ b/typesystem.h @@ -504,12 +504,24 @@ struct APIEXTRACTOR_API AddedFunction return m_isConst; } + /// Set this method static. + void setStatic(bool value) + { + m_isStatic = value; + } + + /// Returns true if this is a static method. + bool isStatic() const + { + return m_isStatic; + } private: QString m_name; Access m_access; QList m_arguments; TypeInfo m_returnType; bool m_isConst; + bool m_isStatic; }; typedef QList AddedFunctionList; -- cgit v1.2.3