diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-04-01 15:21:13 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-04-01 15:21:13 (GMT) |
commit | d8da737acd32d4cdd8e956ee7bc8329ad73c8d58 (patch) | |
tree | 3a293a9effd1e75fc51a16da348b000001756267 /addon/doxmlparser/src/linkedtexthandler.cpp | |
parent | a633d7976dbe31f1499efa59ae27ce75ff7015d7 (diff) | |
download | Doxygen-d8da737acd32d4cdd8e956ee7bc8329ad73c8d58.zip Doxygen-d8da737acd32d4cdd8e956ee7bc8329ad73c8d58.tar.gz Doxygen-d8da737acd32d4cdd8e956ee7bc8329ad73c8d58.tar.bz2 |
Release-1.2.15
Diffstat (limited to 'addon/doxmlparser/src/linkedtexthandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/linkedtexthandler.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/addon/doxmlparser/src/linkedtexthandler.cpp b/addon/doxmlparser/src/linkedtexthandler.cpp index 972e32e..2eb170f 100644 --- a/addon/doxmlparser/src/linkedtexthandler.cpp +++ b/addon/doxmlparser/src/linkedtexthandler.cpp @@ -16,7 +16,7 @@ #include "debug.h" #include <doxmlintf.h> -class LT_Text : public ILT_Text +class LT_Text : public LinkedTextImpl, public ILT_Text { public: LT_Text(const QString &text) : m_text(text) {} @@ -24,12 +24,12 @@ class LT_Text : public ILT_Text // ILT_Text virtual QString text() const { return m_text; } - virtual Kind kind() const { return Kind_Text; } + virtual Kind kind() const { return LinkedTextImpl::Kind_Text; } private: QString m_text; }; -class LT_Ref : public ILT_Ref +class LT_Ref : public LinkedTextImpl, public ILT_Ref { public: LT_Ref() {} @@ -44,7 +44,7 @@ class LT_Ref : public ILT_Ref virtual QString id() const { return m_refId; } virtual TargetKind targetKind() const { return m_targetKind; } virtual QString external() const { return m_extId; } - virtual Kind kind() const { return Kind_Ref; } + virtual Kind kind() const { return LinkedTextImpl::Kind_Ref; } private: QString m_refId; @@ -54,7 +54,7 @@ class LT_Ref : public ILT_Ref }; LinkedTextHandler::LinkedTextHandler(IBaseHandler *parent, - QList<ILinkedText> &children + QList<LinkedTextImpl> &children ) : m_parent(parent), m_children(children) { @@ -110,11 +110,11 @@ void LinkedTextHandler::endRef() m_ref=0; } -QString LinkedTextHandler::toString(const QList<ILinkedText> &list) +QString LinkedTextHandler::toString(const QList<LinkedTextImpl> &list) { - QListIterator<ILinkedText> li(list); + QListIterator<LinkedTextImpl> li(list); QString result; - ILinkedText *lt; + LinkedTextImpl *lt; for (li.toFirst();(lt=li.current());++li) { switch(lt->kind()) |