From b70c2847a571ae6bad4bd99535bf6f587c7b7371 Mon Sep 17 00:00:00 2001 From: Lauro Neto Date: Sat, 31 Oct 2009 14:18:49 -0300 Subject: Adding support to attribute stream in TypeEntry --- typesystem.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'typesystem.h') diff --git a/typesystem.h b/typesystem.h index 5e1220639..589196208 100644 --- a/typesystem.h +++ b/typesystem.h @@ -621,7 +621,8 @@ public: : m_name(name), m_type(t), m_codeGeneration(GenerateAll), - m_preferredConversion(true) + m_preferredConversion(true), + m_stream(false) { }; @@ -713,6 +714,16 @@ public: m_preferredConversion = b; } + bool stream() const + { + return m_stream; + } + + void setStream(bool b) + { + m_stream = b; + } + // The type's name in C++, fully qualified QString name() const { @@ -899,6 +910,7 @@ private: Include m_include; QHash m_includesUsed; QString m_conversionRule; + bool m_stream; }; typedef QHash > TypeEntryHash; typedef QHash SingleTypeEntryHash; -- cgit v1.2.3