summaryrefslogtreecommitdiffstats
path: root/network/wirednetworkmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'network/wirednetworkmodel.h')
-rw-r--r--network/wirednetworkmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/wirednetworkmodel.h b/network/wirednetworkmodel.h
index b73fa3f..c8ea92d 100644
--- a/network/wirednetworkmodel.h
+++ b/network/wirednetworkmodel.h
@@ -13,10 +13,14 @@ class WiredNetworkModel : public AbstractNetworkModel
SecurityRole,
ServiceRole,
StateRole,
+ RouteRole,
+ NameServerRole,
};
WiredNetworkModel(QObject *parent = Q_NULLPTR);
+ Q_INVOKABLE QVariantList readCurrentRouteConfig(const QModelIndex &index) const;
+ Q_INVOKABLE QVariantList readCurrentNameServerConfig(const QModelIndex &index) const;
QString getType() const override { return "wired"; }
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
void updateProperties(QString service, QJsonObject properties) override;