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

📄 command.h

📁 QT4的utils库源码包.解压后运行./configure配置,然后make.使用时在.pro文件中加入两行:LIBS+=-L$$(CPPLIBS)-lutils及INCLUDEPATH+=$$(C
💻 H
字号:
#ifndef COMMAND_H#define COMMAND_H#include <QObject>#include <QProcess>#include "myexport.h"#include "logger.h"/** @short A simple example using QProcess and logs.    Executes a process and connects its output signals to a Logger.    @author S. Alan Ezust (sae@mcs.suffolk.edu)        */class UTILS_EXPORT Command : public QProcess {	    Q_OBJECTprivate:    Logger* log;        public:    Command(QStringList args, QString logname = "debug");    Command(QString command, QString logname="debug");    public slots:    virtual void logOutput();};#endif        //  #ifndef COMMAND_H

⌨️ 快捷键说明

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