⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 codevisitor.h

📁 压缩包里有教材<<C++模式设计-基于QT4开源跨平台开发框架>>所有源码
💻 H
字号:
#ifndef _CODE_VISITOR_H_#define _CODE_VISITOR_H_#include <filevisitor.h>#include <QStringList>/**   This program will visit every selected file   in or below the specified directory and produce a list   of the names of the files that it #includes.*///startclass CodeVisitor : public FileVisitor {  public:    CodeVisitor(QString filter = "*.h,*.cpp", bool recursive = true);    CodeVisitor(QStringList filterList, bool recursive = true);    void processFile(QString filename);    int getNumFiles() const;    QString getResultString() const; private:    int m_NumFiles;    QStringList m_Result;};//end#endif

⌨️ 快捷键说明

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