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

📄 queue.h

📁 LINUX 下, 以 QT/KDE 写的档案管理员
💻 H
字号:
#ifndef QUEUE_H#define QUEUE_H#include <qobject.h>#include <kio/jobclasses.h>#include <qptrlist.h>/** * Queue can hold anything which inherits KIO::Job, and schedule it, start it, stop etc... * the main reason to hold the Job itself (at least for phase 1) is to keep the code  * in krusader relatively unchaged, and allow to create the job as usual and choose if  * to start it, or queue it. * */class Queue: public QObject{	Q_OBJECTpublic:	Queue(const QString& name);	virtual ~Queue();		inline const QString& name() const { return _name; }	void enqueue(KIO::Job *job);protected:	void dumpQueue();	QString _name;	QPtrList<KIO::Job> _jobs;};#endif // QUEUE_H

⌨️ 快捷键说明

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