diff options
author | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2019-03-12 10:58:35 +0200 |
---|---|---|
committer | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2019-03-20 10:10:09 +0000 |
commit | f73704b4c5ddcf3122ccd25b9e6684cf0ab8bc55 (patch) | |
tree | e28fc6f5354717b8762640d8cb355545e607df88 /src/localesettings | |
parent | fb3675ae9a5f96b7e8b50a9731a5fd126b8e6a40 (diff) |
Fix documentation build warning
Some build warnings fixed. The documentation was built with Qt 5.9.
Change-Id: I8f988c1267a6a6ed925cfac1f0cd40547ffc8160
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/localesettings')
-rw-r--r-- | src/localesettings/localemodel.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/localesettings/localemodel.cpp b/src/localesettings/localemodel.cpp index 37eb2ee..043376a 100644 --- a/src/localesettings/localemodel.cpp +++ b/src/localesettings/localemodel.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2019 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Device Utilities module of the Qt Toolkit. @@ -161,6 +161,12 @@ QString LocaleItem::code() const */ /*! + \fn LocaleModel::ready() + + This signal is emitted when the locale model has been reset. +*/ + +/*! Creates a locale model with the parent \a parent. */ LocaleModel::LocaleModel(QObject *parent) @@ -233,7 +239,7 @@ QHash<int, QByteArray> LocaleModel::roleNames() const } /*! - Returns the number of rows in the locale model. + Returns the number of rows in the locale model that has \a parent. */ int LocaleModel::rowCount(const QModelIndex & parent) const { @@ -285,7 +291,7 @@ bool LocaleModel::variantLessThan(const LocaleItem* v1, const LocaleItem* v2) } /*! - Sets the sorting order of the items in the locale model to \a order. + Sets the sorting order of the \a column items in the locale model to \a order. The sort order can be either \l {Qt::AscendingOrder}{ascending} or \l {Qt::DescendingOrder}{descending}. |