aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetalang.h
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2009-10-31 13:45:05 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-11-09 15:31:30 -0200
commite8c6f4e1a1bbfebdf836e48256ff81a06daf9322 (patch)
treee2046d4f3d69428ae2b733e9bab535d63adbe5b9 /abstractmetalang.h
parentd8dc3d4e8ea3597497ee42b7cd02975213b858ba (diff)
Add m_stream attribute to AbstractMetaClass
Diffstat (limited to 'abstractmetalang.h')
-rw-r--r--abstractmetalang.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/abstractmetalang.h b/abstractmetalang.h
index d59b4cf14..5ea94642d 100644
--- a/abstractmetalang.h
+++ b/abstractmetalang.h
@@ -1321,8 +1321,9 @@ public:
m_templateBaseClass(0),
m_extractedInterface(0),
m_primaryInterfaceImplementor(0),
- m_typeEntry(0)//,
+ m_typeEntry(0),
//m_qDebugStreamFunction(0)
+ m_stream(false)
{}
virtual ~AbstractMetaClass();
@@ -1739,6 +1740,16 @@ public:
return m_isTypeAlias;
}
+ void setStream(bool stream)
+ {
+ m_stream = stream;
+ }
+
+ bool isStream() const
+ {
+ return m_stream;
+ }
+
private:
uint m_namespace : 1;
uint m_qobject : 1;
@@ -1779,6 +1790,8 @@ private:
QList<TypeEntry *> m_templateArgs;
ComplexTypeEntry *m_typeEntry;
// FunctionModelItem m_qDebugStreamFunction;
+
+ bool m_stream;
};
class QPropertySpec