增加手动移出白名单
连续连接移出白名单
This commit is contained in:
筱傑
2019-01-12 10:40:27 +08:00
committed by GitHub
parent a4379453a9
commit 6a70501baa
24 changed files with 2299 additions and 0 deletions

26
log.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef LOG_H
#define LOG_H
#include <QObject>
class Log : public QObject
{
Q_OBJECT
public:
static Log& instance()
{
static Log obj;
return obj;
}
void append(QString msg);
signals:
void appendEvent(QString msg);
private:
explicit Log(QObject *parent = nullptr)
: QObject(parent) { }
Log(const Log&) = delete;
Log& operator=(const Log&) = delete;
};
#endif // LOG_H