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

📄 jack.h.svn-base

📁 QT方面的开发
💻 SVN-BASE
字号:
#ifndef JACK_H#define JACK_H#include <QThread>#include <QQueue>#include <QStringList>/* Jack is a trespasser in the giant's realm. All he does is   search for stuff to steal from the giant. His search steps go into a   fifo queue. If he finds something he says so and the giant can sort of hear him.  This demonstrates how to use queues   as a means of passing messages between threads.    */class Jack :public QThread {    Q_OBJECTpublic:    Jack();    void run();public slots:    void setDelay(int newDelay);    void killGiant();signals:    void chopBeanstalk();private:    QQueue<QString> m_Fifo;    int m_Delay;    bool m_BeanstalkChopped;            QStringList m_Stuff;  // list of stuff to steal};#endif

⌨️ 快捷键说明

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