📄 hidedoclist.h
字号:
// FILE: hidedoclist.h// DESCRIPTION: Declaration of the hIDE document list object. It// represents a list of HideDoc objects data.// AUTHOR: James Martin (boolean_machine@yahoo.com)#ifndef _HIDEDOCLIST_H#define _HIDEDOCLIST_H#include "hidedoc.h"#include <qstring.h>#include <qstringlist.h>#include <qvaluelist.h>class HideDocList{ // Internal data members... QStringList listPath, listName, listData; QValueList<bool> listMod; public: // Operations... bool add(HideDoc &doc); bool remove(HideDoc &doc); void update(HideDoc &doc); // Getters HideDoc getByName(QString n); HideDoc getByPath(QString p); // State info... QStringList::size_type count() { return listPath.count(); } bool isEmpty() { return listPath.isEmpty(); } const QStringList &getDocNames() { return listName; } const QStringList &getDocPaths() { return listPath; }};#endif // _HIDEDOCLIST_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -