logtail.h.svn-base

来自「QT方面的开发」· SVN-BASE 代码 · 共 25 行

SVN-BASE
25
字号
#ifndef LogTail_H#define LogTail_H//start#include <QObject>#include <QProcess>/**    A simple example using QProcess and tail -f as an    external command.     Executes a process and connects its output signals to a Logger.    */class LogTail : public QProcess {    Q_OBJECT  public:    LogTail(QString fn = QString());    ~LogTail();  public slots:    void logOutput();};//end#endif

⌨️ 快捷键说明

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