hidedoclist.h

来自「Linux下的C、C++ IDE」· C头文件 代码 · 共 40 行

H
40
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?