Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
#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;
}