Provide access to showHelp function.
This commit is contained in:
parent
3a675f0552
commit
a9de60f515
|
@ -96,6 +96,12 @@ bool VPuzzleCommandLine::IsNoScalingEnabled() const
|
||||||
return IsOptionSet(LONG_OPTION_NO_HDPI_SCALING);
|
return IsOptionSet(LONG_OPTION_NO_HDPI_SCALING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------------------------------------------
|
||||||
|
void VPuzzleCommandLine::ShowHelp(int exitCode)
|
||||||
|
{
|
||||||
|
parser.showHelp(exitCode);
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------
|
||||||
VPuzzleCommandLine::VPuzzleCommandLine():
|
VPuzzleCommandLine::VPuzzleCommandLine():
|
||||||
parser(),
|
parser(),
|
||||||
|
|
|
@ -61,6 +61,8 @@ public:
|
||||||
|
|
||||||
/** @brief if high dpi scaling is enabled */
|
/** @brief if high dpi scaling is enabled */
|
||||||
bool IsNoScalingEnabled() const;
|
bool IsNoScalingEnabled() const;
|
||||||
|
|
||||||
|
Q_NORETURN void ShowHelp(int exitCode = 0);
|
||||||
protected:
|
protected:
|
||||||
VPuzzleCommandLine();
|
VPuzzleCommandLine();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user