summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-16 19:20:21 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-16 19:20:21 (GMT)
commit8dab665567c9dffaa3f5fea198fc2110d536594d (patch)
tree78bac4e928b25e139605aceefa82537f378d8af0 /src/ftvhelp.h
parentd3461a1c31f008345d784dc3e819047bc5265c30 (diff)
downloadDoxygen-8dab665567c9dffaa3f5fea198fc2110d536594d.zip
Doxygen-8dab665567c9dffaa3f5fea198fc2110d536594d.tar.gz
Doxygen-8dab665567c9dffaa3f5fea198fc2110d536594d.tar.bz2
Release-1.5.4
Diffstat (limited to 'src/ftvhelp.h')
-rw-r--r--src/ftvhelp.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ftvhelp.h b/src/ftvhelp.h
index 8fdca6a..c2f063a 100644
--- a/src/ftvhelp.h
+++ b/src/ftvhelp.h
@@ -14,6 +14,7 @@
#include "qtbc.h"
#include <qtextstream.h>
#include <qlist.h>
+#include "index.h"
class QFile;
struct FTVNode;
@@ -54,33 +55,32 @@ extern FTVImageInfo image_info[];
/*! A class that generates a dynamic tree view side panel.
*/
-class FTVHelp
+class FTVHelp : public IndexIntf
{
public:
- static FTVHelp *getInstance();
+ FTVHelp();
+ //static FTVHelp *getInstance();
void initialize();
void finalize();
- int incContentsDepth();
- int decContentsDepth();
- /*! return the current depth of the contents tree */
- int contentsDepth() const { return m_indent; }
+ void incContentsDepth();
+ void decContentsDepth();
void addContentsItem(bool isDir,
+ const char *name,
const char *ref,
const char *file,
- const char *anchor,
- const char *name);
- static void generateTreeViewImages();
+ const char *anchor);
+ void addIndexItem(const char *, const char *,
+ const char *, const char *,
+ const char *) {}
+ void addIndexFile(const char *) {}
private:
+ void generateTreeViewImages();
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;
static FTVHelp *m_theInstance;
QList<FTVNode> *m_indentNodes;
int m_indent;