diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-12 20:39:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-12 20:39:00 (GMT) |
commit | 2bf4cfeda1be93954baf688017e147b565c06d9b (patch) | |
tree | 498c4173ac1530bb0ab661a222ddc2906f564944 /src/docparser.h | |
parent | c7d553e78d5c3efdecb3f44a63f4f68e83eae61a (diff) | |
download | Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.zip Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.gz Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.bz2 |
Release-1.3.6
Diffstat (limited to 'src/docparser.h')
-rw-r--r-- | src/docparser.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/docparser.h b/src/docparser.h index 8742ed5..05d6c93 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -561,8 +561,8 @@ class DocImage : public CompAccept<DocImage>, public DocNode { public: enum Type { Html, Latex, Rtf }; - DocImage(DocNode *parent,const QString &name,Type t) : - m_parent(parent), m_name(name), m_type(t) {} + DocImage(DocNode *parent,const HtmlAttribList &attribs,const QString &name,Type t) : + m_parent(parent), m_attribs(attribs), m_name(name), m_type(t) {} Kind kind() const { return Kind_Image; } Type type() const { return m_type; } QString name() const { return m_name; } @@ -570,11 +570,13 @@ class DocImage : public CompAccept<DocImage>, public DocNode bool hasCaption() const { return !m_children.isEmpty(); } QString width() const { return m_width; } QString height() const { return m_height; } + const HtmlAttribList &attribs() const { return m_attribs; } void accept(DocVisitor *v) { CompAccept<DocImage>::accept(this,v); } void parse(); private: DocNode *m_parent; + HtmlAttribList m_attribs; QString m_name; Type m_type; QString m_width; |