Files
qt5-legatus-legacy/Lts/Tools/DotMatrixDisplay/cmdlineparser.cpp
T
2026-08-13 18:33:10 +02:00

47 lines
620 B
C++
Executable File

#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;
}