diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-22 10:14:03 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-12-22 10:14:03 (GMT) |
commit | 223e7de6478019c8eebcfd87085fe22d3bfeec0e (patch) | |
tree | 2297b1d3beea204dfe48f39e41a95286f5581e8e /src/docparser.h | |
parent | 67e8d626fec0c4365106902dcd16b988b8cceb10 (diff) | |
download | Doxygen-223e7de6478019c8eebcfd87085fe22d3bfeec0e.zip Doxygen-223e7de6478019c8eebcfd87085fe22d3bfeec0e.tar.gz Doxygen-223e7de6478019c8eebcfd87085fe22d3bfeec0e.tar.bz2 |
various fixes and restructuring
Diffstat (limited to 'src/docparser.h')
-rw-r--r-- | src/docparser.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/docparser.h b/src/docparser.h index 51698b8..e8ef754 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -451,7 +451,10 @@ class DocVerbatim : public DocNode QCString width() const { return m_width; } QCString height() const { return m_height; } const QList<DocNode> &children() const { return m_children; } - QList<DocNode> &children() { return m_children; } + QList<DocNode> &children() { return m_children; } + void setText(const QCString &t) { m_text=t; } + void setWidth(const QCString &w) { m_width=w; } + void setHeight(const QCString &h) { m_height=h; } private: QCString m_context; @@ -462,7 +465,6 @@ class DocVerbatim : public DocNode QCString m_relPath; QCString m_lang; bool m_isBlock; - public: QCString m_width; QCString m_height; QList<DocNode> m_children; @@ -1123,9 +1125,7 @@ class DocPara : public CompAccept<DocPara>, public DocNode int direction); void handleIncludeOperator(const QCString &cmdName,DocIncOperator::Type t); void handleImage(const QCString &cmdName); - void handleDotFile(const QCString &cmdName); - void handleMscFile(const QCString &cmdName); - void handleDiaFile(const QCString &cmdName); + template<class T> void handleFile(const QCString &cmdName); void handleInclude(const QCString &cmdName,DocInclude::Type t); void handleLink(const QCString &cmdName,bool isJavaLink); void handleCite(); |