37 lines
625 B
C++
37 lines
625 B
C++
#include "sectionalmanager.h"
|
|
|
|
SectionalManager *SectionalManager::instance()
|
|
{
|
|
static SectionalManager *instance = nullptr;
|
|
if(!instance) {
|
|
instance = new SectionalManager();
|
|
}
|
|
|
|
return instance;
|
|
}
|
|
|
|
void SectionalManager::emitUpdateCntShow(bool checked)
|
|
{
|
|
emit sig_updateCntShow(checked);
|
|
}
|
|
|
|
void SectionalManager::emitApplySetting()
|
|
{
|
|
emit sig_applySetting();
|
|
}
|
|
|
|
void SectionalManager::emitLoadUI()
|
|
{
|
|
emit sig_loadSettings2UI();
|
|
}
|
|
|
|
void SectionalManager::emitCancelSection()
|
|
{
|
|
emit sig_cancelSection();
|
|
}
|
|
|
|
SectionalManager::SectionalManager()
|
|
{
|
|
|
|
}
|