MythTV  master
mythwelcome_commandlineparser.cpp
Go to the documentation of this file.
1 #include <QString>
2 
4 
6 
10 
12 {
13  return "MythWelcome is a graphical launcher application to allow MythFrontend \n"
14  "to disconnect from the backend, and allow automatic shutdown to occur.";
15 }
16 
18 {
19  addHelp();
21  addVersion();
22  addLogging();
23  addDisplay();
24  addPlatform();
25  addWindowed();
26  addGeometry();
27  addMouse();
28  add(QStringList{"-s", "--setup"}, "setup", false,
29  "Run setup for mythshutdown.", "");
30 }
31 
MythCommandLineParser::addDisplay
void addDisplay(void)
Canned argument definition for -display.
Definition: mythcommandlineparser.cpp:2763
MythCommandLineParser::addGeometry
void addGeometry(void)
Canned argument definition for –geometry.
Definition: mythcommandlineparser.cpp:2638
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:2774
mythwelcome_commandlineparser.h
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition: mythcommandlineparser.cpp:2558
MythCommandLineParser::addWindowed
void addWindowed(void)
Canned argument definition for –windowed and -no-windowed.
Definition: mythcommandlineparser.cpp:2568
MythWelcomeCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition: mythwelcome_commandlineparser.cpp:11
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:2662
MythCommandLineParser::add
CommandLineArg * add(const QString &arg, const QString &name, bool def, QString help, QString longhelp)
Definition: mythcommandlineparser.cpp:1776
MythCommandLineParser::addMouse
void addMouse(void)
Canned argument definition for –mouse-cursor and –no-mouse-cursor.
Definition: mythcommandlineparser.cpp:2583
MythWelcomeCommandLineParser::MythWelcomeCommandLineParser
MythWelcomeCommandLineParser()
Definition: mythwelcome_commandlineparser.cpp:7
mythappname.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition: mythcommandlineparser.cpp:2545
MythWelcomeCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition: mythwelcome_commandlineparser.cpp:17
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition: mythcommandlineparser.cpp:2609
MYTH_APPNAME_MYTHWELCOME
static constexpr const char * MYTH_APPNAME_MYTHWELCOME
Definition: mythappname.h:13