From b9c5aed236698bf6e030c0f2e4d6ba02b8e0dd67 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 23 Apr 2020 18:41:34 +0300 Subject: [PATCH] Clang warnings. --- src/app/puzzle/puzzlemainwindow.h | 8 ++++---- src/app/puzzle/vpuzzlelayout.h | 32 +++++++++++++++---------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/app/puzzle/puzzlemainwindow.h b/src/app/puzzle/puzzlemainwindow.h index 2a39e7633..a2241ef7f 100644 --- a/src/app/puzzle/puzzlemainwindow.h +++ b/src/app/puzzle/puzzlemainwindow.h @@ -54,15 +54,15 @@ public: /** * @brief LoadFile Loads the layout file of given path in m_layout. * This function doesn't update the gui. - * @param path - * @return + * @param path path to layout + * @return true if success */ bool LoadFile(QString path); /** * @brief SaveFile Saves the current layout to the layout file of given path - * @param path - * @return + * @param path path to layout file + * @return true if success */ bool SaveFile(const QString &path); diff --git a/src/app/puzzle/vpuzzlelayout.h b/src/app/puzzle/vpuzzlelayout.h index ba4821c46..f26e753dd 100644 --- a/src/app/puzzle/vpuzzlelayout.h +++ b/src/app/puzzle/vpuzzlelayout.h @@ -57,38 +57,38 @@ public: /** * @brief SetLayoutSize sets the size of the layout, the values have to be in Unit::Px - * @param width - * @param height + * @param width layout width + * @param height layout height */ void SetLayoutSize(qreal width, qreal height); /** * @brief SetLayoutSize sets the size of the layout, the values have to be in the layout's unit - * @param width - * @param height + * @param width layout width + * @param height layout height */ void SetLayoutSizeConverted(qreal width, qreal height); /** * @brief SetLayoutSize sets the size of the layout, the values have to be in Unit::Px - * @param size + * @param size layout size */ void SetLayoutSize(const QSizeF &size); /** * @brief SetLayoutSizeConverted sets the size of the layout, the values have to be in the layout's unit - * @param size + * @param size layout size */ void SetLayoutSizeConverted(const QSizeF &size); /** * @brief GetLayoutSize Returns the size in Unit::Px - * @return + * @return layout size in Unit::Px */ QSizeF GetLayoutSize() const; /** * @brief GetLayoutSizeConverted Returns the size in the layout's unit - * @return + * @return the size in the layout's unit */ QSizeF GetLayoutSizeConverted() const; @@ -112,25 +112,25 @@ public: /** * @brief SetLayoutMargins set the margins of the layout, the values have to be in Unit::Px - * @param margins + * @param margins layout margins */ void SetLayoutMargins(const QMarginsF &margins); /** * @brief SetLayoutMargins set the margins of the layout, the values have to be in the unit of the layout - * @param margins + * @param margins layout margins */ void SetLayoutMarginsConverted(const QMarginsF &margins); /** * @brief GetLayoutMargins Returns the size in Unit::Px - * @return + * @return the size in Unit::Px */ QMarginsF GetLayoutMargins() const; /** * @brief GetLayoutMarginsConverted Returns the margins in the layout's unit - * @return + * @return the margins in the layout's unit */ QMarginsF GetLayoutMarginsConverted() const; @@ -139,25 +139,25 @@ public: /** * @brief SetPiecesGap sets the pieces gap to the given value, the unit has to be in Unit::Px - * @param value + * @param value pieces gap */ void SetPiecesGap(qreal value); /** * @brief SetPiecesGapConverted sets the pieces gap to the given value, the unit has to be in the layout's unit - * @param value + * @param value pieces gap */ void SetPiecesGapConverted(qreal value); /** * @brief GetPiecesGap returns the pieces gap in Unit::Px - * @return + * @return the pieces gap in Unit::Px */ qreal GetPiecesGap() const; /** * @brief GetPiecesGapConverted returns the pieces gap in the layout's unit - * @return + * @return the pieces gap in the layout's unit */ qreal GetPiecesGapConverted() const;