diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2009-10-31 14:18:49 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-11-09 15:31:30 -0200 |
commit | b70c2847a571ae6bad4bd99535bf6f587c7b7371 (patch) | |
tree | b0c247dbb708cc9aa0d839b4de9decacef22e137 /typesystem.h | |
parent | e8c6f4e1a1bbfebdf836e48256ff81a06daf9322 (diff) |
Adding support to attribute stream in TypeEntry
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; |