summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-01-26 21:10:54 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-01-26 21:10:54 (GMT)
commitdaa0336ab06f76a07f59499cbc47fd919073749d (patch)
tree76af52671423a9b083a05f78c82f3435635ab400 /src/ftvhelp.h
parent92792d3adc9011f35467341eb535ed3580ddb901 (diff)
downloadDoxygen-daa0336ab06f76a07f59499cbc47fd919073749d.zip
Doxygen-daa0336ab06f76a07f59499cbc47fd919073749d.tar.gz
Doxygen-daa0336ab06f76a07f59499cbc47fd919073749d.tar.bz2
Release-1.3-rc2-20030126
Diffstat (limited to 'src/ftvhelp.h')
-rw-r--r--src/ftvhelp.h13
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 */