MythTV  master
mythwelcome_commandlineparser.cpp
Go to the documentation of this file.
1 #include <QString>
2 
5 
9 
11 {
12  return "MythWelcome is a graphical launcher application to allow MythFrontend \n"
13  "to disconnect from the backend, and allow automatic shutdown to occur.";
14 }
15 
17 {
18  addHelp();
20  addVersion();
21  addLogging();
22  addDisplay();
23  addPlatform();
24  addWindowed();
25  addGeometry();
26  addMouse();
27  add(QStringList{"-s", "--setup"}, "setup", false,
28  "Run setup for mythshutdown.", "");
29 }
30 
MythCommandLineParser::addDisplay
void addDisplay(void)
Canned argument definition for -display.
Definition: mythcommandlineparser.cpp:2736
MythCommandLineParser::addGeometry
void addGeometry(void)
Canned argument definition for –geometry.
Definition: mythcommandlineparser.cpp:2614
MythCommandLineParser
Parent class for defining application command line parsers.
Definition: mythcommandlineparser.h:116
MythCommandLineParser::addPlatform
void addPlatform(void)
Pass through the platform argument to Qt for GUI applications.
Definition: mythcommandlineparser.cpp:2747
mythwelcome_commandlineparser.h
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition: mythcommandlineparser.cpp:2534
MythCommandLineParser::addWindowed
void addWindowed(void)
Canned argument definition for –windowed and -no-windowed.
Definition: mythcommandlineparser.cpp:2544
MythWelcomeCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition: mythwelcome_commandlineparser.cpp:10
MythCommandLineParser::addLogging
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
Definition: mythcommandlineparser.cpp:2638
MythCommandLineParser::add
CommandLineArg * add(const QString &arg, const QString &name, bool def, QString help, QString longhelp)
Definition: mythcommandlineparser.cpp:1760
MythCommandLineParser::addMouse
void addMouse(void)
Canned argument definition for –mouse-cursor and –no-mouse-cursor.
Definition: mythcommandlineparser.cpp:2559
MythWelcomeCommandLineParser::MythWelcomeCommandLineParser
MythWelcomeCommandLineParser()
Definition: mythwelcome_commandlineparser.cpp:6
mythcorecontext.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition: mythcommandlineparser.cpp:2521
MythWelcomeCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition: mythwelcome_commandlineparser.cpp:16
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition: mythcommandlineparser.cpp:2585
MYTH_APPNAME_MYTHWELCOME
static constexpr const char * MYTH_APPNAME_MYTHWELCOME
Definition: mythcorecontext.h:28