Q_INVOKABLE needs to be outside the /// @cond INTERNAL_DOCS

This commit is contained in:
David Edmundson 2016-07-20 12:04:09 -03:00
parent a7068cb991
commit 3f53070185

View File

@ -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();