summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-07-25 12:37:34 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-07-25 12:37:34 (GMT)
commit16a0bd88cfa8d3134b9b8dcae52652801595338c (patch)
tree5648b4ab8fb4ca6051647d47c3e8cf8d621e8782 /src/docparser.h
parentaee36e26c595fa69c0bdbba3c470ba8b7b153dac (diff)
downloadDoxygen-16a0bd88cfa8d3134b9b8dcae52652801595338c.zip
Doxygen-16a0bd88cfa8d3134b9b8dcae52652801595338c.tar.gz
Doxygen-16a0bd88cfa8d3134b9b8dcae52652801595338c.tar.bz2
Release-1.3.3
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/docparser.h b/src/docparser.h
index 383f23c..1554037 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -821,7 +821,7 @@ class DocInternal : public CompAccept<DocInternal>, public DocNode
{
public:
DocInternal(DocNode *parent) : m_parent(parent) {}
- int parse();
+ int parse(int);
Kind kind() const { return Kind_Internal; }
DocNode *parent() const { return m_parent; }
void accept(DocVisitor *v) { CompAccept<DocInternal>::accept(this,v); }
@@ -1103,6 +1103,7 @@ class DocHtmlCaption : public CompAccept<DocHtmlCaption>, public DocNode
private:
DocNode * m_parent;
HtmlAttribList m_attribs;
+ bool m_atTop;
};
/*! @brief Node representing a HTML table row */
@@ -1137,27 +1138,8 @@ class DocHtmlTable : public CompAccept<DocHtmlTable>, public DocNode
bool hasCaption() { return m_caption!=0; }
const HtmlAttribList &attribs() const { return m_attribs; }
int parse();
- uint numCols() const
- {
- uint cols=0;
- QListIterator<DocNode> cli(m_children);
- DocNode *n;
- for (cli.toFirst();(n=cli.current());++cli)
- {
- ASSERT(n->kind()==DocNode::Kind_HtmlRow);
- cols=QMAX(cols,((DocHtmlRow *)n)->numCells());
- }
- return cols;
- }
- void accept(DocVisitor *v)
- {
- v->visitPre(this);
- QListIterator<DocNode> cli(m_children);
- DocNode *n;
- for (cli.toFirst();(n=cli.current());++cli) n->accept(v);
- if (m_caption) m_caption->accept(v);
- v->visitPost(this);
- }
+ uint numCols() const;
+ void accept(DocVisitor *v);
private:
DocNode * m_parent;