diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-01-26 21:10:54 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-01-26 21:10:54 (GMT) |
commit | 5d7d90c39506fb7a19514dc4abd540018deeaaf6 (patch) | |
tree | 76af52671423a9b083a05f78c82f3435635ab400 /src/ftvhelp.h | |
parent | afb84237b8c3024f2f35346ba3ee4532e1a8b507 (diff) | |
download | Doxygen-5d7d90c39506fb7a19514dc4abd540018deeaaf6.zip Doxygen-5d7d90c39506fb7a19514dc4abd540018deeaaf6.tar.gz Doxygen-5d7d90c39506fb7a19514dc4abd540018deeaaf6.tar.bz2 |
Release-1.3-rc2-20030126
Diffstat (limited to 'src/ftvhelp.h')
-rw-r--r-- | src/ftvhelp.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/ftvhelp.h b/src/ftvhelp.h index 1d6ccdf..57a18be 100644 --- a/src/ftvhelp.h +++ b/src/ftvhelp.h @@ -13,8 +13,10 @@ #include "qtbc.h" #include <qtextstream.h> +#include <qlist.h> class QFile; +struct FTVNode; /*! A class that generated the FTV Help specific file. * This file is used in conjunction with additional FTV web browser code @@ -30,7 +32,7 @@ class FTVHelp int incContentsDepth(); int decContentsDepth(); /*! return the current depth of the contents tree */ - int contentsDepth() { return m_dc; } + int contentsDepth() const { return m_indent; } void addContentsItem(bool isDir, const char *ref, const char *file, @@ -38,11 +40,18 @@ class FTVHelp const char *name); private: + void generateTreeView(); + void generateTree(QTextStream &t,const QList<FTVNode> &nl,int level); + void generateIndent(QTextStream &t,FTVNode *n,int level); + void generateLink(QTextStream &t,FTVNode *n); FTVHelp(); + ~FTVHelp(); QFile *m_cf; QTextStream m_cts; - int m_dc; + //int m_dc; static FTVHelp *m_theInstance; + QList<FTVNode> *m_indentNodes; + int m_indent; }; #endif /* FTVHELP_H */ |