45 virtual const IString *
id()
const {
return &m_refId; }
60 : m_parent(parent), m_children(children)
102 ASSERT(attrib.
value(
"kindref")==
"compound" || attrib.
value(
"kindref")==
"member");
124 result+=
dynamic_cast<ILT_Text*
>(lt)->text()->latin1();
127 result+=
dynamic_cast<ILT_Ref *
>(lt)->text()->latin1();
virtual const IString * text() const
QList< LinkedTextImpl > & m_children
Read only interface to a string.
void append(const type *d)
virtual ~LinkedTextHandler()
virtual const char * latin1() const =0
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
virtual const IString * id() const
QString value(int index) const
void setTargetKind(TargetKind k)
virtual void start(const char *endTag)
void setText(const QString &text)
static QString toString(const QList< LinkedTextImpl > &list)
const char * data() const
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
virtual Kind kind() const
LinkedTextHandler(IBaseHandler *parent, QList< LinkedTextImpl > &children)
virtual TargetKind targetKind() const
virtual const IString * external() const
void setRefId(const QString &refId)
void setExtId(const QString &extId)
virtual Kind kind() const
The QXmlAttributes class provides XML attributes.
void addStartHandler(const char *key)
LT_Text(const QString &text)
void setAutoDelete(bool enable)
virtual const IString * text() const
virtual Kind kind() const =0
virtual void startRef(const QXmlAttributes &attrib)
def parent(G, child, parent_type)
The interface to the object model provided by the XML parser library.
void addEndHandler(const char *key)