From 3f530701854fad86747d75116a2bcb3190fa1504 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 20 Jul 2016 12:04:09 -0300 Subject: [PATCH] Q_INVOKABLE needs to be outside the /// @cond INTERNAL_DOCS --- src/declarativeimports/core/units.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/declarativeimports/core/units.h b/src/declarativeimports/core/units.h index 48cfccb7a..38eee349d 100644 --- a/src/declarativeimports/core/units.h +++ b/src/declarativeimports/core/units.h @@ -135,14 +135,6 @@ public: */ QQmlPropertyMap *iconSizes() const; - /** - * @return a size rounded tothe nearest inferior standard icon size. - * sizes larger than iconSizes.huge, it will be returned unmodified - * @param int size the size we want to be rounded down - * @see iconSizes - */ - Q_INVOKABLE static int roundToIconSize(int size); - /** * @return Pixel value for large spacing between elements. * @since 5.0 @@ -168,6 +160,14 @@ public: int shortDuration() const; /// @endcond + /** + * @return a size rounded tothe nearest inferior standard icon size. + * sizes larger than iconSizes.huge, it will be returned unmodified + * @param int size the size we want to be rounded down + * @see iconSizes + */ + Q_INVOKABLE static int roundToIconSize(int size); + Q_SIGNALS: void devicePixelRatioChanged(); void gridUnitChanged();