diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2019-04-25 09:38:06 +0300 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2019-04-25 09:38:43 +0300 |
commit | e922b137d268fb79c40c37c992de4f5eca832dd6 (patch) | |
tree | 8cc1188c921330107c8021208ff44b4cd1a0e358 /src/networksettings/qnetworksettingsinterfacemodel.cpp | |
parent | 0b7e135bfbe8fbb40ec97ed1d643429418a93f61 (diff) | |
parent | 12341e3f5c17ac20160721506ac7d31e38557cb3 (diff) |
Merge remote-tracking branch 'origin/5.12' into 5.13
* origin/5.12:
12341e3 Doc: Bump version to 5.12.3
f73704b Fix documentation build warning
fb3675a Fix the list of linked Device Utilities modules
Conflicts:
.qmake.conf
Change-Id: Ida487c8a9f6e405f3593bc351f7cd960ffd12b1f
Diffstat (limited to 'src/networksettings/qnetworksettingsinterfacemodel.cpp')
-rw-r--r-- | src/networksettings/qnetworksettingsinterfacemodel.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/networksettings/qnetworksettingsinterfacemodel.cpp b/src/networksettings/qnetworksettingsinterfacemodel.cpp index 09b96ba..045d3ff 100644 --- a/src/networksettings/qnetworksettingsinterfacemodel.cpp +++ b/src/networksettings/qnetworksettingsinterfacemodel.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. @@ -33,7 +33,7 @@ QT_BEGIN_NAMESPACE /*! \class QNetworkSettingsInterfaceModel - \inmodule QtDeviceUtilities + \inmodule QtNetworkSettings \brief The QNetworkSettingsInterfaceModel class represents a network interface model. @@ -159,6 +159,9 @@ void QNetworkSettingsInterfaceModel::remove(int row) endRemoveRows(); } +/*! + Returns whether the interface with the \a name was removed successfully. +*/ bool QNetworkSettingsInterfaceModel::removeInterface(const QString &name) { bool ret = false; @@ -172,6 +175,9 @@ bool QNetworkSettingsInterfaceModel::removeInterface(const QString &name) return ret; } +/*! + Notifies that the \a row has been updated. +*/ void QNetworkSettingsInterfaceModel::updated(int row) { dataChanged(createIndex(row, 0), createIndex(row, 0)); |