ftvhelp.h

来自「doxygen(一个自动从源代码生成文档的工具)的源代码」· C头文件 代码 · 共 50 行

H
50
字号
/****************************************************************************** * ftvhelp.h,v 1.0 2000/09/06 16:09:00 * * Kenney Wong <kwong@ea.com> * * Folder Tree View for offline help on browsers that do not support HTML Help. * Uses the FTV structure from:  * http://www.geocities.com/Paris/LeftBank/2178/ftexample.html */#ifndef FTVHELP_H#define FTVHELP_H#include "qtbc.h"#include <qtextstream.h>class QFile;/*! A class that generated the FTV Help specific file. *  This file is used in conjunction with additional FTV web browser code *  that can be obtained from: *  http://www.geocities.com/Paris/LeftBank/2178/ftexample.html */class FTVHelp {  public:    static FTVHelp *getInstance();    void initialize();    void finalize();    int  incContentsDepth();    int  decContentsDepth();    /*! return the current depth of the contents tree */     int  contentsDepth() { return m_dc; }    void addContentsItem(bool isDir,                         const char *ref,                         const char *file,                         const char *anchor,                          const char *name);  private:    FTVHelp();    QFile *m_cf;     QTextStream m_cts;    int m_dc;    static FTVHelp *m_theInstance;};#endif /* FTVHELP_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?