summaryrefslogtreecommitdiffstats
path: root/src/localesettings/localemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localesettings/localemodel.cpp')
-rw-r--r--src/localesettings/localemodel.cpp12
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}.