#include "CUISigsCenter.h" CUISigsCenter* CUISigsCenter::m_instance = nullptr; CUISigsCenter::CUISigsCenter(QObject *parent) : QObject(parent) { } CUISigsCenter *CUISigsCenter::getInstance() { if (m_instance == nullptr) { m_instance = new CUISigsCenter; } return m_instance; }