diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-14 14:47:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-18 20:57:40 (GMT) |
commit | fa1897b1889f7bf74de68f1ac99cf3be343a7551 (patch) | |
tree | ea14c45937cb6fef237c0fcafbd5b0923abd8f0a /src/ftvhelp.h | |
parent | 0d05e79d67b5b808918541f429b06805207e8bdb (diff) | |
download | Doxygen-fa1897b1889f7bf74de68f1ac99cf3be343a7551.zip Doxygen-fa1897b1889f7bf74de68f1ac99cf3be343a7551.tar.gz Doxygen-fa1897b1889f7bf74de68f1ac99cf3be343a7551.tar.bz2 |
Refactoring: replace QFile/FTextStream with fstream/stringstream
Diffstat (limited to 'src/ftvhelp.h')
-rw-r--r-- | src/ftvhelp.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ftvhelp.h b/src/ftvhelp.h index b04247c..11317fd 100644 --- a/src/ftvhelp.h +++ b/src/ftvhelp.h @@ -24,13 +24,12 @@ #ifndef FTVHELP_H #define FTVHELP_H +#include <iostream> #include <vector> #include "index.h" -class QFile; class Definition; struct FTVNode; -class FTextStream; /** A class that generates a dynamic tree view side panel. */ @@ -56,14 +55,14 @@ class FTVHelp : public IndexIntf void addImageFile(const char *) {} void addStyleSheetFile(const char *) {} void generateTreeView(); - void generateTreeViewInline(FTextStream &t); + void generateTreeViewInline(std::ostream &t); static void generateTreeViewImages(); void generateTreeViewScripts(); private: - void generateTree(FTextStream &t,const std::vector<FTVNode*> &nl,int level,int maxLevel,int &index); + void generateTree(std::ostream &t,const std::vector<FTVNode*> &nl,int level,int maxLevel,int &index); QCString generateIndentLabel(FTVNode *n,int level); - void generateIndent(FTextStream &t,FTVNode *n,bool opened); - void generateLink(FTextStream &t,FTVNode *n); + void generateIndent(std::ostream &t,FTVNode *n,bool opened); + void generateLink(std::ostream &t,FTVNode *n); std::vector< std::vector<FTVNode*> > m_indentNodes; int m_indent; bool m_topLevelIndex; |