diff options
Diffstat (limited to 'typesystem.h')
-rw-r--r-- | typesystem.h | 14 |
1 files changed, 13 insertions, 1 deletions
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<QString, bool> m_includesUsed; QString m_conversionRule; + bool m_stream; }; typedef QHash<QString, QList<TypeEntry *> > TypeEntryHash; typedef QHash<QString, TypeEntry *> SingleTypeEntryHash; |