#include "cmdlineparser.h" #include "nglsettings.h" CmdLineParser::CmdLineParser() : QCommandLineParser() , m_portCount(0) , m_showPort(false) , m_window(false) { } CmdLineParser::~CmdLineParser() { } bool CmdLineParser::init() { return true; } void CmdLineParser::setWindow(bool state) { m_window = state; } void CmdLineParser::setMode(const QString &mode) { m_mode = mode; } void CmdLineParser::setImagePath(const QString &path) { m_imagePath = path; } void CmdLineParser::setShowPort(bool port) { m_showPort = port; } void CmdLineParser::setPortCount(int count) { m_portCount = count; }