Better looking comments.

This commit is contained in:
Roman Telezhynskyi 2020-04-13 12:47:19 +03:00
parent aa81fa5ecf
commit eba2ed695c

View File

@ -15,34 +15,22 @@ class VPuzzleCommandLine: public QObject
public: public:
virtual ~VPuzzleCommandLine() = default; virtual ~VPuzzleCommandLine() = default;
/** /** @brief if user enabled export from cmd */
* @brief if user enabled export from cmd
*/
bool IsExportEnabled() const; bool IsExportEnabled() const;
/** /** @brief the base name of layout file or empty string if not */
* @brief the base name of layout file or empty string if not
*/
QString OptionBaseName() const; QString OptionBaseName() const;
/** /** @brief if user enabled test mode from cmd */
* @brief if user enabled test mode from cmd
*/
bool IsTestModeEnabled() const; bool IsTestModeEnabled() const;
/** /** @brief if gui enabled or not */
* @brief if gui enabled or not
*/
bool IsGuiEnabled() const; bool IsGuiEnabled() const;
/** /** @brief the file name which should be loaded */
* @brief the file name which should be loaded
*/
QStringList OptionFileNames() const; QStringList OptionFileNames() const;
/** /** @brief if high dpi scaling is enabled */
* @brief if high dpi scaling is enabled
*/
bool IsNoScalingEnabled() const; bool IsNoScalingEnabled() const;
protected: protected:
VPuzzleCommandLine(); VPuzzleCommandLine();
@ -55,9 +43,7 @@ private:
QCommandLineParser parser; QCommandLineParser parser;
bool isGuiEnabled; bool isGuiEnabled;
/** /** @brief add options to the QCommandLineParser that there are in the cmd can be */
* @brief add options to the QCommandLineParser that there are in the cmd can be
*/
void InitCommandLineOptions(); void InitCommandLineOptions();
bool IsOptionSet(const QString &option)const; bool IsOptionSet(const QString &option)const;